logo
Published on KernelTrap (http://kerneltrap.org)

In what situations does Linux kernel send RST/ACK as respond to SYN ?

By xsanch
Created Apr 20 2008 - 09:17

Hi,

I have a problem with one application (Tomcat) which does not accept some new connections. From tcpdump i can see that linux box responds with RST/ACK to the SYN request.

I don't know whether this is a good place to ask but I would like to know in what situations does Linux kernel send the RST/ACK.

I have taken a look into tcp_ipv4.c namely tcp_v4_send_reset and tcp_v4_do_rcv where the tcp_v4_send_reset is called but I am not a linux kernel hacker so please give me some ideas how this is done..

Many thanks,

Jorge Sanchez


Source URL:
http://kerneltrap.org/node/16024