Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

pure-ftpd and proftpd

Discussion in 'General Discussion' started by Radio_Head, Nov 12, 2002.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    Which are the differences between pure-ftpd and proftpd ?
    Which is more safe ?

    Thanks !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    193
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Listed in WHM for build 38 edge it lists the following.

    Proftpd
    Advantages
    * Anonymous Ftp Bandwidth Reporting
    * Access Logs for Ftp in cPanel
    Disadvantages
    * Large Memory Footprint
    * Slow

    Pure-ftpd
    Advantages
    * Faster Login Time
    * Smaller Memory Footprint
    * Allows Virtual Access on any ip address
    * Better Security Model
    * Deals better with Software Raid systems
    Disadvantages
    * No cPanel Access Log or Bandwidth Stats
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    thanks . Impossibility to track ftp anonymous bandwith could be a problem with Pure-ftpd .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    193
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    This may help as a start.

    This is not perfect as I am not a programmer. Maybe someone can morph this into real code.

    Basically this script is doing two things, first it goes throught the messages log and copies out each users info for pure-ftpd and puts it in there tmp directory. The second part looks for anonymous ftp logins and copies that info to a file called anon_ftplog

    [SCRIPT]

    #!/bin/sh
    cd /var/cpanel/users
    for file in *
    do
    cd /home/$file/tmp
    grep pure-ftpd /var/log/messages|grep $file &ftplog
    chown $file:$file /home/$file/tmp/ftplog


    if test ! -d '/var/log/ftp'; then
    mkdir '/var/log/ftp'
    fi
    cd /var/log/ftp
    grep pure-ftpd /var/log/messages |grep Anonymous &anon_ftplog
    done
    [ENDSCRIPT]

    Thoughts and suggestions are welcome. I have tested this on a couple of servers and have not had anything bad happen. :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice