Advertisement
Guest User

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

a guest
Mar 6th, 2011
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  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 =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement