diff options
author | Jayanth Vijayaraghavan <jayanth@FreeBSD.org> | 2000-07-21 23:26:37 +0000 |
---|---|---|
committer | Jayanth Vijayaraghavan <jayanth@FreeBSD.org> | 2000-07-21 23:26:37 +0000 |
commit | e7f326930765ac0ad7439182387b5b2a1af29d45 (patch) | |
tree | 06119b12989d6870cb00a583595ccc4853a75515 /sys/net/route.h | |
parent | ddb820b015b4bce522e6559d78c0f7daebee0ae0 (diff) | |
download | src-e7f326930765ac0ad7439182387b5b2a1af29d45.tar.gz src-e7f326930765ac0ad7439182387b5b2a1af29d45.zip |
When a connection is being dropped due to a listen queue overflow,
delete the cloned route that is associated with the connection.
This does not exhaust the routing table memory when the system
is under a SYN flood attack. The route entry is not deleted if there
is any prior information cached in it.
Reviewed by: Peter Wemm,asmodai
Notes
Notes:
svn path=/head/; revision=63745
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index c9c5c3f593ca..c5642a4153e7 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -139,7 +139,7 @@ struct ortentry { #define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */ #define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ #define RTF_DONE 0x40 /* message confirmed */ -/* 0x80 unused */ +#define RTF_DELCLONE 0x80 /* delete cloned route */ #define RTF_CLONING 0x100 /* generate new routes on use */ #define RTF_XRESOLVE 0x200 /* external daemon resolves name */ #define RTF_LLINFO 0x400 /* generated by link layer (e.g. ARP) */ |