Great Circle Associates Firewalls
(September 1996)
 

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

Subject: Re: SYN floods - possible solution
From: Andrew Stesin <stesin @ gu . kiev . ua>
Date: Fri, 13 Sep 1996 20:44:27 +0300 (EET DST)
To: Todd . Truitt @ evolving . com (Todd Truitt)
Cc: stesin @ gu . net, murchiso @ vivid . newbridge . com, firewalls @ GreatCircle . COM, Todd . Truitt @ evolving . com
In-reply-to: <199609131639 . KAA10431 @ thepound . evolving . com> from "Todd Truitt" at Sep 13, 96 10:39:59 am
Reply-to: stesin @ gu . kiev . ua

Hello Todd,

[... schema skipped for saving space ...]

| OK, this sounds plausible.  But lets modify it a bit.
| 
| 1.  Upon the reciept of any new packet containing a request to set up
| 	a connection (SYN), grab the source address, hold the packet,
| 	log the address into a cache, "waiting for reply", and
| 	send a reply (SYN-2).

	Yes.

| 2.  While waiting for an ACK from the source host to your SYN-2,
| 	drop *all* other segments from the source address which do not
| 	have an ACK contained in them.  Do not accept any packets
| 	from the source until your SYN-2 is successfully answered.

	NO. Assume a SYN-flood comes not from a martian but
	from (otherwise legitimate) spoofed address. You gain nothing
	with this strategy -- legitimate client will be shut up.

	I may be wrong, but at this point one should wait for
	one of the 3 events:

	1. legitimate ACK
	2. RST from a spoofed (and upset) client :)
	3. timeout expiration

| 3.  Upon reciept of an ACK to your SYN-2, load source address into
| 	cache, "good addresses",

	Would routing table be enough?

|       organized by timestamp of intial SYN request
| 	and preform the rest of the connection like any normal transaction.
| 4.  If, after a configurable timeout period (75 sec., say) no ACK is
| 	recieved, put the source address into a 3rd cache, "bad addresses",
| 	log the address and dump all packets from that address.

	I doubt by the above reasons.

| How does this sound?  I wonder what kind of performance hit the server =
| would
| take?
| 
| --Todd
| 
| _____________________________________________________________________________
|                R. Todd Truitt      Todd .
 Truitt @
 evolving .
 com	
|                          Evolving Systems, Inc. 
| 

	Best,

	Andrew

-- 

	nic-hdl: ST73-RIPE


Follow-Ups:
References:
Indexed By Date Previous: Gauntlet and restricting email
From: Erik Van Riper <geek @ willent . com>
Next: YASFS. (Yet Another Syn Flood Solution)
From: Darren Reed <avalon @ coombs . anu . edu . au>
Indexed By Thread Previous: Re: SYN floods - possible solution
From: Todd Truitt <Todd . Truitt @ evolving . com>
Next: Re: SYN floods - possible solution
From: "Paul D. Robertson" <proberts @ clark . net>

Google
 
Search Internet Search www.greatcircle.com