2002-06-10 20:59:17

by Nivedita Singhvi

[permalink] [raw]
Subject: removing old SYN packets


> I need some information about the TCP implementation. I didn't
> find any information in my Linux Kernel book or in any other
> tutorial about TCP and I do not really understand the tcp.c

> The kernel should remove SYN packets if it doesn't recive the
> final ACK. But where is that implemented in the Linux Kernel?

when the synack timer goes off and it has retried enough times
(at least sysctl_tcp_synack_retries times or the max that was
set for the connection).

see timer.c: tcp_synack_timer() stuff

thanks,
Nivedita