Great Circle Associates Firewalls
(August 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: What threats?
From: "Jonathan M. Bresler" <jmb @ FRB . GOV>
Date: Fri, 16 Aug 1996 15:00:38 -0400
To: "Paul D. Robertson" <proberts @ clark . net>
Cc: firewalls @ GreatCircle . COM
In-reply-to: Your message of "Fri, 16 Aug 1996 14:05:42 EDT." <Pine . GSO . 3 . 95 . 960816135600 . 29184E-100000 @ clark . net>

>> it is one problem that SYN flooding demonstates.   read stevens vol 3
>> chapter 14 sections on SYN_RCVD bug.
>> 
>> 	one structure member is used to hold two different timers.   
>> a ~75 second connection establishment timer and the ~2 hour keepalive
>> timer.  one can create a number of half-open sockets (in SYN_RCVD state)
>> on a server.  each socket will remain open until either the keepalive
>> timer expires or the retry count is exceeded (~11 minutes).
>> 
>> 	enough SYN flooding can use all of the servers resources by 
>> creating these half-open sockets.  this depletes memory and other resources.
>> the 'accept' queue may remain virtually empty (0 or 1 waiting) thoughout
>> the exercise.
>
[snip]
>Personally, I'm thinking that the stack should know how many slots are
>left, and at threshold, drop FIN_* state sockets, then SYN_RECEIVED's
>based on FIFO or something.  Not perfect, but it'd help.  

	i dont know what a "slot" is.  

	tcp control blocks and protocol control blocks should be 
dynamically allocated by the kernel.  there is no effective limit (ignoring)
memory and vm) to the number of half-open sessions that can be established.
for each ip address, there are 60,000+ ports.   you can pretend to be
any number of ip addresses.  each one can establish a *unique* half-open
connection (src-host, src-port, dest-host, dest-port).

jmb

-- 
Jonathan M. Bresler             202-452-2831                 breslerj @
 frb .
 gov
MS-169          Federal Reserve Board of Governors        Washington DC 20551
Speaking for myself.  Others speak for the Federal Reserve Board of Governors




Follow-Ups:
References:
Indexed By Date Previous: Cisco Filtering of Appletal
From: "David Glosser" <glosser @ bbdo . com>
Next: Re: No More Unlimited User Licenses Please...
From: peter @ baileynm . com (Peter da Silva)
Indexed By Thread Previous: Re: What threats?
From: "Paul D. Robertson" <proberts @ clark . net>
Next: Re: What threats?
From: "Paul D. Robertson" <proberts @ clark . net>

Google
 
Search Internet Search www.greatcircle.com