Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 1999 06:42:52 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libalias alias.c
Message-ID:  <199909091342.GAA58052@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          1999/09/09 06:42:52 PDT

  Modified files:
    lib/libalias         alias.c 
  Log:
  Handle TCP reset sequence properly.
  
  In the words of originator:
  :If an incoming connection is initiated through natd and deny_incoming is
  :not set, then a new alias_link structure is created to handle the link.
  :If there is nothing listening for the incoming connection, then the kernel
  :responds with a RST for the connection. However, this is not processed
  :correctly in libalias/alias.c:TcpMonitor{In,Out} and
  :libalias/alias_db.c:SetState{In,Out} as it thinks a connection
  :has been established and therefore applies a timeout of 86400 seconds
  :to the link.
  :
  :If many of these half-connections are initiated (during, for example, a
  :port scan of the host), then many thousands of unnecessary links are
  :created and the resident size of natd balloons to 20MB or more.
  
  PR:		13639
  Reviewed by:	brian
  
  Revision  Changes    Path
  1.15      +3 -3      src/lib/libalias/alias.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909091342.GAA58052>