|
Programming a Transparent Proxy Server
Hi,
I am in the process of programming a transparent proxy server in C on Linux. I have to get some concepts clear.
Browser <--> Proxy <--> ISP
The proxy has two struct sockaddr_ins called proxaddr (which contains the IP address of the proxy - 127.0.0.1) and ispaddr (which contains the gateway IP address of the ISP). My doubt is, once my proxy receives responses from the ISP, how do I transfer it to the browser?
Please help.
Jayanth
|