Changeset 413
- Timestamp:
- 03/13/07 14:29:18
(2 years ago)
- Author:
- rats
- Message:
proftpd: fixed errors in config files
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r412 |
r413 |
|
| 8 | 8 | Include /etc/proftpd/modules.conf |
|---|
| 9 | 9 | |
|---|
| 10 | | ServerName "{HOST_NAME}" |
|---|
| 11 | | ServerType standalone |
|---|
| | 10 | ServerName "{HOST_NAME}" |
|---|
| | 11 | ServerType standalone |
|---|
| 12 | 12 | DeferWelcome off |
|---|
| 13 | 13 | |
|---|
| … | … | |
| 26 | 26 | TimeoutNoTransfer 600 |
|---|
| 27 | 27 | TimeoutStalled 600 |
|---|
| 28 | | TimeoutIdle 1200 |
|---|
| | 28 | TimeoutIdle 1200 |
|---|
| 29 | 29 | |
|---|
| 30 | | DisplayLogin welcome.msg |
|---|
| | 30 | DisplayLogin welcome.msg |
|---|
| 31 | 31 | DisplayFirstChdir message |
|---|
| 32 | 32 | |
|---|
| 33 | 33 | #LsDefaultOptions "-l" |
|---|
| 34 | 34 | |
|---|
| 35 | | DenyFilter \*.*/ |
|---|
| | 35 | DenyFilter \*.*/ |
|---|
| 36 | 36 | |
|---|
| 37 | | DefaultRoot ~ |
|---|
| | 37 | DefaultRoot ~ |
|---|
| 38 | 38 | |
|---|
| 39 | 39 | # Uncomment this if you are using NIS or LDAP to retrieve passwords: |
|---|
| … | … | |
| 42 | 42 | # Port 21 is the standard FTP port. |
|---|
| 43 | 43 | |
|---|
| 44 | | Port 21 |
|---|
| | 44 | Port 21 |
|---|
| 45 | 45 | |
|---|
| 46 | 46 | # To prevent DoS attacks, set the maximum number of child processes |
|---|
| … | … | |
| 55 | 55 | # Set the user and group that the server normally runs at. |
|---|
| 56 | 56 | |
|---|
| 57 | | User nobody |
|---|
| 58 | | Group nogroup |
|---|
| | 57 | User nobody |
|---|
| | 58 | Group nogroup |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | # Normally, we want files to be overwriteable. |
|---|
| … | … | |
| 63 | 63 | # Umask 022 is a good standard umask to prevent new files and dirs |
|---|
| 64 | 64 | # (second parm) from being group and world writable. |
|---|
| 65 | | Umask 022 022 |
|---|
| | 65 | Umask 022 022 |
|---|
| 66 | 66 | |
|---|
| 67 | 67 | AllowOverwrite on |
|---|
| … | … | |
| 75 | 75 | |
|---|
| 76 | 76 | <Global> |
|---|
| 77 | | RootLogin off |
|---|
| | 77 | RootLogin off |
|---|
| 78 | 78 | # proFTPd >= 1.3: change log dirs to /var/log/proftpd |
|---|
| 79 | | TransferLog /var/log/xferlog |
|---|
| 80 | | ExtendedLog /var/log/ftp_traff.log read,write traff |
|---|
| 81 | | PathDenyFilter "\.quota$" |
|---|
| | 79 | TransferLog /var/log/proftpd/ |
|---|
| | 80 | ExtendedLog /var/log/proftpd/ftp_traff.log read,write traff |
|---|
| | 81 | PathDenyFilter "\.quota$" |
|---|
| 82 | 82 | </Global> |
|---|
| 83 | 83 | |
|---|
| 84 | 84 | <IfModule mod_delay.c> |
|---|
| 85 | | DelayEngine off |
|---|
| | 85 | DelayEngine off |
|---|
| 86 | 86 | </IfModule> |
|---|
| 87 | 87 | |
|---|
| … | … | |
| 89 | 89 | # VHCS2 Managment; |
|---|
| 90 | 90 | # |
|---|
| 91 | | SQLBackend mysql # enable for proFTPd >= 1.3 |
|---|
| | 91 | SQLBackend mysql # enable for proFTPd >= 1.3 |
|---|
| 92 | 92 | SQLAuthTypes Crypt |
|---|
| 93 | 93 | SQLAuthenticate on |
|---|
| … | … | |
| 124 | 124 | # TLSRSACertificateFile /etc/proftpd/ssl.crt # SSL certfile |
|---|
| 125 | 125 | # TLSRSACertificateKeyFile /etc/proftpd/ssl.key # SSL keyfile |
|---|
| 126 | | # TLSVerifyClient of f # client verification |
|---|
| | 126 | # TLSVerifyClient off # client verification |
|---|
| 127 | 127 | #</IfModule> |
|---|
| r405 |
r413 |
|
| 8 | 8 | Include /etc/proftpd/modules.conf |
|---|
| 9 | 9 | |
|---|
| 10 | | ServerName "{HOST_NAME}" |
|---|
| 11 | | ServerType standalone |
|---|
| | 10 | ServerName "{HOST_NAME}" |
|---|
| | 11 | ServerType standalone |
|---|
| 12 | 12 | DeferWelcome off |
|---|
| 13 | 13 | |
|---|
| … | … | |
| 26 | 26 | TimeoutNoTransfer 600 |
|---|
| 27 | 27 | TimeoutStalled 600 |
|---|
| 28 | | TimeoutIdle 1200 |
|---|
| | 28 | TimeoutIdle 1200 |
|---|
| 29 | 29 | |
|---|
| 30 | | DisplayLogin welcome.msg |
|---|
| | 30 | DisplayLogin welcome.msg |
|---|
| 31 | 31 | DisplayFirstChdir message |
|---|
| 32 | 32 | |
|---|
| 33 | 33 | #LsDefaultOptions "-l" |
|---|
| 34 | 34 | |
|---|
| 35 | | DenyFilter \*.*/ |
|---|
| | 35 | DenyFilter \*.*/ |
|---|
| 36 | 36 | |
|---|
| 37 | | DefaultRoot ~ |
|---|
| | 37 | DefaultRoot ~ |
|---|
| 38 | 38 | |
|---|
| 39 | 39 | # Uncomment this if you are using NIS or LDAP to retrieve passwords: |
|---|
| … | … | |
| 42 | 42 | # Port 21 is the standard FTP port. |
|---|
| 43 | 43 | |
|---|
| 44 | | Port 21 |
|---|
| | 44 | Port 21 |
|---|
| 45 | 45 | |
|---|
| 46 | 46 | # To prevent DoS attacks, set the maximum number of child processes |
|---|
| … | … | |
| 55 | 55 | # Set the user and group that the server normally runs at. |
|---|
| 56 | 56 | |
|---|
| 57 | | User nobody |
|---|
| 58 | | Group nogroup |
|---|
| | 57 | User nobody |
|---|
| | 58 | Group nogroup |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | # Normally, we want files to be overwriteable. |
|---|
| … | … | |
| 63 | 63 | # Umask 022 is a good standard umask to prevent new files and dirs |
|---|
| 64 | 64 | # (second parm) from being group and world writable. |
|---|
| 65 | | Umask 022 022 |
|---|
| | 65 | Umask 022 022 |
|---|
| 66 | 66 | |
|---|
| 67 | 67 | AllowOverwrite on |
|---|
| … | … | |
| 75 | 75 | |
|---|
| 76 | 76 | <Global> |
|---|
| 77 | | RootLogin off |
|---|
| | 77 | RootLogin off |
|---|
| 78 | 78 | # proFTPd >= 1.3: change log dirs to /var/log/proftpd |
|---|
| 79 | | TransferLog /var/log/xferlog |
|---|
| 80 | | ExtendedLog /var/log/ftp_traff.log read,write traff |
|---|
| 81 | | PathDenyFilter "\.quota$" |
|---|
| | 79 | TransferLog /var/log/proftpd/ |
|---|
| | 80 | ExtendedLog /var/log/proftpd/ftp_traff.log read,write traff |
|---|
| | 81 | PathDenyFilter "\.quota$" |
|---|
| 82 | 82 | </Global> |
|---|
| 83 | 83 | |
|---|
| 84 | 84 | <IfModule mod_delay.c> |
|---|
| 85 | | DelayEngine off |
|---|
| | 85 | DelayEngine off |
|---|
| 86 | 86 | </IfModule> |
|---|
| 87 | 87 | |
|---|
| … | … | |
| 89 | 89 | # VHCS2 Managment; |
|---|
| 90 | 90 | # |
|---|
| 91 | | SQLBackend mysql # enable for proFTPd >= 1.3 |
|---|
| | 91 | SQLBackend mysql # enable for proFTPd >= 1.3 |
|---|
| 92 | 92 | SQLAuthTypes Crypt |
|---|
| 93 | 93 | SQLAuthenticate on |
|---|
| … | … | |
| 124 | 124 | # TLSRSACertificateFile /etc/proftpd/ssl.crt # SSL certfile |
|---|
| 125 | 125 | # TLSRSACertificateKeyFile /etc/proftpd/ssl.key # SSL keyfile |
|---|
| 126 | | # TLSVerifyClient of f # client verification |
|---|
| | 126 | # TLSVerifyClient off # client verification |
|---|
| 127 | 127 | #</IfModule> |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>