Magellan Linux

Contents of /trunk/proftpd/modules.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 991 - (show annotations) (download)
Wed Mar 3 19:08:46 2010 UTC (14 years, 2 months ago) by niro
File size: 6099 byte(s)
files and updates for proftpd-1.3.3 with optional mysql, ldap, tls and anonymous support

1 # $Header: /root/magellan-cvs/src/proftpd/modules.conf,v 1.4 2010-03-03 19:08:46 niro Exp $
2 #
3 # This file is used to manage DSO modules and features.
4 #
5
6
7 # This is the directory where DSO modules reside
8 ModulePath @@modulepath@@
9
10
11 # Allow only user root to load and unload modules, but allow everyone
12 # to see which modules have been loaded
13 ModuleControlsACLs insmod,rmmod allow user root
14 ModuleControlsACLs lsmod allow user *
15
16
17 # Administrative control actions for the ftpdctl program
18 # (http://www.proftpd.org/docs/contrib/mod_ctrls_admin.html)
19 LoadModule mod_ctrls_admin.c
20
21 # Quota support (http://www.proftpd.org/docs/contrib/mod_quotatab.html)
22 LoadModule mod_quotatab.c
23
24 # File-specific "driver" for storing quota table information in files
25 # (http://www.proftpd.org/docs/contrib/mod_quotatab_file.html)
26 LoadModule mod_quotatab_file.c
27
28 # Execute external programs or scripts at various points in the process
29 # of handling FTP commands
30 # (http://www.castaglia.org/proftpd/modules/mod_exec.html)
31 LoadModule mod_exec.c
32
33 # Limit downloads to a multiple of upload volume (see README.ratio)
34 LoadModule mod_ratio.c
35
36 # Rewrite FTP commands sent by clients on-the-fly,
37 # using regular expression matching and substitution
38 # (http://www.proftpd.org/docs/contrib/mod_rewrite.html)
39 LoadModule mod_rewrite.c
40
41 # Configure server availability based on system load
42 # (http://www.proftpd.org/docs/contrib/mod_load.html)
43 LoadModule mod_load.c
44
45 # Provide data transfer rate "shaping" across the entire server
46 # (http://www.castaglia.org/proftpd/modules/mod_shaper.html)
47 LoadModule mod_shaper.c
48
49 # Support for miscellaneous SITE commands such as SITE MKDIR, SITE SYMLINK,
50 # and SITE UTIME (http://www.proftpd.org/docs/contrib/mod_site_misc.html)
51 LoadModule mod_site_misc.c
52
53 # Use the /etc/hosts.allow and /etc/hosts.deny files, or other allow/deny
54 # files, for IP-based access control
55 # (http://www.proftpd.org/docs/contrib/mod_wrap.html)
56 LoadModule mod_wrap.c
57
58 # Use the /etc/hosts.allow and /etc/hosts.deny files, or other allow/deny
59 # files, as well as SQL-based access rules, for IP-based access control
60 # (http://www.proftpd.org/docs/contrib/mod_wrap2.html)
61 LoadModule mod_wrap2.c
62
63 # Support module for mod_wrap2 that handles access rules stored in specially
64 # formatted files on disk
65 # (http://www.proftpd.org/docs/contrib/mod_wrap2_file.html)
66 <IfModule mod_wrap2.c>
67 LoadModule mod_wrap2_file.c
68 </IfModule>
69
70
71 # ACL support
72 # Enable this with PROFTPD_OPTIONS=-DACL in /etc/conf.d/proftpd
73 <IfDefine ACL>
74 # Support for POSIX ACLs
75 # (http://www.proftpd.org/docs/modules/mod_facl.html)
76 LoadModule mod_facl.c
77 </IfDefine>
78
79
80 # Dynamic Ban List support
81 # Enable this with PROFTPD_OPTIONS=-DBAN in /etc/conf.d/proftpd
82 <IfDefine BAN>
83 # Dynamic ban lists (http://www.proftpd.org/docs/contrib/mod_ban.html)
84 LoadModule mod_ban.c
85 </IfDefine>
86
87
88 # LDAP support (requires the '>=net-ftp/proftpd-ldap' package)
89 # Enable this with PROFTPD_OPTIONS=-DLDAP in /etc/conf.d/proftpd
90 <IfDefine LDAP>
91 # LDAP support
92 # (http://www.proftpd.org/docs/directives/linked/config_ref_mod_ldap.html)
93 LoadModule mod_ldap.c
94
95 # LDAP quota support (requires proftpd-ldap package)
96 # (http://www.proftpd.org/docs/contrib/mod_quotatab_ldap.html)
97 LoadModule mod_quotatab_ldap.c
98 </IfDefine>
99
100
101 # Radius support
102 # Enable this with PROFTPD_OPTIONS=-DRADIUS in /etc/conf.d/proftpd
103 <IfDefine RADIUS>
104 # Support for authenticating users using the RADIUS protocol
105 # (http://www.proftpd.org/docs/contrib/mod_radius.html)
106 LoadModule mod_radius.c
107
108 # Retrieve quota limit table information from a RADIUS server
109 # (http://www.proftpd.org/docs/contrib/mod_quotatab_radius.html)
110 LoadModule mod_quotatab_radius.c
111 </IfDefine>
112
113
114 # TLS support
115 # Enable this with PROFTPD_OPTIONS=-DTLS in /etc/conf.d/proftpd
116 <IfDefine TLS>
117 # TLS support (http://www.castaglia.org/proftpd/modules/mod_tls.html)
118 LoadModule mod_tls.c
119
120 # Provide an external SSL session cache using shared memory
121 # (contrib/mod_tls_shmcache.html)
122 LoadModule mod_tls_shmcache.c
123 </IfDefine>
124
125
126 # Mysql support (requires the 'net-ftp/proftpd-mysql' package)
127 # Enable this with PROFTPD_OPTIONS=-DMYSQL in /etc/conf.d/proftpd
128 <IfDefine MYSQL>
129 # General database support (http://www.proftpd.org/docs/contrib/mod_sql.html)
130 LoadModule mod_sql.c
131
132 # Support for base-64 or hex encoded MD5 and SHA1 passwords from SQL tables
133 # (contrib/mod_sql_passwd.html)
134 LoadModule mod_sql_passwd.c
135
136 # Mysql support
137 # (http://www.proftpd.org/docs/contrib/mod_sql.html)
138 LoadModule mod_sql_mysql.c
139
140 # SQL database "driver" for storing quota table information in SQL tables
141 # (http://www.proftpd.org/docs/contrib/mod_quotatab_sql.html)
142 LoadModule mod_quotatab_sql.c
143
144 <IfModule mod_wrap2.c>
145 # Support module for mod_wrap2 that handles access rules stored in SQL
146 # database tables (http://www.proftpd.org/docs/contrib/mod_wrap2_sql.html)
147 LoadModule mod_wrap2_sql.c
148 </IfModule>
149 </IfDefine>
150
151
152 # SFTP/SCP support
153 # Enable this with PROFTPD_OPTIONS=-DSFTP in /etc/conf.d/proftpd
154 <IfDefine SFTP>
155 # Support for the SSH2, SFTP, and SCP protocols, for secure file transfer over
156 # an SSH2 connection (http://www.castaglia.org/proftpd/modules/mod_sftp.html)
157 LoadModule mod_sftp.c
158
159 # Use PAM to provide a 'keyboard-interactive' SSH2 authentication method for
160 # mod_sftp (http://www.castaglia.org/proftpd/modules/mod_sftp_pam.html)
161 LoadModule mod_sftp_pam.c
162
163 <IfModule mod_sql.c>
164 # Use SQL (via mod_sql) for looking up authorized SSH2 public keys for user
165 # and host based authentication
166 # (http://www.castaglia.org/proftpd/modules/mod_sftp_sql.html)
167 LoadModule mod_sftp_sql.c
168 </IfModule>
169 </IfDefine>
170
171
172 # keep this module the last one!
173 # see: http://www.castaglia.org/proftpd/modules/mod_ifsession.html#Installation
174 #
175 # Provide a flexible way of specifying that certain configuration directives
176 # only apply to certain sessions, based on credentials such as connection
177 # class, user, or group membership
178 # (http://www.proftpd.org/docs/contrib/mod_ifsession.html)
179 LoadModule mod_ifsession.c