Talk:Pure-FTPd

From Fail2ban
Revision as of 20:49, 25 December 2009 by JGS-nertz (talk | contribs) (New page: /etc/fail2ban/filter.d/pure-ftpd.conf # Fail2Ban configuration file # # Author: Cyril Jaquier # Modified: Yaroslav Halchenko for pure-ftpd # # $Revision: 3$ # [Definition] # Error messag...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

/etc/fail2ban/filter.d/pure-ftpd.conf

  1. Fail2Ban configuration file
  2. Author: Cyril Jaquier
  3. Modified: Yaroslav Halchenko for pure-ftpd
  4. $Revision: 3$

[Definition]

  1. Error message specified in multiple languages

__errmsg = (?:Authentication failed for user|Erreur d'authentification pour l'utilisateur)

  1. Option: failregex
  2. Notes.: regex to match the password failures messages in the logfile. The
  3. host must be matched by a group named "host". The tag "<HOST>" can
  4. be used for standard IP/hostname matching and is only an alias for
  5. (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
  6. Values: TEXT

failregex = pure-ftpd(?:\[\d+\])?: (.+?@<HOST>) \[WARNING\] %(__errmsg)s \[.+\]$

  1. Option: ignoreregex
  2. Notes.: regex to ignore. If this regex matches, the line is ignored.
  3. Values: TEXT

ignoreregex =

This script does not work for me.