Check out my first novel, midnight's simulacra!

Syncookies: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 5: Line 5:
** This is only true for machines expected to suffer SYNflood attacks.
** This is only true for machines expected to suffer SYNflood attacks.
** The [[TCP|usefulness of TCP Large Window Extensions]] means I disable SYNcookies on internal machines
** The [[TCP|usefulness of TCP Large Window Extensions]] means I disable SYNcookies on internal machines
*** Linux 2.6.26 added support for encoding some options into timestamps
==Other Issues==
* Only eight distinct [[TCP|MSS]] values can be chosen, due to only three bits for MSS in the 32 bits of a SYNcookie
==Other Mitigations for SYNfloods==
* SYNproxying by a powerful intermediary

Revision as of 01:52, 11 June 2009

DJB's page: http://cr.yp.to/syncookies.html

Issues with DJB's Writeup

  • "SYN cookies 'do not allow to use TCP extensions' such as large windows. Reality: SYN cookies don't hurt TCP extensions. A connection saved by SYN cookies can't use large windows; but the same is true without SYN cookies, because the connection would have been destroyed."
    • This is only true for machines expected to suffer SYNflood attacks.
    • The usefulness of TCP Large Window Extensions means I disable SYNcookies on internal machines
      • Linux 2.6.26 added support for encoding some options into timestamps

Other Issues

  • Only eight distinct MSS values can be chosen, due to only three bits for MSS in the 32 bits of a SYNcookie

Other Mitigations for SYNfloods

  • SYNproxying by a powerful intermediary