[Serusers] FreeRadius brokes down during "Accounting Request"

tzieleniewski tzieleniewski at o2.pl
Wed Feb 7 22:35:36 CET 2007


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 at 192.168.1.2"
        Sip-To-Tag = "795669631"
        SER-From = "tomix <sip:tomix at tezet.no-ip.org:7060>;tag=795669631"
        SER-Flags = 12
        SER-Original-Request-ID = "sip:tomix at tezet.no-ip.org"
        Sip-Method = "INVITE"
        Sip-Cseq = 51319
        Sip-Translated-Request-ID = "sip:tomix at 192.168.1.2:7060"
        Sip-Source-IP-Address = 192.168.1.2
        Sip-From-Tag = "795669631"
        SER-To = "<sip:tomix at tezet.no-ip.org>;tag=795669631"
        SER-Digest-Username = "tomix"
        SER-Request-Timestamp = 1170882487
        Calling-Station-Id = "sip:tomix at 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 at 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
}






More information about the sr-users mailing list