[Fail2ban-users] regex exim help requested pid thread host etc

2020-08-18 Thread Steve Charmer
hi, exim4 mainlog sample (server ip obfuscated): 2020-08-18 12:02:48 [13110] 1k844V-0003PS-LP H=(mail-pg1-f181.google.com) [209.85.215.181]:38343 I=[10.0.0.0]:25 Warning: EXIM-SPAMMASSASSIN-EXCESSIVE-FAIL2BAN my attempt at regex failregex = ^%(pid)s \S+ %(host_info)sWarning: EXIM-SPAMMASSASSIN

[Fail2ban-users] Request help with failregex for EXIM4 MAINLOG Warning: line (please)

2021-12-02 Thread Steve Charmer
Hello, I am running Fail2Ban Version 0.9.3 on Ubuntu 16.04.5 LTS (LOL) In EXIM, I have an ACL write a string into exim's mainlog when an email has an excessively high spam score. I want to write a failregex to find the host info of a log line like this: 2021-12-01 16:01:00 [19572] 1msWip-00055g-

Re: [Fail2ban-users] Request help with failregex for EXIM4 MAINLOG Warning: line (please)

2021-12-02 Thread Steve Charmer
Thanks for your reply Nick. However, I thought the host_info was a shortcut created by F2B, in the file /etc/fail2ban/filter.d/exim-common.conf so my understanding was that F2B would already get the host info using the regex in that file and same concept with pid and all I needed to do was to

Re: [Fail2ban-users] Request help with failregex for EXIM4 MAINLOG Warning: line (please)

2021-12-03 Thread Steve Charmer
oh, ok, I think I understand a little more now. I was using f2b-regex cmd in console to test it, but without the host_info alias (as provided by the "before INCLUDE"), it won't return any matches? Is it because f2b-regex needs to return a host portion to be considered a match? I mean, I can't jus

[Fail2ban-users] actionban, how to add a comment

2023-03-18 Thread Steve Charmer
hello, running fail2ban version 0.9.3 on ubuntu it appears the default action script is iptables-multiport I want to learn how to add a comment when banning an ip, and have that comment include data / information from the log file f2b is monitoring, for example, in a log file made by mail / cou