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 ]-

   +------------+--------------------------------------------------------------------------------------------+
   | "addAttemp | Generate a failed attempt for ip                                                           |
   | t"(ip,     |                                                                                            |
   | *matches)  |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "clearAllP | Clear all lists/dicts parameters (used by reloading)                                       |
   | arams"()   |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "getModifi |                                                                                            |
   | ed"(modlst |                                                                                            |
   | )          |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "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).                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "performBa | Performs a ban for IPs (or given ip) that are reached maxretry of the jail.                |
   | n"([ip])   |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "performSv | Performs a service tasks (clean failure list).                                             |
   | c"([force] |                                                                                            |
   | )          |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "processLi | Split the time portion from log msg and return findFailures on them                        |
   | ne"(line[, |                                                                                            |
   | date])     |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "processLi | Processes the line for failures and populates failManager                                  |
   | neAndAdd"( |                                                                                            |
   | line[,     |                                                                                            |
   | date])     |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "reload"([ | Begin or end of reloading resp.                                                            |
   | begin])    |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "run"()    | Abstract - Called when thread starts, thread stops when returns.                           |
   +------------+--------------------------------------------------------------------------------------------+
   | "setDaemon | Set whether this thread is a daemon.                                                       |
   | "(daemonic |                                                                                            |
   | )          |                                                                                            |
   +------------+--------------------------------------------------------------------------------------------+
   | "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.
