[Freeswitch-users] Issue with mod_event_multicast in 1.10.7

Koldo Aingeru koldo.aingeru at sarenet.es
Thu Oct 28 12:30:39 UTC 2021


Hi,

I just updated a test server from FS 1.10.6 to 1.10.7 on Debian 10 (apt update/upgrade from the official repo) and without changing anything on my config I got a buffer overflow when running "/usr/bin/freeswitch -u freeswitch -g freeswitch -c -nonat ":

*** buffer overflow detected ***: /usr/bin/freeswitch terminated
Aborted

I tried the original modules.xml that comes with the package and it starts up without problems. 

Doing a bit of trial & error with my modules.conf.xml I noticed that the problema is with the  mod_event_multicast module. Loading it from modules.conf.xml or by doing “load mod_event_multicast” result in a crash.

This is the current module:
# sha1sum /usr/lib/freeswitch/mod/mod_event_multicast.so
4daee6fa8ae8ed59c5ebc32393cb7357fead8198  /usr/lib/freeswitch/mod/mod_event_multicast.so

Overwriting the module with the 1.10.6 one seems to work:


freeswitch at pbx.mydomain <mailto:freeswitch at pbx.mydomain>.com> load mod_event_multicast
+OK Reloading XML
+OK


2021-10-28 14:21:23.038592 96.17% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_event_multicast]
2021-10-28 14:21:23.038592 96.17% [NOTICE] switch_loadable_module.c:389 Adding API Function 'multicast_peers'


but even with the module loaded the events aren't being sent to my other server, my event_multicast_conf.xml is this:


<configuration name="event_multicast.conf" description="Multicast Event">
  <settings>
    <param name="address" value="225.1.1.1"/>
    <param name="port" value="4242"/>
    <param name="bindings" value="CUSTOM sofia::register"/>
    <param name="ttl" value="1"/>
    <!-- <param name="loopback" value="no"/>-->
    <!-- Uncomment this to enable pre-shared key encryption on the packets. -->
    <!-- For this option to work, you'll need to have the openssl development -->
    <!-- headers installed when you ran ./configure -->
    <param name="psk" value=“pbx.mydomain.com"/>
  </settings>
</configuration>

I don’t see any multicast traffic being sent from this server nor the " Propagating registration for….” message.

Any idea what can be happening? 

Thanks!

========================================
Koldo Aingeru Marcos Fdez.  
Ingeniería de Sistemas
Sarenet S.A.U.
944209470
Parque Tecnológico, Edificio 103
48170 Zamudio, Bizkaia
www.sarenet.es
========================================







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211028/55dea18f/attachment-0001.html>


More information about the FreeSWITCH-users mailing list