Two half open connections with same source port and dest port.

From: wu_yb (wu_yb@263.net)
Date: Thu Apr 06 2000 - 22:40:25 EST


In kernel 2.2.13:

When a TCP connection request come in, kernel alloc a req in the listen
socket.
When a new connection request come in( with same source/dest port ):
1. kernel found the original request struct in listen socket
2. compre the ini sequence with the previous one, if equal,
   then the retransmited request.
   BUT if not equal, kernel think it a new request, and alloc a new
   req struct in listen socket. ( tcp_input.c, tcp_check_req() )
   NOW TWO HALF OPEN CONNECTIONS WITH SAME SOURCE/DEST PORT.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:17 EST