Re: patch for caching TCP options with syncookies

2006-03-16 Thread jensen galan
you are correct that memory is allocated on a syn with this patch. however, instead of using a large open_request struct and the other resources necessary to track the connection's state, a struct of size 20 B is allocated and stored in a hash table using the ISN (syn_cookie value) as the index in

Re: patch for caching TCP options with syncookies

2006-03-16 Thread John Heffner
jensen galan wrote: greetings! this is my first creation of a patch for the linux kernel. if you have time, could you please take a look at it and give me some feedback. this patch creates a syn_cache for caching TCP options when syn_cookies are in use (by default, all TCP options are lost when

Re: patch for caching TCP options with syncookies

2006-03-15 Thread Arnaldo Carvalho de Melo
On 3/15/06, jensen galan <[EMAIL PROTECTED]> wrote: > greetings! > > this is my first creation of a patch for the linux > kernel. if you have time, could you please take a look > at it and give me some feedback. > > this patch creates a syn_cache for caching TCP options > when syn_cookies are in us

patch for caching TCP options with syncookies

2006-03-15 Thread jensen galan
greetings! this is my first creation of a patch for the linux kernel. if you have time, could you please take a look at it and give me some feedback. this patch creates a syn_cache for caching TCP options when syn_cookies are in use (by default, all TCP options are lost when using syncookies). a