Steps to reproduce
run an asterisk server
some attempt to unknow sip login are not banned
Rejecting unknown SIP connection from 158.69.55.234:52420
Expected behavior
I expect that the attempts are banned
Actual behavior
the attempts are not banned because fail2ban regex doesn't expect a port number ends the line in logs
Components
nethserver-fail2ban-1.1.7-1.ns7.noarch
See also
https://community.nethserver.org/t/fail2ban-again-not-catching-some-asterisk-log-strings/13411/1
thank @matthieu
Steps to reproduce
run an asterisk server
some attempt to unknow sip login are not banned
Rejecting unknown SIP connection from 158.69.55.234:52420Expected behavior
I expect that the attempts are banned
Actual behavior
the attempts are not banned because fail2ban regex doesn't expect a port number ends the line in logs
Components
nethserver-fail2ban-1.1.7-1.ns7.noarch
See also
https://community.nethserver.org/t/fail2ban-again-not-catching-some-asterisk-log-strings/13411/1
thank @matthieu