[Spce-user] Fwd: autoban or fail2ban
Jon Bonilla (Manwe)
jbonilla at sipwise.com
Fri Aug 10 08:56:07 EDT 2012
El Fri, 10 Aug 2012 14:45:33 +0200
Jon Bonilla (Manwe) <jbonilla at sipwise.com> escribió:
>
> kamailio.lb.security has all the options you need:
>
>
> dos_ban_time: 300
> dos_reqs_density_per_unit: 20
> dos_sampling_time_unit: 2
> dos_whitelisted_ips:
>
> If you get more than "dos_reqs_density_per_unit" in "dos_sampling_time_unit"
> seconds, the IP is banned "dos_ban_time" unless it's listed in
> "dos_whitelisted_ips"
>
>
As an example, the list of whitelisted IPs would be like this one:
dos_whitelisted_ips:
- 1.2.3.4
- 77.66.55.44
More information about the Spce-user
mailing list