Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. # This is a basic ProFTPD configuration file.
  2. # It establishes a single server and a single anonymous login.
  3. # It assumes that you have a user/group "nobody" and "ftp"
  4. # for normal/anonymous operation.
  5.  
  6. ServerName "ProFTPD Default Installation"
  7. ServerType standalone
  8. #ServerType inetd
  9. DefaultServer on
  10.  
  11. # Port 21 is the standard FTP port.
  12. Port 21
  13. # Umask 022 is a good standard umask to prevent new dirs and files
  14. # from being group and world writable.
  15. Umask 022
  16.  
  17. # To prevent DoS attacks, set the maximum number of child processes
  18. # to 30. If you need to allow more than 30 concurrent connections
  19. # at once, simply increase this value. Note that this ONLY works
  20. # in standalone mode, in inetd mode you should use an inetd server
  21. # that allows you to limit maximum number of processes per service
  22. # (such as xinetd)
  23. MaxInstances 30
  24.  
  25. # Set the user and group that the server normally runs at.
  26. User nobody
  27. Group nogroup
  28.  
  29. # This next option is required for NIS or NIS+ to work properly:
  30. #PersistentPasswd off
  31.  
  32. SystemLog /var/log/proftpd.log
  33. TransferLog /var/log/xferlog
  34.  
  35. # Normally, we want files to be overwriteable.
  36. <Directory /*>
  37. AllowOverwrite on
  38. </Directory>
  39.  
  40. # A basic anonymous FTP server configuration.
  41. # To enable this, remove the user ftp from /etc/ftpusers.
  42. <Anonymous ~ftp>
  43. RequireValidShell off
  44. User ftp
  45. Group ftp
  46. # We want clients to be able to login with "anonymous" as well as "ftp"
  47. UserAlias anonymous ftp
  48.  
  49. # Limit the maximum number of anonymous logins
  50. MaxClients 50
  51.  
  52. # We want 'welcome.msg' displayed at login, and '.message' displayed
  53. # in each newly chdired directory.
  54. DisplayLogin welcome.msg
  55. DisplayChdir .message
  56. [ Read 74 lines ]
  57. # Limit WRITE everywhere in the anonymous chroot
  58. <Limit WRITE>
  59. DenyAll
  60. </Limit>
  61.  
  62. # An upload directory that allows storing files but not retrieving
  63. # or creating directories.
  64. # <Directory incoming/*>
  65. # <Limit READ>
  66. # DenyAll
  67. # </Limit>
  68. #
  69. # <Limit STOR>
  70. # AllowAll
  71. # </Limit>
  72. # </Directory>
  73.  
  74. </Anonymous>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement