kamailio.cfg: filter out sip scanner even when anti-flood is not enabled
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 7 Aug 2017 12:21:08 +0000 (14:21 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 7 Aug 2017 12:21:08 +0000 (14:21 +0200)
- better protection with default installation

etc/kamailio.cfg

index bce9d41..067f0f6 100644 (file)
@@ -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");