LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SYN flood protection

[ILUG] SYN flood protection

Ronan Mullally ronan at iol.ie
Fri Oct 29 11:00:29 IST 2010


On Fri, 29 Oct 2010, Ciaran Johnston wrote:

> A tcpdump shows a large number of SYNs from thousands of different IP
> addresses, with no other ACKs or anything. I'm fairly confident there's
> no TCP connection.

You could try the 'limit' module, however that would affect all SYNs.
The 'recent' module (or maybe a negative 'hashlimit') could perhaps be
used to favour SYNs from sources that have sent one previously (ie
something that's more likely to be a valid request).

IP Sets would be useful for maintaining a cache of source addresses
that have negotiatied valid TCP connections.

If the traffic is originating from a single host then you may find the TTL
on all packets is the same.  If so then filtering SYN packets with that
TTL might be effective (but it will also match some valid traffic)


-Ronan


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell