Browse Source

kamailio.cfg: filter out sip scanner even when anti-flood is not enabled

- better protection with default installation
Daniel-Constantin Mierla 8 years ago
parent
commit
1948fa5312
1 changed files with 2 additions and 2 deletions
  1. 2 2
      etc/kamailio.cfg

+ 2 - 2
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");