freebsd-dev/sys/netinet/libalias
Ruslan Ermilov 29d958bb8a 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
1999-09-09 13:42:51 +00:00
..
alias_cuseeme.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alias_db.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_ftp.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_irc.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_local.h Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_nbt.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alias_proxy.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias_util.c Add $FreeBSD$ and spell Eklund properly. 1999-08-29 23:17:04 +00:00
alias.c Handle TCP reset sequence properly. 1999-09-09 13:42:51 +00:00
alias.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
HISTORY Version 3.0: January 1, 1999 1999-02-27 02:16:01 +00:00
libalias.3 Fix typo. 1999-09-08 16:37:14 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00