freebsd-skq/sys/netinet
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
..
libalias Handle TCP reset sequence properly. 1999-09-09 13:42:51 +00:00
fil.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
icmp_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_atm.c update ATM driver. (base version: midway.c 1.67 --> 1.68) 1998-07-29 05:35:16 +00:00
if_atm.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
if_ether.c It is much easier to arp if you don't truncate your arp-reply's. 1999-08-28 14:57:12 +00:00
if_ether.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_fddi.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
igmp_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
igmp.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
igmp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_cksum.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_hostcache.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_hostcache.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_pcb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_pcb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_proto.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
in_rmx.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_systm.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_auth.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_auth.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_compat.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_divert.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_dummynet.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_dummynet.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_fil.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_fil.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_flow.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_flow.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_frag.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_frag.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_ftp_pxy.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_fw.c Oops, I missed a cast in rev.1.119. 1999-08-29 10:23:13 +00:00
ip_fw.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_icmp.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_icmp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_input.c Include the correct header for the IPSTEALTH option. 1999-08-29 12:18:39 +00:00
ip_log.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_mroute.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_mroute.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_nat.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_nat.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_output.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_proxy.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_proxy.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_state.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_state.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ip.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ipl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mlf_ipl.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_ip.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tcp_debug.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tcp_debug.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tcp_fsm.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tcp_input.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_output.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_reass.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_seq.h Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_subr.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_timer.c Simplify, and return an error if the user attempts to set a TCP 1999-08-31 16:34:20 +00:00
tcp_timer.h Remove conversion macros that were used during development. 1999-08-31 16:31:07 +00:00
tcp_timewait.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_usrreq.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp_var.h Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
tcp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tcpip.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
udp_usrreq.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
udp_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
udp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00