ftp slow w/ proftpd# Samba fast

Excalibur Xcalibur excalibur.xcalibur at gmail.com
Thu Jul 26 00:42:26 UTC 2007


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 at themeyerfarm.com> 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 at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070725/bfbdeaed/attachment-0002.html 


More information about the users mailing list