|
|||||||||||
|
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:
$ 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/
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:20 EDT |
||||||||||
|
|||||||||||