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

    • If you're not getting the price you're expecting, would it be easier to offload if you sell the parts individually?
    • How to watch Apple's WWDC 2025 event online happening from June 9 to 13 by Steven Parker Apple officially shared the details of its upcoming Worldwide Developers Conference (WWDC) 2025 a couple of weeks ago. Notably, WWDC 2025, with the tagline "On the horizon," will be a week-long event from June 9 to June 13. It's an online event, free of charge, and will bring together developers from across the globe to learn about the latest Apple tools and technologies. A special in-person event will also take place at Apple Park on June 9, at which 1,000 developers and students will attend. Things will kick off on June 9 at 10 AM PDT with Apple Keynote, where viewers will witness the launch of new operating systems: iOS 19, iPadOS 19, WatchOS 12, macOS 16, and visionOS 3. The keynote can be viewed live on Apple's official website, the Apple TV app, and Apple's YouTube channel (below). Later today, at 1 PM PDT, Apple will stream the "Platforms State of the Union" session. In this, developers will learn about the new tools and features available across Apple operating systems. Apple has planned over 100 technical sessions over the week of the event, which will also be accessible online. Apple experts will discuss everything from app development to machine learning to game design. Interested developers can schedule one-to-one sessions and online Labs with Apple experts for guidance. For the second year in a row, Apple will also highlight young talent through the Swift Student Challenge, where 50 standout students will get a chance to visit Apple Park for a three-day experience. Apple is expected to introduce a slew of Apple Intelligence features, such as intelligent battery management and a virtual health assistant. According to Bloomberg's Mark Gurman, the upcoming visionOS 3 update is also speculated to be significant.
    • 18 years later, I still find it fresh and modern compared to all that is out there.
    • Treat yourself to an Office 2021 Professional offline license at up to 77% off by Steven Parker Get all these essential Microsoft apps for your Windows PC Today's deal comes via our Apps + Software section of the Neowin Deals store, where you can save up to 77% off on a lifetime license to Microsoft Office 2021 for Mac or Windows. This bundle is for families and small businesses who want classic Office apps and email (not the $69.99 per year Office 365 which disappears once you stop payuing for it). It includes Word, Excel, PowerPoint, Outlook, Teams, and OneNote. A one-time purchase installed on 1 Mac or Windows PC for use at home or work yours to keep forever!. Lifetime license for MS Word, Excel, PowerPoint, Outlook, Teams, & OneNote One-time purchase installed on 1 Windows PC for use at home or work Instant Delivery & Download – access your software license keys and download links instantly Free customer service – only the best support! Microsoft Office Home & Business 2021 for Mac includes: Microsoft Office Word Microsoft Office Excel Microsoft Office PowerPoint Microsoft Office Outlook Microsoft Office Teams Microsoft Office OneNote Microsoft Office Professional 2021 for Windows includes: Microsoft Office Word Microsoft Office Excel Microsoft Office PowerPoint Microsoft Office Outlook Microsoft Office Teams Microsoft Office OneNote Microsoft Office Publisher Microsoft Office Access No faffing about with subscriptions, just classic apps that don't expire.Good to Know ONE-TIME PURCHASE INSTALLED ON 1 DEVICE Redemption deadline: redeem your code within 30 days of purchase Access options: desktop Full versions No subscriptions – no monthly/annual fees Version: 2021 Updates included For example, a lifetime subscription to Microsoft Office normally costs $219.99, but this deal can be yours for just $49.97, that's a saving of $150. For full terms, specifications, and license info, click the link below. Get for Windows at $49.97, or for Mac at $69.97 See all discounted Neowin Deals on offer. This is a time-limited deal. Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
  • Recent Achievements

    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
    • Reacting Well
      NeoToad777 earned a badge
      Reacting Well
    • Reacting Well
      eric79XXL earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      477
    2. 2
      +FloatingFatMan
      282
    3. 3
      ATLien_0
      253
    4. 4
      snowy owl
      202
    5. 5
      Edouard
      202
  • Tell a friend

    Love Neowin? Tell a friend!