SipBan 1.0.1 available

Dear users,

Years ago I wrote a program called SipBan to stop SIP attacks using the Asterisk AMI security events. Now I make a full revision of the tool and release the version 1.0.1

Is open source (with the GPL 3.0 License) and is available in GitHub:

https://github.com/elpop/sipban

Change Log:

• SipBan use now IPSet (ipset.netfilter.org) making the iptables check of attackers more faster, with less iptables rules changes.

• If you have version 7 or grather, the ipset “set” can handle the block timeout automatic.

• I conserve the time keeping for support version older than 6. This will be depreciated in the next version.

• I only insert in the top of the iptables INPUT rules a single statement, in place of generate an adittional chain.

• Ipset can handle a complet ip/class ban. With sipban_admin.bash you can block entire ip/class.

• I keep the old version with his configuration file with the name “sipban_legacy.pl” and “sipban_legacy.conf”

• Is tested in Ubuntu 22.04, Debian 12 and Fedora 41. I don’t have other Linux Distros to test, but if you have any comments about it, please let me know.

• As part of Sipban, i put a bash script called “sipban_admin.bash”, is only a wrapper for common ipset commands for easy admin of the sipban ipset “set”.

• The Systemd file wait for “netfilter-persistent.service” to start.

I hope this tool can be usefully for your Asterisk installations.

Best regards… Fernando “El Pop” Romo

Curious. What is this better than fail2ban?

sipban is really fast :), no increment in load average . compare by yourself .

On 7 Dec 2024, at 9:12 p.m., PitzKey via Asterisk Community notifications@asterisk.discoursemail.com wrote:

PitzKey
December 8

Curious. What is this better than fail2ban?


Visit Topic or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.

It depends on your criteria. If you need free then fail2ban isunbeatable.

If you are protecting a mission critical PBX then you might look at SECast.

If $0 budget, then fail2ban + SNORT is a good start.