From d8d950dcc6b798d2d50e621c4bdc4882db3b369a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 31 Jul 2012 16:02:31 -0400 Subject: [PATCH] ENH: adopted description about backends from upstream's jail.conf --- debian/jail.conf | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/debian/jail.conf b/debian/jail.conf index b6610b63..59fae718 100644 --- a/debian/jail.conf +++ b/debian/jail.conf @@ -20,10 +20,17 @@ ignoreip = 127.0.0.1/8 bantime = 600 maxretry = 3 -# "backend" specifies the backend used to get files modification. Available -# options are "gamin", "polling" and "auto". -# yoh: For some reason Debian shipped python-gamin didn't work as expected -# This issue left ToDo, so polling is default backend for now +# "backend" specifies the backend used to get files modification. +# Available options are "pyinotify", "gamin", "polling" and "auto". +# This option can be overridden in each jail as well. +# +# pyinotify: requires pyinotify (a file alteration monitor) to be installed. +# If pyinotify is not installed, Fail2ban will use auto. +# gamin: requires Gamin (a file alteration monitor) to be installed. +# If Gamin is not installed, Fail2ban will use auto. +# polling: uses a polling algorithm which does not require external libraries. +# auto: will try to use the following backends, in order: +# pyinotify, gamin, polling. backend = auto #