Re: SOCKS V5 proxy for http_proxy Environmental variable



On Tue, 31 Jul 2007 14:08:36 -0400
Mark Jacobs <mark.jacobs@xxxxxxxxxxxx> wrote:

I am attempting to set the http_proxy environmental variable to a
SOCKS 5 proxy server that is really an SSH tunnel to a server outside
the network. When I execute the fetch command it is failing with this
error message;

bc007776# fetch -v ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz
looking up 127.0.0.1
connecting to 127.0.0.1:8080
requesting ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz
fetch: ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz: Unknown error: 0

Is this supported?


I don't think so, and if it were, I doubt it would be supported through
though the http_proxy variable.

Do you not have access to an external http_proxy via the ssh tunnel?
That's the way this kind of thing normally works. Failing that, if this
is for ports building, you might want to look into using curl instead
of fetch in your FETCH_CMD as it appears to support SOCKS 5.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SOCKS V5 proxy for http_proxy Environmental variable
    ... I am attempting to set the http_proxy environmental variable to a SOCKS 5 proxy server that is really an SSH tunnel to a server outside the network. ...
    (freebsd-questions)
  • Re: An Inquiry about Socks5
    ... Have you tried Hummingbird Socks or Aventail's SOCKS client? ... Any request to external address gets directed through the proxy server. ... > containing HTML links, and so it connects to the internet using your ... >> I believe OE uses the proxy information defined in Internet Explorer. ...
    (microsoft.public.security)
  • Configure ISA for MAC users to access MSN
    ... he could access internet through the Proxy server but he can't ... I've tried to configure the MSN for that MAC but the "HTTP ... Proxy Server) it is not allowing me to enter the password (the password box ... I've checked the Socks 5 and Socks V4 configuration ...
    (microsoft.public.isa)
  • Re: socks to http translation for a proxy
    ... through a proxy server that allows only http/https traffic. ... app that talks only socks protocol. ... "that talks only socks protocol" - do you really mean it will only ...
    (comp.infosystems.www.servers.unix)
  • Re: SSH Tunneling, view web site as though I am in the USA
    ... Todd H. wrote: ... Socks v5 did not work, the page tried to load, but it never did. ... so I've gotten into the habit of using the localhost numeric ip of ... as the socks proxy server address instead of the hostname. ...
    (comp.security.ssh)