Added more directives to file to increase security of and friendliness of ProFTPd FTP server
This commit is contained in:
@@ -1,22 +1,31 @@
|
||||
<Global>
|
||||
PassivePorts {{ pasv_ports }}
|
||||
# PassivePorts {{ pasv_ports }}
|
||||
RequireValidShell off
|
||||
MaxInstances {{ max_conns }}
|
||||
{% if allow_symlinks %}
|
||||
ShowSymlinks on
|
||||
{% else %}
|
||||
ShowSymlinks off
|
||||
{% endif %}
|
||||
AllowRetrieveRestart on
|
||||
HiddenStores .%P- .frag
|
||||
|
||||
DisplayLogin WELCOME.msg
|
||||
DisplayLogin /etc/proftpd/WELCOME.txt
|
||||
DisplayChdir .README.md true
|
||||
DisplayConnect BANNER.msg
|
||||
DisplayFileTransfer SUCCESS.msg
|
||||
DisplayConnect /etc/proftpd/BANNER.txt
|
||||
DisplayFileTransfer /etc/proftpd/SUCCESS.txt
|
||||
DisplayReadme /etc/proftpd/ANNOUNCE.md
|
||||
DisplayQuit /etc/proftpd/BYE.txt
|
||||
|
||||
TimeoutNoTransfer 3600
|
||||
TimeoutStalled 210
|
||||
TimeoutIdle 1400
|
||||
|
||||
Umask 022 022
|
||||
Umask 0022 0022
|
||||
AllowOverwrite on
|
||||
|
||||
<Directory />
|
||||
<Limit ALL>
|
||||
DenyAll
|
||||
</Limit>
|
||||
</Directory>
|
||||
</Global>
|
||||
Reference in New Issue
Block a user