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

   +---------------------+------------+
   | **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(modlst)

   getPendingPaths()

   isModified(filename)

   run()

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