Author Topic: proFtpd configuration / tuning on directadmin  (Read 4149 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2141
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
proFtpd configuration / tuning on directadmin
« on: มีนาคม 05, 2015, 09:38:17 AM »
proFtpd configuration / tuning

- If you want to block certain types of files to be uploaded, add this directive in /etc/proftpd.conf:

    PathDenyFilter "\\.(bas|bat|cmd|com|hta|lnk|pif|scr|exe)$"

- If you want to limit the proftpd cpu/memory usage (High Recommended), use (in this example, 10% of cpu and 4mb of memory):

    RLimitCPU session 10
    RLimitMemory session 4096

- If you want to limit the max upload / download file size, use:

    MaxStoreFileSize 30 Mb
    MaxRetrieveFileSize 30 Mb


#/etc/init.d/proftpd restart

special thank to : http://forum.directadmin.com/showthread.php?t=9348
« Last Edit: มีนาคม 05, 2015, 09:39:56 AM by golfreeze »