Disable SIP Methods
Hi all, I am looking for a way to disable certain SIP methods like "MESSAGE" for example. Is it possible to configure FS to ignore methods or send a 405 method not allowed? Currently I run iptables to block methods (like MESSAGE). We plan to implement TLS + SRTP, but that would not work with iptables anymore. Can you help me out here? Thanks in advance!
I elegant solustion is install kamailio as frontend server and filter MESAGES on it. About Iptables. I do simple - bind all sockets exept 5060,5061,5080 and similar to private IP on dedicated NIC or dummy NIC. Sergey вт, 31 мая 2016 г. в 12:23, Seeliger, Adam <Adam.Seeliger@qsc.de>:
Hi all,
I am looking for a way to disable certain SIP methods like „MESSAGE“ for example.
Is it possible to configure FS to ignore methods or send a 405 method not allowed?
Currently I run iptables to block methods (like MESSAGE).
We plan to implement TLS + SRTP, but that would not work with iptables anymore.
Can you help me out here?
Thanks in advance! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It's not exposed to configuration, but the stack does allow for this. Would require code changes.
On May 31, 2016, at 5:23 AM, Seeliger, Adam <Adam.Seeliger@qsc.de> wrote:
Hi all,
I am looking for a way to disable certain SIP methods like „MESSAGE“ for example. Is it possible to configure FS to ignore methods or send a 405 method not allowed?
Currently I run iptables to block methods (like MESSAGE). We plan to implement TLS + SRTP, but that would not work with iptables anymore.
Can you help me out here?
Thanks in advance!
participants (3)
-
Michael Jerris
-
Seeliger, Adam
-
Sergey Safarov