Thread: FTP issue?
View Single Post
  #3   (View Single Post)  
Old 29th August 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

Does the ftp site resolve?
Code:
$ dig ftp.usa.openbsd.org

; <<>> DiG 9.4.2-P2 <<>> ftp.usa.openbsd.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56187
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ftp.usa.openbsd.org.           IN      A

;; ANSWER SECTION:
ftp.usa.openbsd.org.    86400   IN      CNAME   plier.ucar.edu.
plier.ucar.edu.         17450   IN      A       192.43.244.161

;; Query time: 993 msec
;; SERVER: 192.168.222.10#53(192.168.222.10)
;; WHEN: Mon Aug 29 03:21:12 2011
;; MSG SIZE  rcvd: 81
Can you manually access the ftp site?

Code:
$ ftp -a ftp.usa.openbsd.org

Connected to plier.ucar.edu.
220 plier.ucar.edu FTP server ready.
331 Guest login ok, send your email address as password.
230-   Welcome to ftp3.usa.OpenBSD.org in Boulder, Colorado, USA.
230-   For other mirror sites visit http://www.openbsd.org/ftp.html

[snip]

230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> quit
221 Goodbye.
$
What does your routing table look like?
Code:
$ netstat -rn -f inet
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote