Want more features on Pastebin? Sign Up, it's FREE!
Guest

/etc/fail2ban/filter.d/vsftpd.conf

By: a guest on Mar 6th, 2011  |  syntax: None  |  size: 0.92 KB  |  views: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # cat /etc/fail2ban/filter.d/vsftpd.conf
  2. # Fail2Ban configuration file
  3. #
  4. # Author: Cyril Jaquier
  5. #
  6. # $Revision: 728 $
  7. #
  8.  
  9. [Definition]
  10.  
  11. # Option: failregex
  12. # Notes.: regex to match the password failures messages in the logfile. The
  13. #          host must be matched by a group named "host". The tag "<HOST>" can
  14. #          be used for standard IP/hostname matching and is only an alias for
  15. #          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
  16. # Values: TEXT
  17. #
  18. #failregex = vsftpd(?:\(pam_unix\))?(?:\[\d+\])?:.* authentication failure; .* rhost=<HOST>(?:\s+user=\S*)?\s*$
  19. #            \[.+\] FAIL LOGIN: Client "<HOST>"\s*$
  20. #failregex = \[. \] FAIL LOGIN: Client "<HOST>"$
  21. #failregex = \[.+\] \[.+\] FAIL LOGIN: Client "(?P<host>\S+)"$
  22. failregex = \[.+\] FAIL LOGIN: Client "(?P<host>\S+)"$
  23.  
  24.  
  25. # Option:  ignoreregex
  26. # Notes.:  regex to ignore. If this regex matches, the line is ignored.
  27. # Values:  TEXT
  28. #
  29. ignoreregex =
clone this paste RAW Paste Data