[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [or-cvs] Update OpenBSD via tor?



$ 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@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