Advertisement
Guest User

Proftpd mod_clamav config

a guest
Jun 20th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1.  
  2. # Includes DSO modules
  3. Include /etc/proftpd/modules.conf
  4.  
  5. # Set off to disable IPv6 support which is annoying on IPv4 only boxes.
  6. UseIPv6 on
  7.  
  8. ServerName "FTP Server"
  9. ServerType standalone
  10. DeferWelcome off
  11. PassivePorts 63900 64000
  12. UseReverseDNS off
  13. IdentLookups off
  14.  
  15. MultilineRFC2228 on
  16. DefaultServer on
  17. ShowSymlinks on
  18.  
  19. TimeoutNoTransfer 3600
  20. TimeoutStalled 3600
  21. TimeoutIdle 36000
  22.  
  23. DisplayLogin welcome.msg
  24. DisplayChdir .message true
  25. ListOptions "-l"
  26.  
  27. DenyFilter \*.*/
  28.  
  29. DefaultRoot ~
  30.  
  31. Port 21
  32.  
  33. MaxInstances 30
  34.  
  35. User proftpd
  36. Group nogroup
  37.  
  38. Umask 022 022
  39.  
  40. AllowOverwrite on
  41.  
  42. TransferLog /var/log/proftpd/xferlog
  43. SystemLog /var/log/proftpd/proftpd.log
  44.  
  45. AllowRetrieveRestart On
  46. AllowStoreRestart On
  47.  
  48. <IfModule mod_quotatab.c>
  49. QuotaEngine on
  50. </IfModule>
  51.  
  52. <IfModule mod_ratio.c>
  53. Ratios off
  54. </IfModule>
  55.  
  56.  
  57. <IfModule mod_delay.c>
  58. DelayEngine off
  59. </IfModule>
  60.  
  61. <IfModule mod_ctrls.c>
  62. ControlsEngine off
  63. ControlsMaxClients 2
  64. ControlsLog /var/log/proftpd/controls.log
  65. ControlsInterval 5
  66. ControlsSocket /var/run/proftpd/proftpd.sock
  67. </IfModule>
  68.  
  69. <IfModule mod_ctrls_admin.c>
  70. AdminControlsEngine off
  71. </IfModule>
  72.  
  73. Include /etc/proftpd/sql.conf
  74.  
  75. <IfModule mod_clamav.c>
  76. ClamAV off
  77. ClamServer 127.0.0.1
  78. ClamPort 3310
  79. ClamMaxSize 5 Mb
  80. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement