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"

In reply to HTTPS proxy in Perl? by oko1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.