Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

HTTPS proxy in Perl?

by oko1 (Deacon)
on Feb 23, 2012 at 04:08 UTC ( [id://955655]=perlquestion: print w/replies, xml ) Need Help??

oko1 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, fellow Monks! I'm trying to help a group of folks who are, err, network-disadvantaged: they need a proxy to get out from behind a rather broad filtering effort (I don't want to go into a whole lot of detail, but it's *not* about violating corporate rules.) However, a simple port-forwarding proxy isn't sufficient: they also need to do HTTPS... and therein lies the rub.

In fact, for a variety of reasons, it would be good if we could get away from SSH altogether and just do a web proxy; I've got a web server sitting on a nice fat pipe that they could use - assuming I can set up something to catch their connections and pitch'em over the wall. The trouble is that I have no idea of how to set up an SSL proxy like that: in researching it, I've seen some relevant-sounding stuff in HTTP::Daemon and the like, but can't make heads or tails of it. I've also seen suggestions that this could be done via Apache itself, but that tail-recursive "explanation" overflowed my stack even faster.

So my question is, do any of you happen to know about some HTTPS::TriviallyEasy::Proxy module or something like that? Or is the issue so complex that it's never been well-enough solved to encapsulate in a simple box like that, and I'm going to have to pore over stacks of dusty tomes of lore to make it happen? (Alas, given my time constraints, the latter is extremely unlikely to happen, and leaving these people behind that wall would be... a travesty.)

-- 
I hate storms, but calms undermine my spirits.
 -- Bernard Moitessier, "The Long Way"

Replies are listed 'Best First'.
Re: HTTPS proxy in Perl?
by JavaFan (Canon) on Feb 23, 2012 at 10:19 UTC
    Or is the issue so complex that it's never been well-enough solved to encapsulate in a simple box like that, and I'm going to have to pore over stacks of dusty tomes of lore to make it happen?
    There are many ready to install proxies out there. I would just install squid, or something similar.

      Ah. I'd heard of "squid", hadn't ever played with it before. Thanks; that looks like the right thing - despite, y'know, not being Perl. :)

      Much appreciated!

      -- 
      I hate storms, but calms undermine my spirits.
       -- Bernard Moitessier, "The Long Way"
Re: HTTPS proxy in Perl?
by Anonymous Monk on Feb 23, 2012 at 04:38 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://955655]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-03-28 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found