Skip to content

Fail2ban: unknow sip login not banned (asterisk) #5849

@stephdl

Description

@stephdl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions