Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. [root@prometheus ~]# fail2ban-regex /var/log/maillog /etc/fail2ban/filter.d/postfix-sasl-abuse.conf --print-all-matched
  2.  
  3. Running tests
  4. =============
  5.  
  6. Use failregex filter file : postfix-sasl-abuse, basedir: /etc/fail2ban
  7. Use log file : /var/log/maillog
  8. Use encoding : UTF-8
  9.  
  10.  
  11. Results
  12. =======
  13.  
  14. Failregex: 3 total
  15. |- #) [# of hits] regular expression
  16. | 1) [3] \[<HOST>\], sasl_method=(LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5), sasl_username=[^@]+@\S+$
  17. `-
  18.  
  19. Ignoreregex: 0 total
  20.  
  21. Date template hits:
  22. |- [# of hits] date format
  23. | [118963] (?:DAY )?MON Day 24hour:Minute:Second(?:\.Microseconds)?(?: Year)?
  24. `-
  25.  
  26. Lines: 118963 lines, 0 ignored, 3 matched, 118960 missed
  27. [processed in 9.65 sec]
  28.  
  29. |- Matched line(s):
  30. | Mar 18 21:35:05 prometheus postfix/smtpd[18227]: 3D2A7197F2F46: client=lfbn-1-10554-40.w90-89.abo.wanadoo.fr[90.89.15.40], sasl_method=PLAIN, sasl_username=stephane@de-labrusse.fr
  31. | Mar 18 22:46:18 prometheus postfix/smtpd[25944]: 9698E197F2F6F: client=lfbn-1-10554-40.w90-89.abo.wanadoo.fr[90.89.15.40], sasl_method=PLAIN, sasl_username=stephane@de-labrusse.fr
  32. | Mar 19 14:32:29 prometheus postfix/smtpd[25303]: 9D74C197F1E63: client=lfbn-1-10554-40.w90-89.abo.wanadoo.fr[90.89.15.40], sasl_method=PLAIN, sasl_username=stephane@de-labrusse.fr
  33. `-
  34. Missed line(s): too many to print. Use --print-all-missed to print all 118960 lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement