[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


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

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

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">
    <param name="address" value=""/>
    <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"/>

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

Any idea what can be happening? 


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

-------------- 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