Advertisement
Guest User

Untitled

a guest
Jan 1st, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1. # Example config file /etc/vsftpd.conf
  2. #
  3. # Allow blind, anonymous drops in an upload folder
  4. #
  5. anonymous_enable=YES
  6. write_enable=YES
  7. anon_upload_enable=YES
  8. # Uncomment this if you want the anonymous FTP user to be able to create
  9. # new directories.
  10. #anon_mkdir_write_enable=YES
  11.  
  12. # No password is required for an anonymous login
  13. no_anon_password=YES
  14.  
  15. # Maximum transfer rate for an anonymous client in Bytes/second
  16. anon_max_rate=30000
  17.  
  18. # Directory to be used for an anonymous login
  19. anon_root=/srv/ftp/drop
  20. # Write should not be enabled in the directory above. A writable directory should be created in instead.
  21.  
  22. # Activate directory messages - messages given to remote users when they
  23. # go into a certain directory.
  24. dirmessage_enable=YES
  25. #
  26. # Activate logging of uploads/downloads.
  27. xferlog_enable=NO
  28. #
  29. # Make sure PORT transfer connections originate from port 20 (ftp-data).
  30. connect_from_port_20=YES
  31.  
  32. # If you want, you can arrange for uploaded anonymous files to be owned by
  33. # a different user. Note! Using "root" for uploaded files is not
  34. # recommended!
  35. #chown_uploads=YES
  36. #chown_username=whoever
  37. #
  38. # You may override where the log file goes if you like. The default is shown
  39. # below.
  40. #xferlog_file=/var/log/vsftpd.log
  41. #
  42. # If you want, you can have your log file in standard ftpd xferlog format.
  43. # Note that the default log file location is /var/log/xferlog in this case.
  44. #xferlog_std_format=YES
  45. #
  46. # You may change the default value for timing out an idle session.
  47. #idle_session_timeout=600
  48. #
  49. # You may change the default value for timing out a data connection.
  50. #data_connection_timeout=120
  51. #
  52. # It is recommended that you define on your system a unique user which the
  53. # ftp server can use as a totally isolated and unprivileged user.
  54. #nopriv_user=ftpsecure
  55. #
  56. # Enable this and the server will recognise asynchronous ABOR requests. Not
  57. # recommended for security (the code is non-trivial). Not enabling it,
  58. # however, may confuse older FTP clients.
  59. #async_abor_enable=YES
  60. #
  61. # By default the server will pretend to allow ASCII mode but in fact ignore
  62. # the request. Turn on the below options to have the server actually do ASCII
  63. # mangling on files when in ASCII mode.
  64. # Beware that on some FTP servers, ASCII support allows a denial of service
  65. # attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
  66. # predicted this attack and has always been safe, reporting the size of the
  67. # raw file.
  68. # ASCII mangling is a horrible feature of the protocol.
  69. #ascii_upload_enable=YES
  70. #ascii_download_enable=YES
  71. #
  72. # You may fully customise the login banner string:
  73. #ftpd_banner=Welcome to blah FTP service.
  74. #
  75. # You may specify a file of disallowed anonymous e-mail addresses. Apparently
  76. # useful for combatting certain DoS attacks.
  77. #deny_email_enable=YES
  78. # (default follows)
  79. #banned_email_file=/etc/vsftpd.banned_emails
  80. #
  81. # You may specify an explicit list of local users to chroot() to their home
  82. # directory. If chroot_local_user is YES, then this list becomes a list of
  83. # users to NOT chroot().
  84. # (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
  85. # the user does not have write access to the top level directory within the
  86. # chroot)
  87. #chroot_local_user=YES
  88. #chroot_list_enable=YES
  89. # (default follows)
  90. #chroot_list_file=/etc/vsftpd.chroot_list
  91. #
  92. # You may activate the "-R" option to the builtin ls. This is disabled by
  93. # default to avoid remote users being able to cause excessive I/O on large
  94. # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
  95. # the presence of the "-R" option, so there is a strong case for enabling it.
  96. #ls_recurse_enable=YES
  97. #
  98. # When "listen" directive is enabled, vsftpd runs in standalone mode and
  99. # listens on IPv4 sockets. This directive cannot be used in conjunction
  100. # with the listen_ipv6 directive.
  101. listen=YES
  102. #
  103. # This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
  104. # sockets, you must run two copies of vsftpd with two configuration files.
  105. # Make sure, that one of the listen options is commented !!
  106. #listen_ipv6=YES
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement