[pkg-lynx-maint] Bug#791452: Bug#791452: lynx: more cases

Andy Valencia lynxomatic at gmail.com
Tue Jul 14 04:06:36 UTC 2015


--------
[Jack Ryan <noreply at remailer.cpunk.us> writes:]

> These commands cause lynx to hang:
>   env http_proxy=http://127.0.0.1:8118/   lynx http://check.torproject.org/

Trying it out here...

This proxies me to http on torproject, but then he redirects to https.
No proxy configured for that protocol--so I get the page directly.  (This is
the same as if it redirected to, say, FTP and there was no FTP proxy.)

>   env https_proxy=https://127.0.0.1:8118/ lynx https://check.torproject.org/

Unless your proxy server is very different from mine, you talk to it via
http, and then *it* talks SSL outward.  This worked:

https_proxy=http://<myproxy>:8888/ lynx https://check.torproject.org/

>   env http_proxy=http://127.0.0.1:8118/  lynx https://check.torproject.org/
>   env http_proxy=http://127.0.0.1:8118/  lynx https://torstatus.blutmagie.de/
>   env http_proxy=https://127.0.0.1:8118/ lynx https://torstatus.blutmagie.de/

In all these you proxy one protocol, but talk to another.  Note the last one
has my same comment on whether you can, in fact, talk to your proxy via
HTTPS/SSL.  tinyproxy can't.  But what I know about proxy setups is,
basically, whatever I learn on the fly chasing your bug report.

> Another complication that I encountered was IPv4 vs IPv6.

No IPv6 here at the moment, need to set up some hardware.  You may want to
submit a distinct bug for the IPv6 cases, and let this bug drill down on any
needed remaining details on the proxy protocol issues.  I'll find some time
RSN to assemble a lab IPv6 testbed.  Neither of my ISP feeds supports IPv6
(darn it), but I can probably set up something sufficient to reproduce what
you're seeing.

Aside from IPv6, if nothing else, there's a doc issue here.  https needs a
specific mention in the proxy environment variable examples, and probably
some words need to be added to address the kind of URL which'll work to reach
a proxy.  I'll read around some more on that latter issue, as I don't know
what's possible (or supported by the lynx proxy code).

Andy



More information about the pkg-lynx-maint mailing list