Sat, 24 Mar 2012 21:40:49 +0100
Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.
michael@182 | 1 | ## |
michael@182 | 2 | ## proftpd.conf -- ProFTPD Configuration |
michael@182 | 3 | ## |
michael@182 | 4 | |
michael@182 | 5 | ServerType standalone |
michael@182 | 6 | DefaultServer off |
michael@182 | 7 | SocketBindTight on |
michael@182 | 8 | Port none |
michael@182 | 9 | |
michael@182 | 10 | MaxInstances 40 |
michael@182 | 11 | User @l_nusr@ |
michael@182 | 12 | Group @l_ngrp@ |
michael@182 | 13 | Umask 022 022 |
michael@182 | 14 | |
michael@182 | 15 | UseReverseDNS off |
michael@182 | 16 | MultilineRFC2228 on |
michael@182 | 17 | ShowSymlinks on |
michael@182 | 18 | AllowOverwrite on |
michael@182 | 19 | MaxLoginAttempts 2 |
michael@182 | 20 | RequireValidShell yes |
michael@182 | 21 | ListOptions "-l" |
michael@182 | 22 | |
michael@182 | 23 | @l_pam@AuthPAM on |
michael@182 | 24 | @l_pam@AuthPAMConfig proftpd |
michael@182 | 25 | @l_pam@AuthPAMAuthoritative off |
michael@182 | 26 | #PersistentPasswd off |
michael@182 | 27 | |
michael@182 | 28 | CommandBufferSize 1023 |
michael@182 | 29 | TimeoutLogin 120 |
michael@182 | 30 | TimeoutNoTransfer 600 |
michael@182 | 31 | TimeoutStalled 600 |
michael@182 | 32 | TimeoutIdle 1200 |
michael@182 | 33 | |
michael@182 | 34 | LogFormat default "%h %l %u %t \"%r\" %s %b" |
michael@182 | 35 | LogFormat auth "%v [%P] %h %t \"%r\" %s" |
michael@182 | 36 | LogFormat write "%h %l %u %t \"%r\" %s %b" |
michael@182 | 37 | SystemLog @l_prefix@/var/proftpd/proftpd.system.log |
michael@182 | 38 | ScoreboardFile @l_prefix@/var/proftpd/proftpd.scoreboard |
michael@182 | 39 | |
michael@182 | 40 | <Global> |
michael@182 | 41 | ExtendedLog @l_prefix@/var/proftpd/proftpd.access.log WRITE,READ write |
michael@182 | 42 | ExtendedLog @l_prefix@/var/proftpd/proftpd.auth.log AUTH auth |
michael@182 | 43 | TransferLog @l_prefix@/var/proftpd/proftpd.xfer.log |
michael@182 | 44 | IdentLookups off |
michael@182 | 45 | DeferWelcome off |
michael@182 | 46 | DisplayGoAway @l_prefix@/etc/proftpd/proftpd.msg.goaway |
michael@182 | 47 | DisplayLogin @l_prefix@/etc/proftpd/proftpd.msg.login |
michael@182 | 48 | DisplayChdir .message true |
michael@182 | 49 | DisplayReadme README* |
michael@182 | 50 | WTmpLog off |
michael@182 | 51 | </Global> |
michael@182 | 52 | |
michael@182 | 53 | <Directory /*> |
michael@182 | 54 | AllowOverwrite on |
michael@182 | 55 | </Directory> |
michael@182 | 56 | |
michael@182 | 57 | # sample virtual Anonymous-FTP only server |
michael@182 | 58 | <VirtualHost 127.0.0.1> |
michael@182 | 59 | Port 21 |
michael@182 | 60 | PassivePorts 49152 65535 |
michael@182 | 61 | ServerIdent on "localhost FTP Server (ProFTPD) ready." |
michael@182 | 62 | ServerAdmin root@localhost |
michael@182 | 63 | MaxClients 20 |
michael@182 | 64 | |
michael@182 | 65 | # allow anonymous logins only |
michael@182 | 66 | <Limit LOGIN> |
michael@182 | 67 | DenyAll |
michael@182 | 68 | </Limit> |
michael@182 | 69 | |
michael@182 | 70 | # Anonymous-FTP |
michael@182 | 71 | <Anonymous @l_prefix@/share/proftpd> |
michael@182 | 72 | User @l_nusr@ |
michael@182 | 73 | Group @l_ngrp@ |
michael@182 | 74 | UserAlias anonymous @l_nusr@ |
michael@182 | 75 | UserAlias ftp @l_nusr@ |
michael@182 | 76 | RootLogin off |
michael@182 | 77 | UseFtpUsers off |
michael@182 | 78 | MaxClients 10 "Sorry, max %m users allowed -- try again later, please." |
michael@182 | 79 | RequireValidShell off |
michael@182 | 80 | DisplayGoAway /.msg.goaway |
michael@182 | 81 | DisplayLogin /.msg.login |
michael@182 | 82 | <Limit LOGIN> |
michael@182 | 83 | AllowAll |
michael@182 | 84 | </Limit> |
michael@182 | 85 | <Limit WRITE> |
michael@182 | 86 | DenyAll |
michael@182 | 87 | </Limit> |
michael@182 | 88 | <Limit READ DIRS> |
michael@182 | 89 | IgnoreHidden on |
michael@182 | 90 | </Limit> |
michael@182 | 91 | # optionally allow uploads to a particular directory |
michael@182 | 92 | #<Directory incoming/*> |
michael@182 | 93 | # <Limit STOR> |
michael@182 | 94 | # AllowAll |
michael@182 | 95 | # </Limit> |
michael@182 | 96 | # <Limit WRITE DIRS READ> |
michael@182 | 97 | # DenyAll |
michael@182 | 98 | # </Limit> |
michael@182 | 99 | # <Limit CWD XCWD CDUP> |
michael@182 | 100 | # AllowAll |
michael@182 | 101 | # </Limit> |
michael@182 | 102 | #</Directory> |
michael@182 | 103 | </Anonymous> |
michael@182 | 104 | </VirtualHost> |
michael@182 | 105 |