Module: kamailio
Branch: master
Commit: 1948fa5312b8ab836ace4ab76a383ed29b049ae6
URL:
https://github.com/kamailio/kamailio/commit/1948fa5312b8ab836ace4ab76a383ed…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-08-07T14:21:08+02:00
kamailio.cfg: filter out sip scanner even when anti-flood is not enabled
- better protection with default installation
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/1948fa5312b8ab836ace4ab76a383ed…
Patch:
https://github.com/kamailio/kamailio/commit/1948fa5312b8ab836ace4ab76a383ed…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index bce9d41a7e..067f0f680e 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");