fail2ban.server.filterpoll module
*********************************

class fail2ban.server.filterpoll.FilterPoll(jail)

   Bases: "FileFilter"

   Attributes:
      "daemon"
         A boolean value indicating whether this thread is a daemon
         thread.

      "ident"
         Thread identifier of this thread or None if it has not been
         started.

      **ignoreCache**
      **ignoreCommand**
      **ignoreSelf**
      **jailName**
      **mlfidCache**
      "name"
         A string used for identification purposes only.

      "native_id"
         Native integral thread ID of this thread, or None if it has
         not been started.

      **prefRegex**
   -[ Methods ]-

   +------------+--------------------------------------------------------------------------------------------+
   | "addAttem  | Generate a failed attempt for ip                                                           |
   | pt"(self,  |                                                                                            |
   | ip,        |                                                                                            |
   | \*matches) |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "clearAll  | Clear all lists/dicts parameters (used by reloading)                                       |
   | Params"(s  |                                                                                            |
   | elf)       |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "getModif  |                                                                                            |
   | ied"(self, |                                                                                            |
   | modlst)    |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "getName"  | Return a string used for identification purposes only.                                     |
   | (self)     |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "isAlive"  | Return whether the thread is alive.                                                        |
   | (self)     |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "isDaemon  | Return whether this thread is a daemon.                                                    |
   | "(self)    |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "is_alive  | Return whether the thread is alive.                                                        |
   | "(self)    |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "join"(se  | Safer join, that could be called also for not started (or ended) threads (used for         |
   | lf)        | cleanup).                                                                                  |
   +------------+--------------------------------------------------------------------------------------------+
   | "onStop"(  | Stop monitoring of log-file(s).                                                            |
   | self)      |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "performB  | Performs a ban for IPs (or given ip) that are reached maxretry of the jail.                |
   | an"(self[, |                                                                                            |
   | ip])       |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "performS  | Performs a service tasks (clean failure list).                                             |
   | vc"(self[, |                                                                                            |
   | force])    |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "processL  | Split the time portion from log msg and return findFailures on them                        |
   | ine"(self, |                                                                                            |
   | line[,     |                                                                                            |
   | date])     |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "processL  | Processes the line for failures and populates failManager                                  |
   | ineAndAdd  |                                                                                            |
   | "(self,    |                                                                                            |
   | line[,     |                                                                                            |
   | date])     |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "reload"(  | Begin or end of reloading resp.                                                            |
   | self[,     |                                                                                            |
   | begin])    |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "run"(sel  | Abstract - Called when thread starts, thread stops when returns.                           |
   | f)         |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "setDaemo  | Set whether this thread is a daemon.                                                       |
   | n"(self,   |                                                                                            |
   | daemonic)  |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "setName"  | Set the name string for this thread.                                                       |
   | (self,     |                                                                                            |
   | name)      |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "start"(s  | Sets active flag and starts thread.                                                        |
   | elf)       |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "status"(  | Status of Filter plus files being monitored.                                               |
   | self[,     |                                                                                            |
   | flavor])   |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "stop"(se  | Stop filter                                                                                |
   | lf)        |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+

   +---------------------+------------+
   | **addFailRegex**    |            |
   +---------------------+------------+
   | **addIgnoreIP**     |            |
   +---------------------+------------+
   | **addIgnoreRegex**  |            |
   +---------------------+------------+
   | **addLogPath**      |            |
   +---------------------+------------+
   | **commonError**     |            |
   +---------------------+------------+
   | **containsLogPath** |            |
   +---------------------+------------+
   | **delFailRegex**    |            |
   +---------------------+------------+
   | **delIgnoreIP**     |            |
   +---------------------+------------+
   | **delIgnoreRegex**  |            |
   +---------------------+------------+
   | **delLogPath**      |            |
   +---------------------+------------+
   | **findFailure**     |            |
   +---------------------+------------+
   | **getDatePattern**  |            |
   +---------------------+------------+
   | **getFailRegex**    |            |
   +---------------------+------------+
   | **getFailures**     |            |
   +---------------------+------------+
   | **getFindTime**     |            |
   +---------------------+------------+
   | **getIgnoreIP**     |            |
   +---------------------+------------+
   | **getIgnoreRegex**  |            |
   +---------------------+------------+
   | **getLog**          |            |
   +---------------------+------------+
   | **getLogCount**     |            |
   +---------------------+------------+
   | **getLogEncoding**  |            |
   +---------------------+------------+
   | **getLogPaths**     |            |
   +---------------------+------------+
   | **getLogTimeZone**  |            |
   +---------------------+------------+
   | **getLogs**         |            |
   +---------------------+------------+
   | **getMaxLines**     |            |
   +---------------------+------------+
   | **getMaxRetry**     |            |
   +---------------------+------------+
   | **getPendingPaths** |            |
   +---------------------+------------+
   | **getUseDns**       |            |
   +---------------------+------------+
   | **inIgnoreIPList**  |            |
   +---------------------+------------+
   | **isModified**      |            |
   +---------------------+------------+
   | **logIgnoreIp**     |            |
   +---------------------+------------+
   | **seekToTime**      |            |
   +---------------------+------------+
   | **setDatePattern**  |            |
   +---------------------+------------+
   | **setFindTime**     |            |
   +---------------------+------------+
   | **setLogEncoding**  |            |
   +---------------------+------------+
   | **setLogTimeZone**  |            |
   +---------------------+------------+
   | **setMaxLines**     |            |
   +---------------------+------------+
   | **setMaxRetry**     |            |
   +---------------------+------------+
   | **setUseDns**       |            |
   +---------------------+------------+

   getModified(self, modlst)

   getPendingPaths(self)

   isModified(self, filename)

   run(self)

      Abstract - Called when thread starts, thread stops when returns.
