Hi again. I've managed to start a proxy with your help. And now it even serves some requests ( it's some log entries):
[Sun Jan 8 10:38:53 2012] (1554) SOCKET: New connection from 127.0.0. +1:49293 [Sun Jan 8 10:38:53 2012] (897) PROCESS: Forked child process 1554 [Sun Jan 8 10:39:01 2012] (1554) REQUEST: GET http://www.google.com/s +orry/?continue=http://www.google.com/search%3Fq%3Dcar+rent [Sun Jan 8 10:39:01 2012] (1554) REQUEST: Via: 0.9 domU-00-05-34-21-B +5-AC.compute-1.internal (HTTP::Proxy/0.25) [Sun Jan 8 10:39:01 2012] (1554) REQUEST: X-Forwarded-For: 127.0.0.1 [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: 503 Service Unavailable [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Cache-Control: no-cache, m +ust-revalidate [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Date: Sun, 08 Jan 2012 15: +39:01 GMT [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Via: 1.1 domU-00-05-34-21- +B5-AC.compute-1.internal (HTTP::Proxy/0.25) [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Server: HTTP server (unkno +wn) [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Content-Length: 2639 [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Content-Type: text/html; c +harset=UTF-8 [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Expires: Mon, 01 Jan 1990 +00:00:00 GMT [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: Title: http://www.google.c +o.uk/search?q=car rent [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: X-Cache: MISS from domU-00 +-05-34-21-B5-AC.compute-1.internal [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: X-Cache-Lookup: MISS from +domU-00-05-34-21-B5-AC.compute-1.internal:3128 [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: X-Frame-Options: SAMEORIGI +N [Sun Jan 8 10:39:01 2012] (1554) RESPONSE: X-XSS-Protection: 1; mode= +block [Sun Jan 8 10:39:01 2012] (1554) SOCKET: Connection closed by the pro +xy [Sun Jan 8 10:39:01 2012] (1554) PROCESS: Served 1 requests [Sun Jan 8 10:39:02 2012] (897) PROCESS: Reaped child process 1554 [Sun Jan 8 10:39:02 2012] (897) PROCESS: 0 remaining kids:
But the link is not being transformed.

In reply to Re^5: Unfinished custom proxy by kazak
in thread Unfinished custom proxy by kazak

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.