[SR-Users] auth_radius - Segmentation fault

Juha Heinanen jh at tutpro.com
Sun Jun 13 10:10:42 CEST 2010


Dmitry Kirillov writes:

> Program received signal SIGSEGV, Segmentation fault.
> 0x2880c2c0 in qop () from /usr/local/lib/ser/modules_s/auth.so
> (gdb) bt
> #0 0x2880c2c0 in qop () from /usr/local/lib/ser/modules_s/auth.so
> #1 0x28816555 in authorize (_msg=0x8343b58, _realm=0x0, _uri_user=0x0, 
> _hftype=15) at authorize.c:102
> #2 0x288163e8 in radius_proxy_authorize_1 (_msg=0x8343b58, _realm=0x0, 
> _s2=0x0) at authorize.c:157

i'm not sure what is going on.  looks like you are using s version of
auth module, but there pre_auth has five params:

auth_result_t pre_auth(struct sip_msg* msg, str* realm, hdr_types_t hftype,
						struct hdr_field**  hdr, check_auth_hdr_t check_auth_hdr)

whereas the above seems to indicate that k version of auth module is in
use where pre_auth has four params:

auth_result_t pre_auth(struct sip_msg* _m, str* _realm, hdr_types_t _hftype,
					struct hdr_field** _h)

anyway, i only have experience with kamailio_3.0 radius auth, which has
worked fine.  perhaps you can try with that too.

-- juha



More information about the sr-users mailing list