Need a HTTP proxy server that supports SOCKS parent


Recommended Posts

Hi all,

I am running Privoxy as a HTTP proxy server with a SOCKS parent 127.0.0.1:13500. But privoxy do NOT support some rare HTTP request verb headers like PUT, PROPFIND, etc. So I have problems running some programs behind firewall like svn, rsync, lastfm.

Squid supports most of HTTP verbs, but Squid is more like a cache and it does not support SOCKS parent.

I also tried Popilo, it does not support exotic HTTP headers either.

So my question is, is there any proxy server that supports MOST http headers, and a socks parent? Is there any other solutions?

Link to comment
Share on other sites

So my question is, is there any proxy server that supports MOST http headers, and a socks parent? Is there any other solutions?

Apache can be configured as a forward HTTP proxy server (reverse too, but that's not interesting for you in this situation). It does support "parent" SOCKS (but not SOCKSv5) if you compile it yourself: http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#socks It might support 'rare http request headers' but i haven't tested -- and couldn't find any detailed information.

Squid supports most of HTTP verbs, but Squid is more like a cache and it does not support SOCKS parent.

Squid does support SOCKS5 "parent" (if you recompile with specific options) according to http://www.unix.org.ua/squid/FAQ-4.html#ss4.10 You can disable Squid's caching features to just use it as a plain HTTP proxy, if you wish, through its configuration: http://wiki.squid-cache.org/SquidFaq/Confi...e291298cb1be7f3

According to: http://osdir.com/ml/network.rsync.general/...2/msg00047.html httptunnel might work -- but you'll need /control/ of a machine (be able to run a program and listen for connections) on the outside.

Link to comment
Share on other sites

If the ports are open on the firewall of the machine you are connecting to openSSH has a socks5 proxy inbuilt.)

ssh -d 9999 username@host

Will establish an SSH tunnel to the remote host and start a socks5 compatable proxy on the local machine which will forward everything that hits it down the tunnel...

or if the remote machine runs SSH on a non standard port

ssh -d 9999 -p 5431 username@host

*replace 9999 with the port you want the proxy to listen on*

*replace 5431 with the non standard ssh port your remote box listens on)

Dunno if thats helps any.

Link to comment
Share on other sites

Apache can be configured as a forward HTTP proxy server (reverse too, but that's not interesting for you in this situation). It does support "parent" SOCKS (but not SOCKSv5) if you compile it yourself: http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#socks It might support 'rare http request headers' but i haven't tested -- and couldn't find any detailed information.

Squid does support SOCKS5 "parent" (if you recompile with specific options) according to http://www.unix.org.ua/squid/FAQ-4.html#ss4.10 You can disable Squid's caching features to just use it as a plain HTTP proxy, if you wish, through its configuration: http://wiki.squid-cache.org/SquidFaq/Confi...e291298cb1be7f3

According to: http://osdir.com/ml/network.rsync.general/...2/msg00047.html httptunnel might work -- but you'll need /control/ of a machine (be able to run a program and listen for connections) on the outside.

Thank you very much for the squid info. I'll check it out. Just a bit tired of compiling thought, LOL.

If the ports are open on the firewall of the machine you are connecting to openSSH has a socks5 proxy inbuilt.)

ssh -d 9999 username@host

Will establish an SSH tunnel to the remote host and start a socks5 compatable proxy on the local machine which will forward everything that hits it down the tunnel...

or if the remote machine runs SSH on a non standard port

ssh -d 9999 -p 5431 username@host

*replace 9999 with the port you want the proxy to listen on*

*replace 5431 with the non standard ssh port your remote box listens on)

Dunno if thats helps any.

Yeah I AM using SSH to provide SOCKS parent for privoxy/squid/polipo, and SSH tunnel alone is very convenient, but many softwares only support HTTP proxy rather than SOCKS proxy.

Thank you all for your help!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.