Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is it possible for a host to maintain a tcp connection with two hosts with the same IP?

Status
Not open for further replies.

esolvepolito

Technical User
Dec 4, 2012
3
FR


I have two hosts A and B and a host(called client here) C C will establish a tcp connection with A, and send http requests to A then A will relay the HTTP requests to B (the relaying may be seconds of delay) and B will spoof its IP address as the IP of A and send http response to C

I know there is sequnce number inconsistency problem, but is it possible to trick the TCP protocol to make the connection viable? thanks!
 
maybe the original post is not clear enough, I reword it as below:

I have two hosts A and B and a host(called client here) C C will establish a tcp connection with A, and send http requests to A but I dont want A to respond C, instead I want B to respond C

So A will relay the HTTP requests to B (the relaying may be seconds of delay) and then B will send http response to C But I hope C won't know the IP of B, so B will spoof its IP address as the IP address of A and I hope C regard the packets from B belongs to the tcp connection between it and A

I know there is sequnce number inconsistency problem, but is it possible to trick the TCP protocol to make the above viable? thanks!
 
can you make it a bit clearer?
how to use reverse proxy for this?
thanks
 
Have a look at how an F5 works - the F5 pretends to be the web server(s) and the Client only ever sees the F5 IP address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top