dOpensource / dsiprouter

UI Interface for implementing Kamailio to provide PBX Hosting and SIP Trunking Services
https://dsiprouter.org
Apache License 2.0
196 stars 103 forks source link

Advanced Network Security Mitigations #339

Open devopsec opened 3 years ago

devopsec commented 3 years ago

Right now dSIPRouter implements basic security best practices for networking security but at the current state it is BASIC.
We should gradually more towards more active mitigation such as blocking malicious User Agents, filter on blacklists and whitelist via secfilter module, providing false positives / false negatives for network scanners, DDOS mitigation, SQL injection mitigation, etc...

The kamailio docs provide a good starting point:
https://www.kamailio.org/wiki/tutorials/security/kamailio-security

A list of ways we could implement such mitigations:

We should get this on the roadmap, a lot of these security resolutions can be tied into upcoming events on the roadmap, such as:

devopsec commented 8 months ago

Looking for feedback from the community on what features we should focus on here..
The APIBAN / Fail2Ban / FirewallD integrations have had some success.
What are the threat models and attack vectors everyone is planning against?
What solutions are being used currently that we could integrate into the platform?