Advertisement
Guest User

jaytee asterisk fail2ban config

a guest
Apr 4th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. [INCLUDES]
  2.  
  3. # Read common prefixes. If any customizations available -- read them from
  4. # common.local
  5. #before = common.conf
  6.  
  7.  
  8. [Definition]
  9.  
  10. #_daemon = asterisk
  11.  
  12. # Option: failregex
  13. # Notes.: regex to match the password failures messages in the logfile. The
  14. # host must be matched by a group named "host". The tag "<HOST>" can
  15. # be used for standard IP/hostname matching and is only an alias for
  16. # (?:::f{4,6}:)?(?P<host>\S+)
  17. # Values: TEXT
  18. #
  19.  
  20. failregex = NOTICE.* .*: Registration from '.*' failed for '<HOST>' - Wrong password
  21. NOTICE.* .*: Registration from '\".*\".*' failed for '<HOST>' - Wrong password
  22. NOTICE.* .*: Registration from '.*' failed for '<HOST>' - No matching peer found
  23. NOTICE.* .*: Registration from '.*' failed for '<HOST>' - Username/auth name mismatch
  24. NOTICE.* .*: Registration from '.*' failed for '<HOST>' - Device does not match ACL
  25. NOTICE.* .*: Registration from '.*' failed for '<HOST>' - Peer is not supposed to register
  26. NOTICE.* .*: Registration from '.*' failed for '<HOST>' - ACL error (permit/deny)
  27. NOTICE.* <HOST> failed to authenticate as '.*'$
  28. NOTICE.* .*: No registration for peer '.*' \(from <HOST>\)
  29. NOTICE.* .*: Host <HOST> failed MD5 authentication for '.*' (.*)
  30. NOTICE.* .*: Failed to authenticate user .*@<HOST>.*
  31.  
  32. # Option: ignoreregex
  33. # Notes.: regex to ignore. If this regex matches, the line is ignored.
  34. # Values: TEXT
  35. #
  36. ignoreregex =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement