it apeared that the problem was in the radius server in the latest cvs of radius is patch which fixes the problem
Best tomasz tzieleniewski napisał(a):
Hi!
I am trying to use radius as the accounting server for SER. I am using the latest cvs version of ottendorf. After I send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Maybe someone dealed with this problem and can point me what could be the reason for this. Here is the radius debug output:
rad_recv: Accounting-Request packet from host 127.0.0.1 port 32825, id=88, length=463 SER-Attr = "" Acct-Session-Id = "69E969D9-A757-D5D1-477F-77FEF8DAA44D@192.168.1.2" Sip-To-Tag = "795669631" SER-From = "tomix sip:tomix@tezet.no-ip.org:7060;tag=795669631" SER-Flags = 12 SER-Original-Request-ID = "sip:tomix@tezet.no-ip.org" Sip-Method = "INVITE" Sip-Cseq = 51319 Sip-Translated-Request-ID = "sip:tomix@192.168.1.2:7060" Sip-Source-IP-Address = 192.168.1.2 Sip-From-Tag = "795669631" SER-To = "sip:tomix@tezet.no-ip.org;tag=795669631" SER-Digest-Username = "tomix" SER-Request-Timestamp = 1170882487 Calling-Station-Id = "sip:tomix@tezet.no-ip.org:7060" Sip-Source-Port = 7060 SER-Digest-Realm = "tezet.no-ip.org" Sip-Response-Code = 486 Called-Station-Id = "sip:tomix@tezet.no-ip.org" SER-Response-Timestamp = 1170882487 Acct-Status-Type = Failed Service-Type = IAPP-Register NAS-Port = 5060 Acct-Delay-Time = 0 NAS-IP-Address = 127.0.0.1 Processing the preacct section of radiusd.conf modcall: entering group preacct for request 1 Naruszenie ochrony pamięci (translation -> memory segmentation fault)
(when I commented out the preprocess module form the preacct it didn't broke down but still nothig was logged in the database) My radiusd.conf file look like this:
preprocess { huntgroups = ${confdir}/huntgroups hints = ${confdir}/hints with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no }
preacct { preprocess acct_unique suffix files }
accounting { acc_req_log radutmp sql attr_filter.accounting_response }
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers