proftpd/proftpd.conf

changeset 617
469942d27d86
parent 616
1cbb05665045
child 618
ad6720734733
     1.1 --- a/proftpd/proftpd.conf	Wed Feb 08 20:18:30 2012 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,105 +0,0 @@
     1.4 -##
     1.5 -##  proftpd.conf -- ProFTPD Configuration
     1.6 -##
     1.7 -
     1.8 -ServerType            standalone
     1.9 -DefaultServer         off
    1.10 -SocketBindTight       on
    1.11 -Port                  none
    1.12 -
    1.13 -MaxInstances          40
    1.14 -User                  @l_nusr@
    1.15 -Group                 @l_ngrp@
    1.16 -Umask                 022 022
    1.17 -
    1.18 -UseReverseDNS         off
    1.19 -MultilineRFC2228      on
    1.20 -ShowSymlinks          on
    1.21 -AllowOverwrite        on
    1.22 -MaxLoginAttempts      2
    1.23 -RequireValidShell     yes
    1.24 -ListOptions           "-l"
    1.25 -
    1.26 -@l_pam@AuthPAM               on
    1.27 -@l_pam@AuthPAMConfig         proftpd
    1.28 -@l_pam@AuthPAMAuthoritative  off
    1.29 -#PersistentPasswd      off
    1.30 -
    1.31 -CommandBufferSize     1023
    1.32 -TimeoutLogin          120
    1.33 -TimeoutNoTransfer     600
    1.34 -TimeoutStalled        600
    1.35 -TimeoutIdle           1200
    1.36 -
    1.37 -LogFormat             default "%h %l %u %t \"%r\" %s %b"
    1.38 -LogFormat             auth    "%v [%P] %h %t \"%r\" %s"
    1.39 -LogFormat             write   "%h %l %u %t \"%r\" %s %b"
    1.40 -SystemLog             @l_prefix@/var/proftpd/proftpd.system.log
    1.41 -ScoreboardFile        @l_prefix@/var/proftpd/proftpd.scoreboard
    1.42 -
    1.43 -<Global>
    1.44 -    ExtendedLog       @l_prefix@/var/proftpd/proftpd.access.log WRITE,READ write
    1.45 -    ExtendedLog       @l_prefix@/var/proftpd/proftpd.auth.log   AUTH       auth
    1.46 -    TransferLog       @l_prefix@/var/proftpd/proftpd.xfer.log
    1.47 -    IdentLookups      off
    1.48 -    DeferWelcome      off
    1.49 -    DisplayGoAway     @l_prefix@/etc/proftpd/proftpd.msg.goaway
    1.50 -    DisplayLogin      @l_prefix@/etc/proftpd/proftpd.msg.login
    1.51 -    DisplayChdir      .message true
    1.52 -    DisplayReadme     README*
    1.53 -    WTmpLog           off
    1.54 -</Global>
    1.55 -
    1.56 -<Directory /*>
    1.57 -    AllowOverwrite    on
    1.58 -</Directory>
    1.59 -
    1.60 -#   sample virtual Anonymous-FTP only server
    1.61 -<VirtualHost 127.0.0.1>
    1.62 -    Port              21
    1.63 -    PassivePorts      49152 65535
    1.64 -    ServerIdent       on "localhost FTP Server (ProFTPD) ready."
    1.65 -    ServerAdmin       root@localhost
    1.66 -    MaxClients        20
    1.67 -
    1.68 -    #   allow anonymous logins only
    1.69 -    <Limit LOGIN>
    1.70 -        DenyAll
    1.71 -    </Limit>
    1.72 -
    1.73 -    #   Anonymous-FTP
    1.74 -    <Anonymous @l_prefix@/share/proftpd>
    1.75 -        User              @l_nusr@
    1.76 -        Group             @l_ngrp@
    1.77 -        UserAlias         anonymous @l_nusr@
    1.78 -        UserAlias         ftp @l_nusr@
    1.79 -        RootLogin         off
    1.80 -        UseFtpUsers       off
    1.81 -        MaxClients        10 "Sorry, max %m users allowed -- try again later, please."
    1.82 -        RequireValidShell off
    1.83 -        DisplayGoAway     /.msg.goaway
    1.84 -        DisplayLogin      /.msg.login
    1.85 -        <Limit LOGIN>
    1.86 -            AllowAll
    1.87 -        </Limit>
    1.88 -        <Limit WRITE>
    1.89 -            DenyAll
    1.90 -        </Limit>
    1.91 -        <Limit READ DIRS>
    1.92 -            IgnoreHidden on
    1.93 -        </Limit>
    1.94 -        #   optionally allow uploads to a particular directory
    1.95 -        #<Directory incoming/*>
    1.96 -        #    <Limit STOR>
    1.97 -        #        AllowAll
    1.98 -        #    </Limit>
    1.99 -        #    <Limit WRITE DIRS READ>
   1.100 -        #        DenyAll
   1.101 -        #    </Limit>
   1.102 -        #    <Limit CWD XCWD CDUP>
   1.103 -        #        AllowAll
   1.104 -        #    </Limit>
   1.105 -        #</Directory>
   1.106 -    </Anonymous>
   1.107 -</VirtualHost>
   1.108 -

mercurial