Advertisement
BlockI0tChain

F2b Postscreen Filter

May 10th, 2021 (edited)
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. # Fail2Ban custom filter
  2. #Implemented rules: "DNSBL rank", "listed by domain", "pregreet after"
  3.  
  4. [INCLUDES]
  5. before = common.conf
  6.  
  7. [Definition]
  8. _daemon = postfix/postscreen
  9. failregex = ^%(__prefix_line)sDNSBL rank (([3-9]|1[09])) for \[<HOST>\]:.*$
  10.             ^%(__prefix_line)saddr <HOST> listed by domain .* as .*$
  11.             ^%(__prefix_line)sPREGREET \d+ after \d+\.\d+ from \[<HOST>\]:\d+: EHLO ylmf-pc\\r\\n
  12.  
  13. ignoreregex =
  14.  
  15. # Author: BlockI0tChain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement