source: install/scripts/etc/proftpd.conf @ 557

Revision 557, 2.3 KB checked in by anarcat, 7 years ago (diff)

[project @ alternc: changeset 2005-03-06 10:43:24 by jerome]
Activation de la limitation de la bande passante

Original author: jerome
Date: 2005-03-06 10:43:24

Line 
1#
2# Fichier de configuration de ProFTPd pour AlternC
3# $Id: proftpd.conf,v 1.9 2005/03/06 10:43:24 jerome Exp $
4#
5# %%warning_message%%
6# version SARGE
7
8ServerName                      "%%hosting%%"
9ServerIdent                     on "FTP Server Ready"
10ServerType                      standalone
11DeferWelcome                    on
12
13ShowSymlinks                    on
14MultilineRFC2228                on
15DefaultServer                   on
16AllowOverwrite                  on
17AllowStoreRestart               on
18DefaultRoot                     ~
19UseReverseDNS                   off
20IdentLookups                    off
21
22
23TimeoutNoTransfer               600
24TimeoutStalled                  600
25TimeoutIdle                     1200
26
27DisplayLogin                    /etc/welcome.msg
28DisplayFirstChdir               .message
29
30ListOptions                     "-al"
31
32DenyFilter                      \*.*/
33Port                            21
34MaxInstances                    30
35User                            nobody
36Group                           nogroup
37RequireValidShell               off
38
39<Directory /*>
40        DenyAll
41</Directory>
42
43<Directory /var/alternc/html>
44  Umask                         022  022
45  AllowOverwrite                on
46# Limit the allowed bandwith for each connexion, prevent ressource hold-up ;)
47RateReadBPS   65535
48RateWriteBPS  65535
49
50  AllowAll
51</Directory>
52
53MaxClientsPerHost 6 "Sorry, no more than 6 simultaneous connections"
54AccessGrantMsg  "Welcome on AlternC, %u"
55
56# database@host:port login password
57SQLConnectInfo                  %%dbname%%@%%dbhost%%:3306 %%dbuser%% %%dbpwd%%
58# Table :
59SQLUserInfo ftpusers name password 33 uid homedir NULL
60
61# Use mysql PASSWORD function
62SQLAuthTypes                    Plaintext
63# Only mysql authentication enabled
64SQLAuthenticate users
65AuthPAM                         off
66# Default : www-data.www-data
67SQLDefaultGID                   33
68SQLDefaultUID                   33
69# Do NOT create the homedir if it does not exist
70SQLHomedirOnDemand              off
71# Minimum ID allowed to log in. Other users should use SFTP
72SQLMinID                        33
73
74# We don't use Unix rights managment on AlternC, so let's hide real owner/group/rights
75DirFakeGroup    on foo
76DirFakeMode     0640
77DirFakeUser     on bar
78
79# And chmod command is forbidden too :
80<Limit SITE_CHMOD>
81        DenyAll
82</Limit>
83
Note: See TracBrowser for help on using the repository browser.