proFtpd configuration / tuning

netbit

Verified User
Joined
Jul 14, 2005
Messages
37
Location
Brazil
- 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
 
Back
Top