Re: [SR-Users] htable failed auth banning

2014-01-30 Thread Daniel Tryba
On Thursday 30 January 2014 04:10:14 Salvatore Nuzzo wrote: > but I need some help figuring our where they should go. See, I really like > how this guy bans users for 15 minutes for failing to auth 3 times in a > row. Where and how should I add this to my kam config? As soon as possible, so at the

Re: [SR-Users] htable failed auth banning

2014-01-30 Thread davy
I typically put that block of code in a specific routing block, and based on the default config, I put it right in the AUTH block: route[AUTH] { #!ifdef WITH_AUTH #!ifdef WITH_IPAUTH if((!is_method("REGISTER")) && allow_source_address()) { # source IP allowed

[SR-Users] htable failed auth banning

2014-01-30 Thread Salvatore Nuzzo
hey guys. I was trying to add the htable routing rules here: http://preview.tinyurl.com/nomqsls but I need some help figuring our where they should go. See, I really like how this guy bans users for 15 minutes for failing to auth 3 times in a row. Where and how should I add this to my kam config