Hi,<div><br></div><div>I am trying to parse accounting logs of cablelabs format. Some of the attributes are octet strings which in itself contain</div><div>detailed information that is printed as a octet string by freeradius.</div>
<div><br></div><div>e.g.:</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">        CableLabs-Event-Message = 0x484153482830783833326632306329</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">        CableLabs-Related-Call-Billing-Crl-ID += 0x494b8dc32020202020202032302b3</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">0303030303000000040</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">        CableLabs-Related-Call-Billing-Crl-ID += 0x494b8dc32020202020202032302b3</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">030303030300000003f</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">        Acct-Session-Id = "IK\215\303       20+000000\000\000\000?"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">   ..... other avps' ... </p></div><div><br></div><div>With help of members on this list, I have been able to write a perl module to parse these octet strings, but am not able </div>
<div>to log them in proper place.</div><div><br></div><div>I need to log all the standard attributes (typically logged in .../Client-IP-Addr/detail-<date> file) as well as these extra </div><div>parsed attributes in one place. These are all in the accounting messages - need to achieve a consolidated log for</div>
<div>accounting messages - does not matter in which file it is.</div><div><br></div><div>How to achieve that?</div><div><br></div><div>Do I need to make a code change - if so where?</div><div>Do I need to make a change to the config files - if so which?</div>
<div>Do I need to use a specific log mechanism in the perl module - if so what?</div><div><br></div><div>Any other input/guidance to help achieve that?</div><div><br></div><div>Thank You</div><div>-a</div><div><br></div><div>
<br></div>