[or-cvs] Update OpenBSD via tor?
John Brooks
aspecialj at gmail.com
Sun Aug 10 22:52:32 UTC 2008
Tor only works directly as a SOCKS proxy. There are a couple options here -
first is the 'torify' program (which uses tricks to force all sockets in a
process to be sent through Tor even without application support for SOCKS).
That'd be the simplest solution, probably. You could also set up a HTTP
proxy to redirect to tor (this is what privoxy usually does - although it'd
need to support non-HTTP connections, which i'm not sure it does), or simply
use different software that includes SOCKS support :P
I don't think this is relevant in this situation, but always remember that
passwords sent in plaintext over tor are visible to the exit node. FTP would
fall under that category.
- John
On Sun, Aug 10, 2008 at 7:30 AM, macintoshzoom <macintoshzoom at lavabit.com>wrote:
> $ export ftp_proxy="http://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 http://127.0.0.1:9050)
> ftp: Error retrieving file: 501 Tor is not an HTTP Proxy
> $
>
>
> $ 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
> $
> as privoxy don't support ftp, only http-https.
>
> Christian Kellermann wrote:
>
>> * macintoshzoom <macintoshzoom at lavabit.com> [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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20080810/ff77c7f0/attachment.htm>
More information about the tor-dev
mailing list