Hi Andreas,
2013/8/26 Andreas Granig agranig@sipwise.com:
Hi,
In modules/permissions/trusted.c in function allow_trusted_2() there is
if(proto.len!=3 && proto.len!=4) goto error;
but later it checks for "ws" which is never reached due to len=2. Also the docs don't seem to be up to date in regards to support for WS and WSS.
Unfortunately I'm travelling the next 3 days, maybe someone can quickly pick it up?
I think [0] and [1] may solve this. But I'm not so sure, I've just got home after some glasses of wine :-P
[0] http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=573... [1] http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=809...