cannot ftp using proxy

vadims at libre.lv vadims at libre.lv
Sat Jun 1 14:42:17 UTC 2013


Hello!
Still can't resolve problem with "ftp" utility.

root at ona:/root # ftp ftp2.freebsd.org
ftp: Can't connect to `128.205.32.24:21': Operation timed out
ftp: Can't connect to `ftp2.freebsd.org:ftp'
ftp>

"socksta -4" tells me that it is not even trying to connect to proxy 
server, connecting directly instead:

root at ona:/root # sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     ftp        54160 3  tcp4   10.10.15.26:50457     128.205.32.24:21


root at ona:/root # uname -a
FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon 
Apr 29 18:27:25 UTC 2013 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


root at ona:/root # env
TERM=screen
ftp_proxy=http://myproxy:8080
http_proxy=http://myproxy:8080
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=/bin/csh
HOME=/root
USER=root
HOSTTYPE=FreeBSD
VENDOR=amd
OSTYPE=FreeBSD
MACHTYPE=x86_64
SHLVL=1
PWD=/root
LOGNAME=root
GROUP=wheel
HOST=ona
EDITOR=vi
PAGER=more
BLOCKSIZE=K

Tried to google with no luck - no solution works for me. By the way, 
"fetch" works as expected, I can fetch and install ports.
I would appreciate any help and/or any hints!

Best regards!
VS.


More information about the freebsd-questions mailing list