Hi Ivan, Hmm, on my ubuntu system - I am not able to execute a basic perl module from freeradius. It is freeradius version 1.1.7 (installed using apt-get install freeradius) When i start freeradius with -X option, I am not seeing any indication of rlm_perl being loaded. (I have included a perl {} section under modules in radiusd.conf, as well as tried including the experimental.conf file which has perl module definition). Any inputs with this? Thanks -a On Mon, Dec 8, 2008 at 6:31 PM, <tnt@kalik.net> wrote:
Sat Aug 16 19:02:04 2008
NAS-IP-Address = 101.101.101.3
Acct-Status-Type = Interim-Update
Acct-Session-Id = "I=2 20+000000\000\000\000\t"
CableLabs-Event-Message =
0x0004493d32202020202020202032302b30303030303000000009000100012020202020202032302b3030303030300000004032303038313230383134343133362e3030300000000880000600
CableLabs-Direction-indicator = 0x0001
CableLabs-MTA-Endpoint-Name = "MTA Endpoint"
CableLabs-Calling-Party-Number = " sipp"
CableLabs-Called-Party-Number = " service"
CableLabs-Routing-Number = " service"
CableLabs-Attr-87 = 0x0003
CableLabs-Event-Message =
0x0004493d32202020202020202032302b3030303030300000000a000100012020202020202032302b3030303030300000004132303038313230383134343133362e3030300000000880000600
CableLabs-Direction-indicator = 0x0002
CableLabs-MTA-Endpoint-Name = "MTA Endpoint"
CableLabs-Calling-Party-Number = " sipp"
CableLabs-Called-Party-Number = " service"
CableLabs-Routing-Number = " service"
CableLabs-Attr-87 = 0x0003
Client-IP-Address = 101.101.101.3
Acct-Unique-Session-Id = "b9e905ab4cefd846"
Timestamp = 1218927724
OK I get it. So your attribute *is* an octet string.
Both the instances of "Cablelabs-Event-Message" should translate to things like
Version-ID (4 bytes), BCID (24 bytes), Signaling_Start, ...
You will have to do the translation yourself. You can use perl module and store the result in a self defined attribute (have a look at raddb/dictionary) and use linelog to print it out.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html