This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Sockets and Internet Protocols and the fly likes how to implement proxy server that preserves incoming request's IP address Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "how to implement proxy server that preserves incoming request Watch "how to implement proxy server that preserves incoming request New topic
Author

how to implement proxy server that preserves incoming request's IP address

Waldle Cai
Ranch Hand

Joined: Aug 16, 2000
Posts: 34
Hi there,
I need to implement a proxy server that accepts incoming HTTP request, modifies the header and then forwards it to destination server. The difficulty I'm facing is that the proxy server must not modify the IP of the incoming request packets, such that destination server sees the requests are coming from the client machine.
Any idea how to do this? Thanks a lot in advance.
Regards
Waldle
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: how to implement proxy server that preserves incoming request's IP address
 
Similar Threads
client IP address
about packet analysis
Check the connectivity from one host IP to another IP
How to build a web proxy
How to obtain the destination machine information