Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: how to check current backlog queue size(against synflood)

From: Seth Arnold <sarnold(at)wirex.com>
Date: Mon May 12 2003 - 17:02:31 EDT

On Mon, May 12, 2003 at 01:58:39AM +0000, SB CH wrote:
> echo 512 > /proc/sys/net/ipv4/tcp_max_syn_backlog
> How can I check current backlog queue size? any command or program?

$ cat /proc/sys/net/ipv4/tcp_max_syn_backlog 1024

> What is the theory of the syncookies?

Dan Bernstein's website is perhaps a good starting point: http://cr.yp.to/syncookies.html

In short: make the sequence numbers 'cryptographically strong' to prevent spoofed syn+acks .. this way, the receiving end does not need to store state in state tables for simple syns -- when it receives a syn+ack, it can re-compute the math, and find that the "cookie" sequence number is legitimate. Of course, since sequence numbers are 32 bits long, there isn't much cryptographical security here, but TCP is rarely given that level of importance. (And IPSec/VPNs exist to help give TCP that level of reliability, and SSL/SSH exist to give individual sessions that level of reliability.)

I hope this helps

-- 
http://immunix.org/

  • application/pgp-signature attachment: stored
Received on Mon May 12 17:13:26 2003
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:20 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library