UseReverseDNS off
IdentLookups off
in /etc/proftpd.conf
it still sucks! I've never seen such a sluggish ftp server.
--
Excalibur
On 7/25/07, Excalibur Xcalibur <excalibur.xcalibur@xxxxxxxxx
> wrote:
Dear Phil,
Thanks for the reply.
Mine:
;; Query time: 4138 msec
OK It takes 4.138 secs. :( The logins seem to be fast. It's only when the users start to transfer files, then it takes forever.
Is there a way to make proftpd bypass the checks?
--
Excalibur
On 7/25/07, Phil Meyer <pmeyer@xxxxxxxxxxxxxxxx > wrote:Excalibur Xcalibur wrote:
> Hi,
> 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?
>
>
>
> --
> Excalibur
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 74.220.202.11
11.202.220.74.in-addr.arpa 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
;; QUESTION SECTION:
;esourcehome.com. IN A
;; ANSWER SECTION:
esourcehome.com. 4439 IN A 74.220.202.11
;; Query time: 3 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; 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!
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list