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