<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>I am having issue with this portion of the dictionary. The packet shows as malformed and is for some reason sending two tlv’s that seem to be mangled or merged somehow. Here is how I have this portion of my dictionary.wimax setup.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-R3-IF-Descriptor 26 tlv<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-R3-IF-Name 26.1 string<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-R3-IF-ID 26.2 octets<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-PDFID 26.3 short<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-IPv4-addr 26.4 ipaddr<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-IPv4-Netmask 26.5 ipaddr<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-DGW-IPv4-addr 26.6 ipaddr<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-DHCP-Option 26.7 tlv<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-Ref-R3-IF-Name 26.7.1 string<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>ATTRIBUTE WiMAX-DHCP-Option-Container 26.7.2 string<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I am sending <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>WiMAX-R3-IF-Name = “vpws”<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>WiMAX-PDFID = 1<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>However the length of the attribute seems wrong at least according to wireshark.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Any thoughts would be very helpful.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>David<o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeradius-users-bounces+david.peterson=acc-corp.net@lists.freeradius.org [mailto:freeradius-users-bounces+david.peterson=acc-corp.net@lists.freeradius.org] <b>On Behalf Of </b>David Peterson<br><b>Sent:</b> Monday, March 14, 2011 9:58 AM<br><b>To:</b> FreeRadius users mailing list<br><b>Subject:</b> RE: Sending attribute with sub-attributes<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoPlainText>I think I may be getting closer. What should I define this as in the dictionary:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=595 style='width:6.2in;border-collapse:collapse'><tr><td width=130 valign=top style='width:97.55pt;border:solid windowtext 1.0pt;background:#E6E6E6;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><b>TLV ID</b><b><span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></b></p></td><td width=465 valign=top style='width:348.85pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='text-align:justify'>1 for Ref-R3-IF-Name TLV<span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></p></td></tr><tr><td width=130 valign=top style='width:97.55pt;border:solid windowtext 1.0pt;border-top:none;background:#E6E6E6;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><b>Description</b><b><span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></b></p></td><td width=465 valign=top style='width:348.85pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='text-align:justify'>Reference name to bind the specified DHCP option with the particular R3-IF-Descriptor/ Service Group – specific for Multi-host scenario.<span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></p></td></tr><tr><td width=130 valign=top style='width:97.55pt;border:solid windowtext 1.0pt;border-top:none;background:#E6E6E6;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><b>Length</b><b><span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></b></p></td><td width=465 valign=top style='width:348.85pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='text-align:justify'>2 + Variable<span style='font-size:12.0pt;background:yellow;mso-highlight:yellow;mso-fareast-language:HE'><o:p></o:p></span></p></td></tr><tr><td width=130 valign=top style='width:97.55pt;border:solid windowtext 1.0pt;border-top:none;background:#E6E6E6;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><b>Value</b><b><span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></b></p></td><td width=465 valign=top style='width:348.85pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal style='text-align:justify'>ASCII string<span style='font-size:12.0pt;mso-fareast-language:HE'><o:p></o:p></span></p></td></tr></table><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I am currently using “string” and getting an unhandled integer length (which may just be a wireshark issue)<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>David<o:p></o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: freeradius-users-bounces+david.peterson=acc-corp.net@lists.freeradius.org [mailto:freeradius-users-bounces+david.peterson=acc-corp.net@lists.freeradius.org] On Behalf Of David Peterson<br>Sent: Monday, March 14, 2011 9:08 AM<br>To: FreeRadius users mailing list<br>Subject: RE: Sending attribute with sub-attributes<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>AHh ok great! <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>It appears I am on v2.2. Should I be on 3.0 to support the sub-sub tlvs needed for this NAS?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>David<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<o:p></o:p></p><p class=MsoPlainText>From:<o:p></o:p></p><p class=MsoPlainText>freeradius-users-bounces+david.peterson=acc-corp.net@lists.freeradius.or<o:p></o:p></p><p class=MsoPlainText>freeradius-users-bounces+g<o:p></o:p></p><p class=MsoPlainText>[mailto:freeradius-users-bounces+david.peterson=acc-corp.net@lists.freeradiu<o:p></o:p></p><p class=MsoPlainText>s.org] On Behalf Of Alan DeKok<o:p></o:p></p><p class=MsoPlainText>Sent: Monday, March 14, 2011 9:05 AM<o:p></o:p></p><p class=MsoPlainText>To: David Peterson-WirelessConnections; FreeRadius users mailing list<o:p></o:p></p><p class=MsoPlainText>Subject: Re: Sending attribute with sub-attributes<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>David Peterson wrote:<o:p></o:p></p><p class=MsoPlainText>> I am working on the same issue, likely with the same NAS vendor. Is <o:p></o:p></p><p class=MsoPlainText>> the order important?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> Yes. List them in order of attribute number, lowest to highest.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> Basically, the same order that they are in the dictionary.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> I am also seeing some "uknown attributes" in my pcap file.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> No... the pcap *viewer* you're using doesn't support the WiMAX attributes.<o:p></o:p></p><p class=MsoPlainText>This is not surprising. Wireshark grabbed the dictionaries from FreeRADIUS a few years ago, and haven't updated them since.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> Perhaps I<o:p></o:p></p><p class=MsoPlainText>> am on the wrong build. How do I verify if I am compiling 3.0 version?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>$ radiusd -v<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> Alan DeKok.<o:p></o:p></p><p class=MsoPlainText>-<o:p></o:p></p><p class=MsoPlainText>List info/subscribe/unsubscribe? See<o:p></o:p></p><p class=MsoPlainText><a href="http://www.freeradius.org/list/users.html"><span style='color:windowtext;text-decoration:none'>http://www.freeradius.org/list/users.html</span></a><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-<o:p></o:p></p><p class=MsoPlainText>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html"><span style='color:windowtext;text-decoration:none'>http://www.freeradius.org/list/users.html</span></a><o:p></o:p></p></div></body></html>