| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ProFTPD module mod_quotatab_radius</title> |
| 5 | </head> |
| 6 | |
| 7 | <body bgcolor=white> |
| 8 | |
| 9 | <hr><br> |
| 10 | <center> |
| 11 | <h2><b>ProFTPD module <code>mod_quotatab_radius</code></b></h2> |
| 12 | </center> |
| 13 | <hr><br> |
| 14 | |
| 15 | This <code>mod_quotatab</code> submodule is contained in the |
| 16 | <code>mod_quotatab_radius.c</code>, part of the <code>mod_quotatab</code> |
| 17 | package and is not compiled by default. See the <code>mod_quotatab</code> |
| 18 | documentation for <a href="mod_quotatab.html#Installation">installation</a> |
| 19 | instructions. |
| 20 | |
| 21 | <p> |
| 22 | This submodule provides the RADIUS-specific "driver" for retrieving |
| 23 | quota limit table information from a RADIUS server. |
| 24 | |
| 25 | <h2>Author</h2> |
| 26 | <p> |
| 27 | Please contact TJ Saunders <tj <i>at</i> castaglia.org> with any |
| 28 | questions, concerns, or suggestions regarding this module. |
| 29 | |
| 30 | <p> |
| 31 | <hr><h2><a name="RADIUSTables">RADIUS Limit Quota Tables</a></h2> |
| 32 | RADIUS-based quota tables (<em>source-type</em> of "radius") can |
| 33 | only be used for limit tables, <b>not</b> for tally tables. The frequent |
| 34 | updates needed for maintaining tally tables mean that RADIUS is not well-suited |
| 35 | to handle tally table storage. |
| 36 | |
| 37 | <p> |
| 38 | The <code>mod_quotatab_radius</code> module supports the "radius" |
| 39 | string for the <em>source-type</em> parameter of the |
| 40 | <a href="mod_quotatab.html#QuotaLimitTable"><code>QuotaLimitTable</code></a> |
| 41 | configuration directive. To configure these quota attributes, use the |
| 42 | <a href="mod_radius.html#RadiusQuotaInfo"><code>RadiusQuotaInfo</code></a> |
| 43 | configuration directive. |
| 44 | |
| 45 | <p> |
| 46 | An example <code>proftpd.conf</code> configuration might look like: |
| 47 | <pre> |
| 48 | <IfModule mod_quotatab.c> |
| 49 | <IfModule mod_quotatab_radius.c> |
| 50 | # Use a RADIUS-based limit table |
| 51 | QuotaLimitTable radius: |
| 52 | </IfModule> |
| 53 | |
| 54 | # Use a file-based tally table |
| 55 | QuotaTallyTable file:/usr/local/proftpd/ftpquota.tallytab |
| 56 | |
| 57 | # See the RadiusQuotaInfo description for more details |
| 58 | RadiusQuotaInfo false soft 3.0 2.0 1.0 7 8 9 |
| 59 | </IfModule> |
| 60 | </pre> |
| 61 | |
| 62 | <p> |
| 63 | <hr> |
| 64 | <font size=2><b><i> |
| 65 | © Copyright 2005-2007 TJ Saunders<br> |
| 66 | All Rights Reserved<br> |
| 67 | </i></b></font> |
| 68 | <hr> |
| 69 | |
| 70 | </body> |
| 71 | </html> |