LWN.net Logo

Re: [PATCH] Add IPv6 support to TCP SYN cookies

From:  Andi Kleen <andi-AT-firstfloor.org>
To:  Glenn Griffin <ggriffin.kernel-AT-gmail.com>
Subject:  Re: [PATCH] Add IPv6 support to TCP SYN cookies
Date:  Tue, 5 Feb 2008 16:55:58 +0100
Message-ID:  <20080205155558.GA23145@one.firstfloor.org>
Cc:  netdev-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Andi Kleen <andi-AT-firstfloor.org>
Archive-link:  Article, Thread

On Mon, Feb 04, 2008 at 03:01:01PM -0800, Glenn Griffin wrote:
> Add IPv6 support to TCP SYN cookies.  This is written and tested against
> 2.6.24, and applies cleanly to linus' current HEAD (d2fc0b).  Unfortunately
> linus' HEAD breaks my sky2 card at the moment, so I'm unable to test against
> that.  I see no reason why it would be affected though.  Comments/suggestions
> are welcome.

Syncookies are discouraged these days. They disable too many 
valuable TCP features (window scaling, SACK) and even without them 
the kernel is usually strong enough to defend against syn floods
and systems have much more memory than they used to be.

So I don't think it makes much sense to add more code to it, sorry.

Besides you should really move it to the ipv6 module, right now the code
would be always compiled in even for ipv4 only kernels.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.