Hi Fonci<br>Thanks for your attention.<br>I consulted the freeradius documentation about the problem.<br>They have mentioned that the AV pairs which contain multiple values are maintained using arrays. These arrays are available in, for example, shell scripts:
<br>example:<br>%{Cisco-AVPair[0]} references the value of the *first* Cisco-AVPair attribute (if it exists) in the request packet.<br>You can pass these values as command line arguments to your program.<br>But my problem was about fetching these types of AV pairs using getenv() in C.
<br>Example:<br>char *Cisco-AVPair;<br>if (getenv ("Cisco-AVPair"))<br>{<br> Cisco-AVPair = getenv ("Cisco-AVPair");<br>}<br>Hope this information can help.<br><br>Best Regards<br>Ali<br>
<br><br><div><span class="gmail_quote">On 9/7/06, <b class="gmail_sendername">Fonci</b> <<a href="mailto:fonci@freemail.hu">fonci@freemail.hu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ali!<br>I've seen your mail in the freeradius mailing list. I think<br>we have the same problem. Let me write here mine:<br>So I get accounting requests from a client, which contains<br>an attribute whit these TLV parameters:
<br>Type : PC_Header<br>Length: 76 bytes<br>The Problem:<br>Value : 003ab54687bcc3029a.... (152 hexadecimal numbers)<br>parts : message ID. | Event type | ....<br><br>The message ID is a random number. But I need to know the
<br>event type. But all of this are together in one attribute. I<br>want to separate these.<br>How can I catch this value, and separate them? You mentioned<br>a C program or something. Can you give me an advice, how to<br>
try, or where to find information?<br>Thank you, and<br>Regards:<br>F.<br><br>_____________________________________________________________________<br>Kamatmentes vásárlás 45 napig! Különleges mindennapok az [origo] klikkbank hitelkártyával.
<br><a href="http://www.klikkbank.hu/lakossagi/termekek/hitelkartya/index.html">http://www.klikkbank.hu/lakossagi/termekek/hitelkartya/index.html</a><br><br></blockquote></div><br>