简体   繁体   中英

Create socks host with C# for http proxy forwarding

i want to create a proxy server or (Socks host ??) to communicate with browsers (such as firefox) to forward http proxy.

i have a software that do this: bitvise tunnelier.

so, i need to write an application similiar to tunnelier proxy forwarder.

in other words, i want to enable firefox Socks Host and get browser request with c# application

Please help me lead the way

thanks a lot

Create a proxy means that your application need to act as an HTTP Server when talking to the clients (the browsers) and act as a browser when comunicating with the web sites. The proxy opens a port for the server socket (for example port 90) and accepts the browser request on this port, than connect the web site (generally on port 80) and forward the request to the site server. The proxy waits for the server response, read it and after send the response to the client. The proxy changes the messages header if needed ( for example change the port in the url). In general proxy are multi thread applications, so they can manage more request in the same time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM