Module: kamailio
Branch: master
Commit: e1d68c3cb8c5a0630fc81313a8bb176646e9ccb6
URL:
https://github.com/kamailio/kamailio/commit/e1d68c3cb8c5a0630fc81313a8bb176…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-04-28T15:34:44+02:00
etc: don't set fifo and ctl socket in config files
- modparams were commented, to be used as samples if needed to be
changed
- the default values are enough for proper packaging and use of run_dir
in order to avoid security exposures of /tmp dir
---
Modified: etc/kamailio-basic.cfg
Modified: etc/kamailio-oob.cfg
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/e1d68c3cb8c5a0630fc81313a8bb176…
Patch:
https://github.com/kamailio/kamailio/commit/e1d68c3cb8c5a0630fc81313a8bb176…
---
diff --git a/etc/kamailio-basic.cfg b/etc/kamailio-basic.cfg
index 55685d5..b20de64 100644
--- a/etc/kamailio-basic.cfg
+++ b/etc/kamailio-basic.cfg
@@ -191,10 +191,10 @@ loadmodule "debugger.so"
# ----- mi_fifo params -----
-modparam("mi_fifo", "fifo_name",
"/var/run/kamailio/kamailio_fifo")
+#modparam("mi_fifo", "fifo_name",
"/var/run/kamailio/kamailio_fifo")
# ----- ctl params -----
-modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
+#modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
# ----- tm params -----
# auto-discard branches from previous serial forking leg
diff --git a/etc/kamailio-oob.cfg b/etc/kamailio-oob.cfg
index db786d0..2de8a2b 100644
--- a/etc/kamailio-oob.cfg
+++ b/etc/kamailio-oob.cfg
@@ -315,10 +315,10 @@ loadmodule "xhttp_pi.so"
# ----- mi_fifo params -----
-modparam("mi_fifo", "fifo_name",
"/var/run/kamailio/kamailio_fifo")
+#modparam("mi_fifo", "fifo_name",
"/var/run/kamailio/kamailio_fifo")
# ----- ctl params -----
-modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
+#modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
# ----- tm params -----
# auto-discard branches from previous serial forking leg
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 78f6ee1..1190e80 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -288,10 +288,10 @@ loadmodule "debugger.so"
# ----- mi_fifo params -----
-modparam("mi_fifo", "fifo_name",
"/var/run/kamailio/kamailio_fifo")
+#modparam("mi_fifo", "fifo_name",
"/var/run/kamailio/kamailio_fifo")
# ----- ctl params -----
-modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
+#modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
# ----- tm params -----
# auto-discard branches from previous serial forking leg