Can you double check that latest version is used for testing?
You can also run with debug=3 and provide the logs printed by core and
sanity module.
Daniel
On 15.03.22 11:13, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Try again with a fresh master, let's see if
this time catches it.
I tried, but still not catching the invalid from URI. I
added some more
debug:
modparam("sanity", "default_checks", 1024)
modparam("sanity", "uri_checks", 3) /* RURI, From */
modparam("sanity", "autodrop", 0)
if (!sanity_check()) {
xnotice("Request from <$var(src_ip)> has invalid syntax\n");
exit;
} else {
xinfo("$rm <$ru> from <$fu> is OK\n");
};
and got to syslog:
Mar 15 12:11:38 /usr/bin/sip-proxy[2998746]: INFO: OPTIONS
<sip:test@test.tutpro.com> from <sip:@192.168.255.95:5062> is OK
-- Juha