Changeset 413

Show
Ignore:
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
  • trunk/configs/dists/ubuntu/proftpd/proftpd3.conf

    r412 r413  
    88Include /etc/proftpd/modules.conf 
    99 
    10 ServerName                      "{HOST_NAME}" 
    11 ServerType                      standalone 
     10ServerName                             "{HOST_NAME}" 
     11ServerType                             standalone 
    1212DeferWelcome                    off 
    1313 
     
    2626TimeoutNoTransfer               600 
    2727TimeoutStalled                  600 
    28 TimeoutIdle                     1200 
     28TimeoutIdle                            1200 
    2929 
    30 DisplayLogin                    welcome.msg 
     30DisplayLogin                   welcome.msg 
    3131DisplayFirstChdir               message 
    3232 
    3333#LsDefaultOptions               "-l" 
    3434 
    35 DenyFilter                      \*.*/ 
     35DenyFilter                             \*.*/ 
    3636 
    37 DefaultRoot                     
     37DefaultRoot                            
    3838 
    3939# Uncomment this if you are using NIS or LDAP to retrieve passwords: 
     
    4242# Port 21 is the standard FTP port. 
    4343 
    44 Port                            21 
     44Port                                   21 
    4545 
    4646# To prevent DoS attacks, set the maximum number of child processes 
     
    5555# Set the user and group that the server normally runs at. 
    5656 
    57 User                            nobody 
    58 Group                           nogroup 
     57User                                   nobody 
     58Group                                  nogroup 
    5959 
    6060# Normally, we want files to be overwriteable. 
     
    6363  # Umask 022 is a good standard umask to prevent new files and dirs 
    6464  # (second parm) from being group and world writable. 
    65   Umask                         022  022 
     65  Umask                                022     022 
    6666 
    6767  AllowOverwrite                on 
     
    7575 
    7676<Global> 
    77   RootLogin                     off 
     77  RootLogin                            off 
    7878  # 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$" 
    8282</Global> 
    8383 
    8484<IfModule mod_delay.c> 
    85         DelayEngine             off 
     85        DelayEngine                    off 
    8686</IfModule> 
    8787 
     
    8989# VHCS2 Managment; 
    9090# 
    91 SQLBackend                      mysql         # enable for proFTPd >= 1.3 
     91SQLBackend                             mysql          # enable for proFTPd >= 1.3 
    9292SQLAuthTypes                    Crypt 
    9393SQLAuthenticate                 on 
     
    124124#  TLSRSACertificateFile        /etc/proftpd/ssl.crt                            # SSL certfile 
    125125#  TLSRSACertificateKeyFile     /etc/proftpd/ssl.key                            # SSL keyfile 
    126 #  TLSVerifyClient                      of                     f                                              # client verification 
     126#  TLSVerifyClient                      off                                                                   # client verification 
    127127#</IfModule> 
  • trunk/configs/proftpd/proftpd3.conf

    r405 r413  
    88Include /etc/proftpd/modules.conf 
    99 
    10 ServerName                      "{HOST_NAME}" 
    11 ServerType                      standalone 
     10ServerName                             "{HOST_NAME}" 
     11ServerType                             standalone 
    1212DeferWelcome                    off 
    1313 
     
    2626TimeoutNoTransfer               600 
    2727TimeoutStalled                  600 
    28 TimeoutIdle                     1200 
     28TimeoutIdle                            1200 
    2929 
    30 DisplayLogin                    welcome.msg 
     30DisplayLogin                   welcome.msg 
    3131DisplayFirstChdir               message 
    3232 
    3333#LsDefaultOptions               "-l" 
    3434 
    35 DenyFilter                      \*.*/ 
     35DenyFilter                             \*.*/ 
    3636 
    37 DefaultRoot                     
     37DefaultRoot                            
    3838 
    3939# Uncomment this if you are using NIS or LDAP to retrieve passwords: 
     
    4242# Port 21 is the standard FTP port. 
    4343 
    44 Port                            21 
     44Port                                   21 
    4545 
    4646# To prevent DoS attacks, set the maximum number of child processes 
     
    5555# Set the user and group that the server normally runs at. 
    5656 
    57 User                            nobody 
    58 Group                           nogroup 
     57User                                   nobody 
     58Group                                  nogroup 
    5959 
    6060# Normally, we want files to be overwriteable. 
     
    6363  # Umask 022 is a good standard umask to prevent new files and dirs 
    6464  # (second parm) from being group and world writable. 
    65   Umask                         022  022 
     65  Umask                                022     022 
    6666 
    6767  AllowOverwrite                on 
     
    7575 
    7676<Global> 
    77   RootLogin                     off 
     77  RootLogin                            off 
    7878  # 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$" 
    8282</Global> 
    8383 
    8484<IfModule mod_delay.c> 
    85         DelayEngine             off 
     85        DelayEngine                    off 
    8686</IfModule> 
    8787 
     
    8989# VHCS2 Managment; 
    9090# 
    91 SQLBackend                      mysql         # enable for proFTPd >= 1.3 
     91SQLBackend                             mysql          # enable for proFTPd >= 1.3 
    9292SQLAuthTypes                    Crypt 
    9393SQLAuthenticate                 on 
     
    124124#  TLSRSACertificateFile        /etc/proftpd/ssl.crt                            # SSL certfile 
    125125#  TLSRSACertificateKeyFile     /etc/proftpd/ssl.key                            # SSL keyfile 
    126 #  TLSVerifyClient                      of                     f                                              # client verification 
     126#  TLSVerifyClient                      off                                                                   # client verification 
    127127#</IfModule>