Hi Ivan,<div><br></div><div>Hmm, on my ubuntu system - I am not able to execute a basic perl module from freeradius.</div><div>It is freeradius version 1.1.7 (installed using apt-get install freeradius)</div><div><br></div>
<div>When i start freeradius with -X option, I am not seeing any indication of rlm_perl being loaded.</div><div><br></div><div>(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). </div>
<div><br></div><div>Any inputs with this?</div><div><br></div><div>Thanks</div><div>-a<br><br><div class="gmail_quote">On Mon, Dec 8, 2008 at 6:31 PM,  <span dir="ltr"><<a href="mailto:tnt@kalik.net">tnt@kalik.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">>Sat Aug 16 19:02:04 2008<br>
><br>
>        NAS-IP-Address = <a href="http://101.101.101.3" target="_blank">101.101.101.3</a><br>
><br>
>        Acct-Status-Type = Interim-Update<br>
><br>
>        Acct-Session-Id = "I=2        20+000000\000\000\000\t"<br>
><br>
>        CableLabs-Event-Message =<br>
>0x0004493d32202020202020202032302b30303030303000000009000100012020202020202032302b3030303030300000004032303038313230383134343133362e3030300000000880000600<br>
><br>
>        CableLabs-Direction-indicator = 0x0001<br>
><br>
>        CableLabs-MTA-Endpoint-Name = "MTA Endpoint"<br>
><br>
>        CableLabs-Calling-Party-Number = "                sipp"<br>
><br>
>        CableLabs-Called-Party-Number = "             service"<br>
><br>
>        CableLabs-Routing-Number = "             service"<br>
><br>
>        CableLabs-Attr-87 = 0x0003<br>
><br>
>        CableLabs-Event-Message =<br>
>0x0004493d32202020202020202032302b3030303030300000000a000100012020202020202032302b3030303030300000004132303038313230383134343133362e3030300000000880000600<br>
><br>
>        CableLabs-Direction-indicator = 0x0002<br>
><br>
>        CableLabs-MTA-Endpoint-Name = "MTA Endpoint"<br>
><br>
>        CableLabs-Calling-Party-Number = "                sipp"<br>
><br>
>        CableLabs-Called-Party-Number = "             service"<br>
><br>
>        CableLabs-Routing-Number = "             service"<br>
><br>
>        CableLabs-Attr-87 = 0x0003<br>
><br>
>        Client-IP-Address = <a href="http://101.101.101.3" target="_blank">101.101.101.3</a><br>
><br>
>        Acct-Unique-Session-Id = "b9e905ab4cefd846"<br>
><br>
>        Timestamp = 1218927724<br>
><br>
><br>
<br>
</div>OK I get it. So your attribute *is* an octet string.<br>
<div class="Ih2E3d"><br>
>Both the instances of "Cablelabs-Event-Message" should translate to things<br>
>like<br>
><br>
>Version-ID (4 bytes), BCID (24 bytes), Signaling_Start, ...<br>
><br>
<br>
</div>You will have to do the translation yourself. You can use perl module and<br>
store the result in a self defined attribute (have a look at<br>
raddb/dictionary) and use linelog to print it out.<br>
<div class="Ih2E3d"><br>
Ivan Kalik<br>
Kalik Informatika ISP<br>
<br>
</div><div><div></div><div class="Wj3C7c">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>