Debian Codegraph @

doc/howto/Modules.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>ProFTPD Modules</title>
5 </head>
6
7 <body bgcolor=white>
8
9 <hr>
10 <center><h2><b>ProFTPD Modules</b></h2></center>
11 <hr>
12
13 <p>
14 <b>Modules</b>
15 ProFTPD uses APIs and a build system capable of including plugins, or
16 <em>modules</em>, to enable new functionality or to enhance existing behavior.
17
18 <p>
19 <b>Default Modules</b>
20 The following modules are <i>always</i> included in a ProFTPD build. The
21 source code for these modules resides in the <code>modules/</code> directory.
22
23 <p>
24 <table border= summary="Default Modules">
25 <tr>
26 <td><b>&nbsp;Module&nbsp;</b></td>
27 <td><b>&nbsp;Description&nbsp;</b></td>
28 </tr>
29
30 <tr>
31 <td>&nbsp;<code>mod_auth</code>&nbsp;</td>
32 <td>&nbsp;Implements FTP authentication commands: <code>USER</code>, <code>PASS</code>, <code>ACCT</code>, <code>REIN</code>&nbsp;</td>
33 </tr>
34
35 <tr>
36 <td>&nbsp;<code>mod_auth_file</code>&nbsp;</td>
37 <td>&nbsp;Implements file-based authentication&nbsp;</td>
38 </tr>
39
40 <tr>
41 <td>&nbsp;<code>mod_auth_unix</code>&nbsp;</td>
42 <td>&nbsp;Implements traditional Unix-based authentication&nbsp;</td>
43 </tr>
44
45 <tr>
46 <td>&nbsp;<code>mod_core</code>&nbsp;</td>
47 <td>&nbsp;Implements most of the main FTP commands&nbsp;</td>
48 </tr>
49
50 <tr>
51 <td>&nbsp;<code>mod_delay</code>&nbsp;</td>
52 <td>&nbsp;Implements algorithms to protect against information leaks via timing attacks&nbsp;</td>
53 </tr>
54
55 <tr>
56 <td>&nbsp;<code>mod_facts</code>&nbsp;</td>
57 <td>&nbsp;Implements modern FTP commands for directory listing&nbsp;</td>
58 </tr>
59
60 <tr>
61 <td>&nbsp;<code>mod_log</code>&nbsp;</td>
62 <td>&nbsp;Implements main ProFTPD logging&nbsp;</td>
63 </tr>
64
65 <tr>
66 <td>&nbsp;<code>mod_ls</code>&nbsp;</td>
67 <td>&nbsp;Implements legacy FTP commands for directory listing&nbsp;</td>
68 </tr>
69
70 <tr>
71 <td>&nbsp;<code>mod_site</code>&nbsp;</td>
72 <td>&nbsp;Implements FTP <code>SITE</code> commands&nbsp;</td>
73 </tr>
74
75 <tr>
76 <td>&nbsp;<code>mod_xfer</code>&nbsp;</td>
77 <td>&nbsp;Implements FTP file transfer commands: <code>STOR</code>, <code>RETR</code>, <code>APPE</code>, <code>REST</code>, <code>ABOR</code>, <code>TYPE</code>, <code>STRU</code>, <code>MODE</code>, <code>ALLO</code>, <code>SMNT</code>, <code>STOU</code>&nbsp;</td>
78 </tr>
79 </table>
80
81 <p>
82 <b>Conditional Modules</b>
83 These modules will be automatically included by the build system, <i>if</i>
84 it detects OS/platform support for them:
85
86 <p>
87 <table border= summary="Conditional Modules">
88 <tr>
89 <td><b>&nbsp;Module&nbsp;</b></td>
90 <td><b>&nbsp;Description&nbsp;</b></td>
91 </tr>
92
93 <tr>
94 <td>&nbsp;<code>mod_auth_pam</code>&nbsp;</td>
95 <td>&nbsp;Interfaces with the PAM library; see the <a href="./Authentication.html">authentication howto</a> for details&nbsp;</td>
96 </tr>
97
98 <tr>
99 <td>&nbsp;<code>mod_cap</code>&nbsp;</td>
100 <td>&nbsp;Interfaces with Linux capabilities; see the <a href="../modules/mod_cap.html">module docs</a> for more information&nbsp;</td>
101 </tr>
102 </table>
103
104 <p>
105 <b>Special Modules</b>
106 Some modules require <em>special</em> build system support, and thus will
107 be included in the build only when requested using special command-line
108 options to the <code>configure</code> command:
109
110 <p>
111 <table border= summary="Special Modules">
112 <tr>
113 <td><b>&nbsp;Module&nbsp;</b></td>
114 <td><b>&nbsp;Configure Option&nbsp;</b></td>
115 <td><b>&nbsp;Description&nbsp;</b></td>
116 </tr>
117
118 <tr>
119 <td>&nbsp;<code>mod_ctrls</code>&nbsp;</td>
120 <td>&nbsp;<code>--enable-ctrls&nbsp;</td>
121 <td>&nbsp;Enables <a href="./Controls.html">Controls</a> functionality&nbsp;</td>
122 </tr>
123
124 <tr>
125 <td>&nbsp;<code>mod_dso</code>&nbsp;</td>
126 <td>&nbsp;<code>--enable-dso&nbsp;</td>
127 <td>&nbsp;Enables <a href="./DSO.html">dynamically loadable module</a> functionality&nbsp;</td>
128 </tr>
129
130 <tr>
131 <td>&nbsp;<code>mod_facl</code>&nbsp;</td>
132 <td>&nbsp;<code>--enable-facl&nbsp;</td>
133 <td>&nbsp;Enables support for POSIX filesystem ACLs; see the <a href="../modules/mod_facl.html">module docs</a> for more information&nbsp;</td>
134 </tr>
135
136 <tr>
137 <td>&nbsp;<code>mod_lang</code>&nbsp;</td>
138 <td>&nbsp;<code>--enable-nls&nbsp;</td>
139 <td>&nbsp;Enables Natural Language System (NLS) support; see the <a href="../modules/mod_lang.html">module docs</a> for details&nbsp;</td>
140 </tr>
141
142 <tr>
143 <td>&nbsp;<code>mod_memcache</code>&nbsp;</td>
144 <td>&nbsp;<code>--enable-memcache&nbsp;</td>
145 <td>&nbsp;Enables Memcache support; see the <a href="../modules/mod_memcache.html">module docs</a> for details&nbsp;</td>
146 </tr>
147
148 <tr>
149 <td>&nbsp;<code>mod_redis</code>&nbsp;</td>
150 <td>&nbsp;<code>--enable-redis&nbsp;</td>
151 <td>&nbsp;Enables Redis support; see the <a href="../modules/mod_redis.html">module docs</a> for details&nbsp;</td>
152 </tr>
153 </table>
154
155 <p>
156 <b>Contributed Modules</b>
157 And finally, there are the <em>contributed</em> modules. These are modules
158 that were contributed to the ProFTPD Project over the years, developed by the
159 ProFTPD community at large for their various use cases. Many of these became
160 so popular with the community that the ProFTPD Project decided to include (or
161 "bundle") these contributed modules as part of the source distribution, to
162 help ensure that these popular modules would continue to be maintained
163 alongside the core engine code.
164
165 The source code for these modules resides in the <code>contrib/</code>
166 directory.
167
168 <p>
169 <table border= summary="Contrib Modules">
170 <tr>
171 <td><b>&nbsp;Module&nbsp;</b></td>
172 <td><b>&nbsp;Description&nbsp;</b></td>
173 </tr>
174
175 <tr>
176 <td>&nbsp;<code>mod_ban</code>&nbsp;</td>
177 <td>&nbsp;Supports dynamic blocklisting of clients; see <a href="../contrib/mod_ban.html">module doc</a> for details&nbsp;</td>
178 </tr>
179
180 <tr>
181 <td>&nbsp;<code>mod_ctrls_admin</code>&nbsp;</td>
182 <td>&nbsp;Common <code>ftpdctl</code> actions; see <a href="../contrib/mod_ctrls_admin.html">module doc</a> for more info&nbsp;</td>
183 </tr>
184
185 <tr>
186 <td>&nbsp;<code>mod_dynmasq</code>&nbsp;</td>
187 <td>&nbsp;Automatically update configuration for DynDNS-using servers; see <a href="../contrib/mod_dynmasq.html">module doc</a> to learn more&nbsp;</td>
188 </tr>
189
190 <tr>
191 <td>&nbsp;<code>mod_exec</code>&nbsp;</td>
192 <td>&nbsp;Execute scripts based on session events; see <a href="../contrib/mod_exec.html">module doc</a> to learn more&nbsp;</td>
193 </tr>
194
195 <tr>
196 <td>&nbsp;<code>mod_geoip</code>&nbsp;</td>
197 <td>&nbsp;Supports blocking clients by geo information; see <a href="../contrib/mod_geoip.html">module doc</a> for info&nbsp;</td>
198 </tr>
199
200 <tr>
201 <td>&nbsp;<code>mod_ifsession</code>&nbsp;</td>
202 <td>&nbsp;Conditional configurations applied per-user/group/class; see <a href="../contrib/mod_ifsession.html">module doc</a> for details&nbsp;</td>
203 </tr>
204
205 <tr>
206 <td>&nbsp;<code>mod_ldap</code>&nbsp;</td>
207 <td>&nbsp;Support authentication using LDAP; see <a href="../contrib/mod_ldap.html">module doc</a> for details&nbsp;</td>
208 </tr>
209
210 <tr>
211 <td>&nbsp;<code>mod_log_forensic</code>&nbsp;</td>
212 <td>&nbsp;Log details only under specific criteria; see <a href="../contrib/mod_log_forensic.html">module doc</a> to learn more&nbsp;</td>
213 </tr>
214
215 <tr>
216 <td>&nbsp;<code>mod_geoip</code>&nbsp;</td>
217 <td>&nbsp;Reject clients if the system load is too high; see <a href="../contrib/mod_load.html">module doc</a> for info&nbsp;</td>
218 </tr>
219
220 <tr>
221 <td>&nbsp;<code>mod_qos</code>&nbsp;</td>
222 <td>&nbsp;Set TCP Quality Of Service (TCP) bits; see <a href="../contrib/mod_qos.html">module doc</a> for details&nbsp;</td>
223 </tr>
224
225 <tr>
226 <td>&nbsp;<code>mod_quotatab</code>&nbsp;</td>
227 <td>&nbsp;User/group/class-specific quotas; see <a href="../contrib/mod_quotatab.html">module doc</a> for more information&nbsp;</td>
228 </tr>
229
230 <tr>
231 <td>&nbsp;<code>mod_radius</code>&nbsp;</td>
232 <td>&nbsp;Support authentication using RADIUS; see <a href="../contrib/mod_radius.html">module doc</a> for details&nbsp;</td>
233 </tr>
234
235 <tr>
236 <td>&nbsp;<code>mod_ratio</code>&nbsp;</td>
237 <td>&nbsp;Per-user upload/download ratios; see <a href="../contrib/mod_ratio.html">module doc</a>&nbsp;</td>
238 </tr>
239
240 <tr>
241 <td>&nbsp;<code>mod_readme</code>&nbsp;</td>
242 <td>&nbsp;Display "readme" files to clients; see <a href="../contrib/mod_readme.html">module doc</a> for more&nbsp;</td>
243 </tr>
244
245 <tr>
246 <td>&nbsp;<code>mod_rewrite</code>&nbsp;</td>
247 <td>&nbsp;Dynamically rewrite commands on-the-flly; see <a href="../howto/Rewrite.html">howto doc</a> for details&nbsp;</td>
248 </tr>
249
250 <tr>
251 <td>&nbsp;<code>mod_sftp</code>&nbsp;</td>
252 <td>&nbsp;Implements SFTP; see <a href="../contrib/mod_sftp.html">module doc</a> for details&nbsp;</td>
253 </tr>
254
255 <tr>
256 <td>&nbsp;<code>mod_sftp_pam</code>&nbsp;</td>
257 <td>&nbsp;Implements SSH and PAM authentication; see <a href="../contrib/mod_sftp_pam.html">module doc</a> for details&nbsp;</td>
258 </tr>
259
260 <tr>
261 <td>&nbsp;<code>mod_sftp_sql</code>&nbsp;</td>
262 <td>&nbsp;Retreive SSH public keys from SQL databases; see <a href="../contrib/mod_sftp_pam.html">module doc</a> for info&nbsp;</td>
263 </tr>
264
265 <tr>
266 <td>&nbsp;<code>mod_shaper</code>&nbsp;</td>
267 <td>&nbsp;Throttling of data transfers across the entire server; see <a href="../contrib/mod_shaper.html">module doc</a> for details&nbsp;</td>
268 </tr>
269
270 <tr>
271 <td>&nbsp;<code>mod_site_misc</code>&nbsp;</td>
272 <td>&nbsp;Miscellaneous <code>SITE</code> commands; see <a href="../contrib/mod_ctrls_admin.html">module doc</a> to learn more&nbsp;</td>
273 </tr>
274
275 <tr>
276 <td>&nbsp;<code>mod_sql</code>&nbsp;</td>
277 <td>&nbsp;Support authentication using SQL databases; see <a href="../howto/SQL.html">howto doc</a> for instructions&nbsp;</td>
278 </tr>
279
280 <tr>
281 <td>&nbsp;<code>mod_tls</code>&nbsp;</td>
282 <td>&nbsp;Implements FTP over TLS (FTPS); see <a href="../contrib/mod_tls.html">module doc</a> for more&nbsp;</td>
283 </tr>
284
285 <tr>
286 <td>&nbsp;<code>mod_tls_fscache</code>&nbsp;</td>
287 <td>&nbsp;Enable TLS caching via filesystem; see <a href="../contrib/mod_tls_fscache.html">module doc</a> for more&nbsp;</td>
288 </tr>
289
290 <tr>
291 <td>&nbsp;<code>mod_tls_memcache</code>&nbsp;</td>
292 <td>&nbsp;Enable TLS caching via Memcache; see <a href="../contrib/mod_tls_memcache.html">module doc</a> for more&nbsp;</td>
293 </tr>
294
295 <tr>
296 <td>&nbsp;<code>mod_tls_redis</code>&nbsp;</td>
297 <td>&nbsp;Enable TLS caching via Redis; see <a href="../contrib/mod_tls_redis.html">module doc</a> for more&nbsp;</td>
298 </tr>
299
300 <tr>
301 <td>&nbsp;<code>mod_tls_shmcache</code>&nbsp;</td>
302 <td>&nbsp;Enable TLS caching via Shared Memory; see <a href="../contrib/mod_tls_shmcache.html">module doc</a> for details&nbsp;</td>
303 </tr>
304
305 <tr>
306 <td>&nbsp;<code>mod_unique_id</code>&nbsp;</td>
307 <td>&nbsp;Generate a guaranteed unique ID for each session; see <a href="../contrib/mod_unique_id.html">module doc</a> for more&nbsp;</td>
308 </tr>
309
310 <tr>
311 <td>&nbsp;<code>mod_wrap</code>&nbsp;</td>
312 <td>&nbsp;Use popular <code>tcp_wrappers</code> for client ACLs; see <a href="../contrib/mod_wrap.html">module doc</a> for details&nbsp;</td>
313 </tr>
314
315 <tr>
316 <td>&nbsp;<code>mod_wrap2</code>&nbsp;</td>
317 <td>&nbsp;Enhanced support for client ACLs; see <a href="../contrib/mod_wrap2.html">module doc</a> for details&nbsp;</td>
318 </tr>
319 </table>
320
321 <p>
322 <b>Third-Party Modules</b>
323 As mentioned above, ProFTPD's APIs and build system support modules, even
324 those that are not included as part of the project source distribution. You
325 will find ProFTPD modules, in source form, in various other sites and projects
326 around the Internet. This is precisely why ProFTPD allows for such plugins;
327 the ProFTPD Project wants to support and encourage the community at large
328 to develop for their needs, and to enable development and creativity!