-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5dc09ea
commit 31c92a3
Showing
14 changed files
with
627 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Configuration for pure-ftpd | ||
# (this file is sourced by /bin/sh, edit accordingly) | ||
|
||
# STANDALONE_OR_INETD | ||
# valid values are "standalone" and "inetd". | ||
# Any change here overrides the setting in debconf. | ||
STANDALONE_OR_INETD=standalone | ||
|
||
# VIRTUALCHROOT: | ||
# whether to use binary with virtualchroot support | ||
# valid values are "true" or "false" | ||
# Any change here overrides the setting in debconf. | ||
VIRTUALCHROOT=false | ||
|
||
# UPLOADSCRIPT: if this is set and the daemon is run in standalone mode, | ||
# pure-uploadscript will also be run to spawn the program given below | ||
# for handling uploads. see /usr/share/doc/pure-ftpd/README.gz or | ||
# pure-uploadscript(8) | ||
|
||
# example: UPLOADSCRIPT=/usr/local/sbin/uploadhandler.pl | ||
UPLOADSCRIPT= | ||
|
||
# if set, pure-uploadscript will spawn running as the | ||
# given uid and gid | ||
UPLOADUID= | ||
UPLOADGID= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
clf:/var/log/pure-ftpd/transfer.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/etc/pure-ftpd/pureftpd.pdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
HIGH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
ChrootEveryone yes | ||
BrokenClientsCompatibility no | ||
MaxClientsNumber 50 | ||
Daemonize yes | ||
MaxClientsPerIP 8 | ||
VerboseLog no | ||
DisplayDotFiles yes | ||
AnonymousOnly no | ||
NoAnonymous no | ||
SyslogFacility ftp | ||
DontResolve yes | ||
MaxIdleTime 15 | ||
|
||
# MySQLConfigFile /etc/pureftpd-mysql.conf | ||
# PureDB /etc/pureftpd.pdb | ||
PureDB /etc/pure-ftpd/pureftpd.pdb | ||
|
||
# ExtAuth /var/run/ftpd.sock | ||
|
||
# PAMAuthentication yes | ||
UnixAuthentication yes | ||
|
||
LimitRecursion 10000 8 | ||
AnonymousCanCreateDirs no | ||
MaxLoad 4 | ||
|
||
PassivePortRange 45000 45099 | ||
ForcePassiveIP 52.221.186.193 | ||
|
||
# AntiWarez yes | ||
|
||
# Bind 127.0.0.1,21 | ||
|
||
Umask 133:022 | ||
MinUID 100 | ||
AllowUserFXP no | ||
AllowAnonymousFXP no | ||
ProhibitDotFilesWrite no | ||
ProhibitDotFilesRead no | ||
AutoRename no | ||
AnonymousCantUpload no | ||
# TrustedIP 10.1.1.1 | ||
|
||
# CreateHomeDir yes | ||
# Quota 1000:10 | ||
|
||
# PIDFile /var/run/pure-ftpd.pid | ||
PIDFile /var/run/pure-ftpd/pure-ftpd.pid | ||
|
||
# CallUploadScript yes | ||
|
||
MaxDiskUsage 90 | ||
CustomerProof yes | ||
|
||
IPV4Only no | ||
|
||
TLS 2 | ||
TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:!SSLv3 | ||
CertFile /etc/ssl/certs/ssl-cert-snakeoil.pem | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Configuration file for directory aliases | ||
# | ||
# To define alias/directory pairs, use alternating lines of alias | ||
# and directory (optional blank lines are allowed) like that: | ||
# | ||
# pictures | ||
# /usr/misc/pictures | ||
# | ||
# sources | ||
# /usr/src |
Oops, something went wrong.