mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-07-10 09:33:02 +00:00
Additional changes:
ENH: make basedir for Config's a kwarg to the constructor
ENH: improved analysis/reporting on presence/accessibility of config
files. Got carried away and forgot about existing work done by
Steven Hiscocks in the gh-115 -- will merge it in the next
commit for the fair ack of his work
Now for any X.conf configuration file we have following ways to
provide customizations
X.local -- read after .conf (kept for backward compatibility)
X.d/ -- directory to contain additional .conf files, sorted
alphabetically, e.g
X.d/01_enable.conf - to enable the jail
X.d/02_custom_port.conf - to change the port
X could be a 'jail' or 'fail2ban' or any other configuration file in
fail2ban.
Mention that all files still must contain the corresponding sections
(most of the time duplicating it across all of them).
|
||
|---|---|---|
| .. | ||
| files | ||
| __init__.py | ||
| actiontestcase.py | ||
| banmanagertestcase.py | ||
| clientreadertestcase.py | ||
| datedetectortestcase.py | ||
| failmanagertestcase.py | ||
| filtertestcase.py | ||
| servertestcase.py | ||