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

Re: ftp slow w/ proftpd# Samba fast

Excalibur Xcalibur wrote:
I'm using proftpd as server on my fedora box and it's damn slow. Users take forever to download/upload things on the server. But when I share my folder as a Samba share, it's almost instantaneous downloads/uploads for users. Any clues to make my FTP blazing fast? Could SELINUX be one of the problems?


proftp can be (is by default?) configured to verify a valid IP before allowing a log in.

If your reverse DNS is slow, then ftp logins and ssh connections can take up to two minutes or so.

Microsoft based protocols don't do much IP based security validation, based upon the OLD SMB protocols (ripped off from DEC and ISO standards).

Check your reverse DNS response times -- I bet they are whack.

You can use the host utility to test RDNS queries easily, or dig.

$ host domain name pointer host11.hostmonster.com.

$ dig esourcehome.com

; <<>> DiG 9.4.1 <<>> esourcehome.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9058
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;esourcehome.com.               IN      A

esourcehome.com.        4439    IN      A

;; Query time: 3 msec
;; WHEN: Wed Jul 25 17:32:44 2007
;; MSG SIZE  rcvd: 49

If these queries take more than a second or so, your are having DNS issues.

Good Luck!

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