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?

  electronixtar said:
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.

  electronixtar said:
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.

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.

  Kardona said:
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.

  dragon2611 said:
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!

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

    • No registered users viewing this page.
  • Posts

    • Doesn't that assume that there is only one potential use-case scenario when in fact there are millions of people who live in urban areas that only require a small fraction of that?
    • Google Chrome is ending support for two ancient versions of Android by Usama Jawad Google Chrome is the most used browser right now, with the competition trailing far behind. What browser you use typically ends up being a matter of preference and familiarity, but all vendors are trying to one-up each other as they vy for more market share. Recently, Google claimed that Chrome is now faster than ever while Microsoft boasted that Edge is better at ad-blocking than Google's offering. Regardless of all these factors, Chrome commands a significant market share, even on legacy systems. Now, Google has announced that it is ending support for Chrome on two legacy versions of Android. In a brief blog post, Google has announced that it is dropping support for Chrome on Android 8 Oreo and Android 9 Pie with the upcoming version 139 of the browser expected to release on August 5. Right now, the current stable version of Chrome is 137, which means that Chrome 138 will be the last version of the browser to support these legacy operating systems. In practice, this means that Chrome will require Android 10.0 or above on mobile platforms in order to receive further updates. While the browser will continue working on older versions of Android, they will not receive updates, which means that they'll be left insecure and vulnerable to cybersecurity threats. As expected, Google has recommended that users on older systems should migrate to at least Android 10 in order to continue receiving updates on Chrome. While the company hasn't explicitly stated a reason behind its decision, it likely has to do with the dwindling user base of these old versions of Android and Google's ambitions to get more people to upgrade to newer versions of its mobile operating system. It's important to note that Android 8 was released in August 2017 and received its final security patch in October 2021. Meanwhile, Android 9 was rolled out to the public in August 2019 and netted its final update in January 2022. So in retrospect, Google has already been offering Chrome support for these legacy versions long after they hit end-of-support themselves.
    • I use two of these in RAID0 for video games and other things, together they are capable of 2.8 million IOPS and 15 GB/s on Gen4. At this price, 4 TB of Gen4 is faster and less expensive than a single 2 TB Gen5 NVMe, not to mention easier to cool off. Highly recommend.
    • that is a normal sign in, they just put in a dumb location to try to hide it... and yes I think the whole MS account by default is BS too, the first question should be do you want an online profile or a local one
    • From our past comments, it looks like some ppl are defo enjoying these stories.
  • Recent Achievements

    • One Month Later
      adnan.hebibovic earned a badge
      One Month Later
    • Week One Done
      adnan.hebibovic earned a badge
      Week One Done
    • Dedicated
      tesla maxwell earned a badge
      Dedicated
    • Dedicated
      Camlann earned a badge
      Dedicated
    • Week One Done
      fredss earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      629
    2. 2
      Michael Scrip
      224
    3. 3
      ATLien_0
      219
    4. 4
      +FloatingFatMan
      143
    5. 5
      Xenon
      134
  • Tell a friend

    Love Neowin? Tell a friend!