TCP Sessions and IP Changes
Posted
by
Kyle Brandt
on Server Fault
See other posts from Server Fault
or by Kyle Brandt
Published on 2009-09-03T13:01:50Z
Indexed on
2014/06/12
9:27 UTC
Read the original article
Hit count: 185
What happens to a TCP session when the IP of a client changes?
I did a simple test of having netcat listen on a port, and connecting to that port from a client machine. I then changed the IP of the client while that nc session was open and sent some data, no data was received by server after changing the IP.
- I know they are different layers, but does TCP use IPs for part of how it distinguishes sessions?
- Does my example not work because of how the application handles it, or is this not working because of something happening at TCP/IP/Ethernet layers?
- Does this depend on the OS implementation? ( I am most interested in Linux at the moment)
© Server Fault or respective owner