summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias/alias_irc.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-04-14 15:34:55 +0000
committerru <ru@FreeBSD.org>2000-04-14 15:34:55 +0000
commit314acb2e389207fd9a6bcb0d71a9d227ed10b32b (patch)
tree90f2bb7416cdfebf78ee7b745d61b011f30fc83b /sys/netinet/libalias/alias_irc.c
parent51c489181319e1c5698f1b9117da76a11b62f3f5 (diff)
downloadFreeBSD-src-314acb2e389207fd9a6bcb0d71a9d227ed10b32b.zip
FreeBSD-src-314acb2e389207fd9a6bcb0d71a9d227ed10b32b.tar.gz
Apply TCP_EXPIRE_CONNECTED (86400 seconds) timeout only to established
connections, after SYN packets were seen from both ends. Before this, it would get applied right after the first SYN packet was seen (either from client or server). With broken TCP connection attempts, when the remote end does not respond with SYNACK nor with RST, this resulted in having a useless (ie, no actual TCP connection associated with it) TCP link with 86400 seconds TTL, wasting system memory. With high rate of such broken connection attempts (for example, remote end simply blocks these connection attempts with ipfw(8) without sending RST back), this could result in a denial-of-service. PR: bin/17963
Diffstat (limited to 'sys/netinet/libalias/alias_irc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud