Hi!
I've spent five days at SIPit 30 testing Kamailio on a tiny Asus EEE-netbook. It's been great, and apart from the bug hitting me while using outbound, we've done great in all tests.
During the proxy doom test today, the netbook processed way over 50.000 messages in a single INVITE transaction that spiralled and looped and behaved in funny ways, and the CPU still had a lot of power to do other things. The hub we used was the limiting factor.
Kamailio 4.0.0 beta was involved in all multiparty tests, from TLS and RTCweb to forking, spiralling and proxy doom. We proved that we have a solid product that can handle all kind of scenarious, even TCP overflow attacks.
Thanks for all the help over jabber, IRC and other means!
Special thank you to Fred Posner who contributed a Big Fred Cookie!
Have a great weekend!
/O
Hi all,
Issue on recent Kamailio 4.0 GIT
On a recent changes, you add this on modules/tm/t_msgbuilder.c
+ if(headers==NULL || headers->len<15 + || strnstr(headers->s, "Max-Forwards:", headers->len)==NULL) + memapp(w, MAXFWD_HEADER, MAXFWD_HEADER_LEN); /* Max-forwards */ +
This cause the following error on build :
CC (gcc) [M tm.so] t_msgbuilder.o t_msgbuilder.c: In function 'build_uac_req': t_msgbuilder.c:1545: warning: implicit declaration of function 'strnstr' t_msgbuilder.c:1545: warning: comparison between pointer and integer
And Kamailio refuse to load the tm.so module
ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/lib64/kamailio/modules/tm.so>: /usr/lib64/kamailio/modules/tm.so: undefined symbol: strnstr
Hello Joel,
First, this should be in a new thread.
Strnstr() is a BSD only exception so I presume you are buiding on Linux agains Glibc. Because the scarcity of the implementation I will add a own implementation based on the BSD one. Will commit soon. Marius
On Fri, Feb 22, 2013 at 8:41 PM, Joel Vandal joel@scopserv.com wrote:
Hello Joel,
Fixed in commit 402e44.
Marius
On Sat, Feb 23, 2013 at 2:38 PM, Marius Zbihlei mariuszbi@gmail.com wrote:
Hi Marius,
Thanks ! Sorry for wrong thread subject, do a reply and miss to change subject.
23 feb 2013 kl. 17:58 skrev Joel Vandal joel@scopserv.com:
Hi Marius,
Thanks ! Sorry for wrong thread subject, do a reply and miss to change subject.
You should not do a reply at all, as that breaks the flow for people who use threaded mail readers. You need to post a new message to the list :-)
Cheers, /O