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>
|
<Global>
|
||||||
PassivePorts {{ pasv_ports }}
|
# PassivePorts {{ pasv_ports }}
|
||||||
RequireValidShell off
|
RequireValidShell off
|
||||||
MaxInstances {{ max_conns }}
|
|
||||||
{% if allow_symlinks %}
|
{% if allow_symlinks %}
|
||||||
ShowSymlinks on
|
ShowSymlinks on
|
||||||
{% else %}
|
{% else %}
|
||||||
ShowSymlinks off
|
ShowSymlinks off
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
AllowRetrieveRestart on
|
||||||
|
HiddenStores .%P- .frag
|
||||||
|
|
||||||
DisplayLogin WELCOME.msg
|
DisplayLogin /etc/proftpd/WELCOME.txt
|
||||||
DisplayChdir .README.md true
|
DisplayChdir .README.md true
|
||||||
DisplayConnect BANNER.msg
|
DisplayConnect /etc/proftpd/BANNER.txt
|
||||||
DisplayFileTransfer SUCCESS.msg
|
DisplayFileTransfer /etc/proftpd/SUCCESS.txt
|
||||||
|
DisplayReadme /etc/proftpd/ANNOUNCE.md
|
||||||
|
DisplayQuit /etc/proftpd/BYE.txt
|
||||||
|
|
||||||
TimeoutNoTransfer 3600
|
TimeoutNoTransfer 3600
|
||||||
TimeoutStalled 210
|
TimeoutStalled 210
|
||||||
TimeoutIdle 1400
|
TimeoutIdle 1400
|
||||||
|
|
||||||
Umask 022 022
|
Umask 0022 0022
|
||||||
AllowOverwrite on
|
AllowOverwrite on
|
||||||
|
|
||||||
|
<Directory />
|
||||||
|
<Limit ALL>
|
||||||
|
DenyAll
|
||||||
|
</Limit>
|
||||||
|
</Directory>
|
||||||
</Global>
|
</Global>
|
||||||
Reference in New Issue
Block a user