forked from proftpd/proftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPFTEST.conf.in
47 lines (36 loc) · 1.04 KB
/
PFTEST.conf.in
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
#
# This ProFTPD configuration is intended for unprivileged TESTING ONLY.
# See Step 4 in INSTALL.
#
ServerName "ProFTPD TEST Installation"
ServerType standalone
DefaultServer on
# Use a non-privileged port, rather than the standard ftp port (21).
# The ftpd-data port will be one less.
Port 2021
User %User%
Group %Group%
# These must be absolute paths.
AuthUserFile %TestDir%/PFTEST.passwd
AuthGroupFile %TestDir%/PFTEST.group
PidFile %TestDir%/PFTEST.pid
ScoreboardFile %TestDir%/PFTEST.score
SystemLog %TestDir%/PFTEST.syslog
TransferLog %TestDir%/PFTEST.xferlog
# Disable some checks.
RequireValidShell off
UseFtpUsers off
UseReverseDNS off
WtmpLog off
<IfModule mod_ident.c>
IdentLookups off
</IfModule>
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes to 5.
MaxInstances 5
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>