| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ProFTPD module mod_ident</title> |
| 5 | </head> |
| 6 | |
| 7 | <body bgcolor=white> |
| 8 | |
| 9 | <hr> |
| 10 | <center> |
| 11 | <h2><b>ProFTPD module <code>mod_ident</code></b></h2> |
| 12 | </center> |
| 13 | <hr><br> |
| 14 | |
| 15 | <p> |
| 16 | <b>RFC1413 Identification Support</b><br> |
| 17 | |
| 18 | <p> |
| 19 | The <code>mod_ident</code> module is ProFTPD's module for performing |
| 20 | lookups of authenticated user IDs, as per |
| 21 | <a href="http://www.faqs.org/rfcs/rfc1413..html">RFC 1413</a>. |
| 22 | |
| 23 | <p> |
| 24 | This module is contained in the <code>mod_ident.c</code> file for |
| 25 | ProFTPD 1.3.<i>x</i>, and is compiled by default. See the |
| 26 | <a href="#Installation">installation</a> section for more details. |
| 27 | |
| 28 | <p> |
| 29 | The most current version of <code>mod_ident</code> can be found in the |
| 30 | ProFTPD source distribution: |
| 31 | <pre> |
| 32 | <a href="http://www.proftpd.org/">http://www.proftpd.org/</a> |
| 33 | </pre> |
| 34 | |
| 35 | <h2>Directives</h2> |
| 36 | <ul> |
| 37 | <li><a href="#IdentLookups">IdentLookups</a> |
| 38 | </ul> |
| 39 | |
| 40 | <p> |
| 41 | <hr> |
| 42 | <h3><a name="IdentLookups">IdentLookups</a></h3> |
| 43 | <strong>Syntax:</strong> IdentLookups <em>on|off</em><br> |
| 44 | <strong>Default:</strong> IdentLookups on<br> |
| 45 | <strong>Context:</strong> server config, <code><VirtualHost></code>, <code><Global></code><br> |
| 46 | <strong>Module:</strong> mod_ident<br> |
| 47 | <strong>Compatibility:</strong> 1.3.2rc1 |
| 48 | |
| 49 | <p> |
| 50 | The <code>IdentLookups</code> directive enables or disables the module's lookup |
| 51 | of an "authenticated" user identity using RFC1413. |
| 52 | |
| 53 | <p> |
| 54 | Normally, when a client initially connects to ProFTPD, the |
| 55 | <code>mod_ident</code> will attempt to use the ident protocol (RFC1413) to |
| 56 | identify the remote username. This behavior can be disabled via this directive: |
| 57 | <pre> |
| 58 | IdentLookups off |
| 59 | </pre> |
| 60 | <b>Not</b> that this lookup can cause delays (and reports of "slow logins") |
| 61 | when clients connect to ProFTPD. |
| 62 | |
| 63 | <p> |
| 64 | <hr> |
| 65 | <h2><a name="Installation">Installation</a></h2> |
| 66 | The <code>mod_ident</code> module is compiled into <code>proftpd</code> by |
| 67 | default. To build a <code>proftpd</code> which does not include the |
| 68 | <code>mod_ident</code> module, use: |
| 69 | <pre> |
| 70 | $ ./configure --disable-ident ... |
| 71 | </pre> |
| 72 | Note that the <code>mod_ident</code> module can also be built as a shared |
| 73 | module, rather than be statically linked into <code>proftpd</code>: |
| 74 | <pre> |
| 75 | $ ./configure --enable-dso --with-shared=mod_ident ... |
| 76 | </pre> |
| 77 | |
| 78 | <p> |
| 79 | <b>Logging</b><br> |
| 80 | The <code>mod_ident</code> module supports <a href="../howto/Tracing.html">trace logging</a>, via the module-specific log channels: |
| 81 | <ul> |
| 82 | <li>ident |
| 83 | </ul> |
| 84 | Thus for trace logging, to aid in debugging, you would use the following in |
| 85 | your <code>proftpd.conf</code>: |
| 86 | <pre> |
| 87 | TraceLog /path/to/ftpd/trace.log |
| 88 | Trace ident:20 |
| 89 | </pre> |
| 90 | This trace logging can generate large files; it is intended for debugging use |
| 91 | only, and should be removed from any production configuration. |
| 92 | |
| 93 | <p> |
| 94 | <hr> |
| 95 | <font size=2><b><i> |
| 96 | © Copyright 2008-2016 TJ Saunders<br> |
| 97 | All Rights Reserved<br> |
| 98 | </i></b></font> |
| 99 | <hr> |
| 100 | |
| 101 | </body> |
| 102 | </html> |