From 1948fa5312b8ab836ace4ab76a383ed29b049ae6 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 7 Aug 2017 14:21:08 +0200 Subject: [PATCH] kamailio.cfg: filter out sip scanner even when anti-flood is not enabled - better protection with default installation --- etc/kamailio.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg index bce9d41a7e8..067f0f680ed 100644 --- a/etc/kamailio.cfg +++ b/etc/kamailio.cfg @@ -562,12 +562,12 @@ route[REQINIT] { exit; } } - if($ua =~ "friendly-scanner|sipcli") { +#!endif + if($ua =~ "friendly-scanner|sipcli|VaxSIPUserAgent") { # silent drop for scanners - uncomment next line if want to reply # sl_send_reply("200", "OK"); exit; } -#!endif if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops");