INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

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

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

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

(OP)


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!

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

(OP)
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!

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

What you need is a reverse PRoxy at A.

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

(OP)
can you make it a bit clearer?
how to use reverse proxy for this?
thanks

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

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close