[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [or-cvs] Update OpenBSD via tor?
hey, nobody knows how to use pkg_add and make via the tor?
macintoshzoom wrote:
> Hi Christian,
> Thanks for answering, this a real headache for my now.
>
> Yes ftp honors env, but tor doesn't allows ftp, I think
>
> Tryed:
> <<<
> $ export ftp_proxy=ftp://127.0.0.1:9050
> $ ftp ftp://ftp.debian.org/debian/README
> Trying 127.0.0.1...
> Requesting ftp://ftp.debian.org/debian/README (via ftp://127.0.0.1:9050)
> ftp: Error retrieving file: 501 Tor is not an HTTP Proxy
> <<<
> $ export ftp_proxy=127.0.0.1:9050
> $ ftp ftp://ftp.debian.org/debian/README
> ftp: Malformed proxy URL: ftp.localhost:9050
> $ export ftp_proxy=http://127.0.0.1:8118
> $ ftp ftp://ftp.debian.org/debian/README
> Trying 127.0.0.1...
> Requesting ftp://ftp.debian.org/debian/README (via http://127.0.0.1:8118)
> ftp: Error retrieving file: 400 Invalid request received from client
>
>
> Mac.
>
> Christian Kellermann wrote:
>> * macintoshzoom <macintoshzoom@xxxxxxxxxxx> [080801 22:16]:
>>> pkg_add, the perl tool that OpenBSD uses for installs and updates, uses
>>> ftp to fecth http and ftp files and sources.
>>>
>>> But in OpenBSD this ftp can't be socksified (otherwise using dsocks that
>>> do the job honestly), and so I don't know how to use it via tor.
>> The ftp command in openbsd honors the http_proxy and ftp_proxy environment variable.
>> See ftp(1) for details.
>>
>> HTH,
>>
>> Christian
>>
>
>