开发者

C# Http Proxy ideas?

I need a system which redirects connection requests from client machines to different sites i.e. if they type google.com they should be redirected to mysite.com

Therefore I thought of creating an app that installs a proxy on user's machines so that the app could check their outgoing connections and redirect accordingly.

Are there any open source HTTP proxies available on the net? I have tried Mentalis but that se开发者_JAVA百科ems to be quite buggy now that it is around 8 years old.


Maybe this one will help you.

I haven't tested it myself, but it looks promising.


If your redirects are simple and at the domain level, it's probably simpler to configure a DNS server for the clients.

Another alternative is to configure up any of the various proxy servers already available for various platforms, instead of a local proxy on each client. Varnish is very flexible and performant (although it runs on Linux/FreeBSD only).

If your clients are distributed and you can't point them all to the same proxy or DNS, then you should try the local proxy approach (but this starts looking very much like a virus)

Code samples:

http://www.catonmat.net/http-proxy-in-nodejs http://www.vbdotnetheaven.com/Uploadfile/psingh/WebServer04162005083342AM/WebServer.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜