-
Notifications
You must be signed in to change notification settings - Fork 11
/
proftpd.conf
104 lines (88 loc) · 2.2 KB
/
proftpd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
UseIPv6 off
ServerName ""
ServerType standalone
MultilineRFC2228 on
DefaultServer on
DefaultAddress 127.0.0.1
Port 21
PassivePorts 49152 49407
MaxInstances 100
<IfDefine VERBOSE=ON>
SystemLog /var/log/proftpd/proftpd.log
</IfDefine>
# Enable server address masquerading if required
<IfDefine USE_MASQ_ADDR>
MasqueradeAddress %{env:MASQ_ADDR}
</IfDefine>
# debug
#TraceLog /var/log/proftpd/trace.log
#Trace sql.passwd:20
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
<IfDefine VERBOSE=ON>
ControlsLog /var/log/proftpd/controls.log
</IfDefine>
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
<Global>
DeferWelcome off
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
DefaultRoot ~
RequireValidShell off
User proftpd
Group proftpd
Umask 022 022
AllowOverwrite on
AuthOrder mod_sql.c
CreateHome on dirmode 755
<IfDefine VERBOSE=ON>
TransferLog /var/log/proftpd/xferlog.log
</IfDefine>
<IfDefine !VERBOSE>
TransferLog none
</IfDefine>
WtmpLog off
AllowForeignAddress on
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
<IfModule mod_xfer.c>
MaxStoreFileSize 2 Gb
HiddenStores on
DeleteAbortedStores on
</IfModule mod_xfer.c>
<Directory /srv/ftp/*/>
Umask 0077
<Limit MKD XMKD RMD XRMD SITE_CHMOD>
DenyUser !ftpadmin
</Limit>
</Directory>
</Global>
Include /etc/proftpd/sql.conf
<IfDefine MOD_TLS=ON>
Include /etc/proftpd/tls.conf
</IfDefine>
<IfDefine MOD_EXEC=ON>
Include /etc/proftpd/exec/exec.conf
</IfDefine>
<IfDefine MOD_VROOT=ON>
Include /etc/proftpd/vroot.conf
</IfDefine>