docker-ftps/rootfs/etc/proftpd/conf.d/custom.conf

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-05-17 22:41:50 +00:00
AuthUserFile /auth/passwd
RequireValidShell off
ScoreBoardFile /run/proftpd/scoreboard
AllowOverwrite on
2020-08-12 11:52:28 +00:00
AllowStoreRestart On
AllowRetrieveRestart On
2019-05-17 22:41:50 +00:00
WtmpLog off
UseReverseDNS off
DefaultRoot ~
2019-05-17 23:20:52 +00:00
<IfModule mod_tls.c>
TLSEngine on
TLSVerifyClient off
TLSRenegotiate none
2021-11-03 08:25:54 +00:00
TLSProtocol TLSv1.2 TLSv1.3
2019-05-17 23:20:52 +00:00
TLSOptions NoSessionReuseRequired AllowClientRenegotiations
TLSRequired on
</IfModule>
2020-08-12 14:07:38 +00:00
<IfModule mod_delay.c>
DelayOnEvent FailedLogin 5s
DelayTable /run/proftpd/proftpd.delay
</IfModule>
2024-02-11 20:09:40 +00:00
<IfModule mod_deflate.c>
DeflateEngine on
</IfModule>
<IfModule mod_sql.c>
<IfModule mod_sql_sqlite.c>
SQLBackend sqlite3
SQLConnectInfo /auth/ftpd.db
SQLEngine On
SQLAuthenticate users
SQLAuthTypes OpenSSL Crypt
SQLUserInfo users userid passwd uid gid homedir shell
SQLGroupInfo groups groupname gid members
SQLNamedQuery last_accessed UPDATE "last_accessed = DATETIME('now') WHERE userid='%u'" users
SQLLog PASS last_accessed
SQLMinId 33
SQLDefaultUID 33
SQLDefaultGID 33
RequireValidShell off
</IfModule>
</IfModule>
2020-08-12 14:07:38 +00:00
Include /etc/proftpd/custom.conf.d/