Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2013 17:42:08 +0300 (EEST)
From:      vadims@libre.lv
To:        freebsd-questions@freebsd.org
Subject:   cannot ftp using proxy
Message-ID:  <alpine.BSF.2.00.1306011713160.2072@vbsd.libre.lv>

next in thread | raw e-mail | index | archive | help
Hello!
Still can't resolve problem with "ftp" utility.

root@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@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@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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1306011713160.2072>