<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE>RE: FW: =
[dhcptest:00173] Re: Tests that check for DNS and Domain Search =
Options</TITLE>
<META http-equiv=Content-Type content="text/html; =
charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* { BEHAVIOR: url(#default#VML)
}
o\:* { BEHAVIOR: url(#default#VML)
}
w\:* { BEHAVIOR: url(#default#VML)
}
.shape { BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><!--[if !mso]>
<STYLE>st1\:* { BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face { font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link { COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline
}
A:visited { COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed { COLOR: blue; TEXT-DECORATION: underline
}
P { FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: =
"Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 { FONT-WEIGHT: normal; COLOR: navy; FONT-STYLE: normal; FONT-FAMILY: =
Arial; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 { page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007>Hello Scott,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007>Thank you for your concrete
reports!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007>I will fix these problem as soon as
possible.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007>But I think that following correction is =
enough for the
test purpose.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007></SPAN></FONT> </DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">C_RFC3646_5_InvDecDnsSchLstOpt.seq:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">$ret = =
options_exist(\%dec,
($CMP_DNS_LST));<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">if($ret ==
0){<o:p></o:p></SPAN></FONT></P><P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
vLogHTML('<FONT COLOR="#FF0000">DHCPv6 Client should not send =Decline with
Domain Search List
option!</FONT><BR>');<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
dhcpExitFail;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">C_RFC3646_5_InvDecDnsSvrOpt.seq:
(note the removal of $CMP_CID)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">$ret = =
options_exist(\%dec,
($CMP_DNS_<SPAN =
class=299393700-15062007>SVR</SPAN>));<o:p></o:p></SPAN></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">if($ret ==
0){<o:p></o:p></SPAN></FONT></P><P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
vLogHTML('<FONT COLOR="#FF0000">DHCPv6 Client should not send =Decline with
DNS Recursive Name Server
option!</FONT><BR>');<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
dhcpExitFail;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">}<o:p></o:p></SPAN></FONT></P>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=299393700-15062007></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN =
class=299393700-15062007>What do you
think?</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=299393700-15062007></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN =
class=299393700-15062007>Best
regards,</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=ja dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Peter Carney =
[mailto:pcarney@treck.com]
<BR><B>Sent:</B> Friday, June 15, 2007 6:29 AM<BR><B>To:</B> =
Enokihara,
Hideshi (Hideshi.Enokihara@jp.yokogawa.com)<BR><B>Cc:</B>
dhcptest@tahi.org<BR><B>Subject:</B> RE: [dhcptest:00178] Re: FW: Re: =
Tests
that check for DNS and Domain Search Options<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Hideshi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I agree =
with
Scott.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The =
function
options_exist() that is defined in DHCP_common.pm has two possible =
return
values: 0 and 1.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">It will =
return 0 if
<B><SPAN style="FONT-WEIGHT: bold">all</SPAN></B> of the options
exist.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">It will =
return 1 if
<B><SPAN style="FONT-WEIGHT: bold">any</SPAN></B> of the options do =
not
exist.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Taking
C_RFC3646_5_InvDecDnsSvrOpt.seq as an example, it calls =
options_exist() with
($CMP_CID|$CMP_DNS_SVR).<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This will =
return with
a 0 (and therefore cause the test to fail) only if both of these =
options
exist, if only one of the options is present then this will return =
with a 1
(and the test will still pass). I believe this to be =
incorrect. If
either of these options is present the test should
fail.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Also, with
C_RFC3646_5_InvDecDnsSvrOpt.seq, checking for the presence of a Client =
Identifier option is incorrect. From RFC3315, a Decline message =
MUST be
discarded by a server if it does not include a Client Identifier
option.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Finally, =
with
C_RFC3646_5_InvDecDnsSchLstOpt.seq, I believe that it should check not =
only
for $CMP_DNS_LST but also for $CMP_DNS_SVR as
well.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Because =
testing for
this is based on logic that requires a failure if any of the options =
do exist
(which is different from the return values of options_exist() when =
called with
multiple options) it is required that you call the options_exist() =
function
one time for each option you are checking =
for.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Here is how =
I believe
it should look:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">C_RFC3646_5_InvDecDnsSchLstOpt.seq:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">$ret =
options_exist(\%dec, ($CMP_DNS_LST));<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">if ($ret != 0) =
{<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"> $ret =
options_exist(\%dec, ($CMP_DNS_SVR));<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">if($ret ==
0){<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
vLogHTML('<FONT COLOR="#FF0000">DHCPv6 Client should not send =Decline
with Domain Search List option and/or DNS Recursive Name Server
option!</FONT><BR>');<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
dhcpExitFail;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">C_RFC3646_5_InvDecDnsSvrOpt.seq:
(note the removal of $CMP_CID)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">$ret =
options_exist(\%dec, ($CMP_DNS_LST));<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">if ($ret != 0) =
{<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"> $ret =
options_exist(\%dec, ($CMP_DNS_SVR));<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">if($ret ==
0){<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
vLogHTML('<FONT COLOR="#FF0000">DHCPv6 Client should not send =Decline
with Domain Search List option and/or DNS Recursive Name Server
option!</FONT><BR>');<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">
dhcpExitFail;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Please let =
me know
your thoughts.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=navy =
size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: =
navy"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=navy =
size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: =
navy"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thank
you,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><st1:PersonName w:st="on"><FONT face=Arial =
color=navy
size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Peter
Carney</SPAN></FONT></st1:PersonName><FONT face=Arial color=navy =
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Development =
Engineer<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Treck
Inc.<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><A
href="http://www.treck.com"><FONT color=navy><SPAN
style="COLOR: =
navy">http://www.treck.com</SPAN></FONT></A></SPAN></FONT><FONT
face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p></o:p></SPAN></FONT></P></DIV></DIV>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" =
align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma"> Scott
Langley [mailto:slangley@tadboise.com] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, June 05, 2007 =
9:53
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
Hideshi.Enokihara@jp.yokogawa.com<BR><B><SPAN
style="FONT-WEIGHT: bold">Cc:</SPAN></B> =
dhcptest@tahi.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [dhcptest:00178] Re: =
FW: Re:
Tests that check for DNS and Domain Search
Options</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P style="MARGIN-BOTTOM: 12pt"><FONT face="Times New Roman" =
size=2><SPAN
style="FONT-SIZE: 10pt">Hi Hideshi,<BR><BR>I think I agree with your =
thoughts
about what the tests should do. <BR><BR>The problem is that our =
client
device does include options 23 and 24 in its Decline packets - and yet =
the
Tahi Tests reports that they "PASS" these tests. I would expect =
our
product to fail these =
tests.<BR><BR>Regards,<BR><BR>Scott<BR><BR>-----Original
Message-----<BR>From: Hideshi.Enokihara@jp.yokogawa.com [<A
=
href="mailto:Hideshi.Enokihara@jp.yokogawa.com">mailto:Hideshi.Enokihar=
a@jp.yokogawa.com</A>]<BR>Sent:
Tue 6/5/2007 7:07 PM<BR>To: Scott Langley<BR>Cc: =
dhcptest@tahi.org<BR>Subject:
RE: FW: [dhcptest:00173] Re: Tests that check for DNS and Domain =
Search
Options<BR><BR>Hello Scott,<BR><BR>Thank you for your =
report.<BR><BR>But,
these tests that you mentioned are correct, I think.<BR><BR>These =
tests focus
on following statements in RFC
3646.<BR><BR>----------------------------<BR>5. Appearance of =
these
options<BR><BR> The DNS Recursive Name Server option MUST =
NOT
appear in any other<BR> than the following messages: =
Solicit,
Advertise, Request, Renew,<BR> Rebind, =
Information-Request, and
Reply.<BR><BR> The Domain Search List option MUST NOT =
appear in
any other than the<BR> following messages: Solicit, =
Advertise,
Request, Renew, Rebind,<BR> Information-Request, and
Reply.<BR>----------------------------<BR><BR>So, these tests really =
expect
that the message does not include DNS<BR>Recursive Name Server =
option/Domain
Search List
=
option.<BR><BR>regards,<BR>...Hideshi<BR>________________________________=
<BR><BR>
From: Scott Langley [<A
=
href="mailto:slangley@tadboise.com">mailto:slangley@tadboise.com</A>]<B=
R>
Sent: Wednesday, June 06, 2007 2:17
AM<BR> To: Enokihara, =
Hideshi
=
(Hideshi.Enokihara@jp.yokogawa.com)<BR> &nbs=
p;
Cc: dhcptest@tahi.org<BR> =
Subject:
RE: FW: [dhcptest:00173] Re: Tests that check for DNS<BR>and Domain =
Search
=
Options<BR> <BR> &nbs=
p; <BR><BR> &nb=
sp;
Hi
=
Hideshi,<BR> <BR> &nb=
sp;
The revised files you sent do appear to work
=
properly.<BR> <BR> &n=
bsp;
However, I think there are a few more tests that have
=
problems.<BR> <BR> &n=
bsp;
These two test pass, even though our DECLINE messages include<BR>both =
options
23 and
=
24:<BR> <BR> &n=
bsp;
=
C_RFC3646_5_InvDecDnsSchLstOpt.seq<BR>  =
;
=
C_RFC3646_5_InvDecDnsSvrOpt.seq<BR> &n=
bsp;<BR>
I suspect that the options_exist() method of DHCPv6_common.pm<BR>may =
be
=
flawed.<BR> <BR> &nbs=
p;
These four other tests, below, are similarly written, but I<BR>can't =
say if
there is anything wrong with them because our product<BR>doesn't yet =
send
CONFIRM and RELEASE messages when it
=
should:<BR> <BR> &nbs=
p;
=
C_RFC3646_5_InvCnfDnsSchLstOpt.seq<BR>  =
;
=
C_RFC3646_5_InvCnfDnsSvrOpt.seq<BR> &n=
bsp;
=
C_RFC3646_5_InvRelDnsSchLstOpt.seq<BR>  =
;
=
C_RFC3646_5_InvRelDnsSvrOpt.seq<BR> &n=
bsp;<BR>
=
Thanks.<BR> <BR> &nbs=
p;
--<BR> Scott
Langley<BR> Adecco
Technical<BR>
=
slangley@tadboise.com<BR> <BR>&n=
bsp; <BR>  =
;
-----Original =
Message-----<BR> From:
Hideshi Enokihara<BR>[<A
=
href="mailto:Hideshi.Enokihara@jp.yokogawa.com">mailto:Hideshi.Enokihar=
a@jp.yokogawa.com</A>]<BR>
Sent: Mon 6/4/2007 7:15 =
PM<BR> To:
Scott Langley<BR> Cc:
dhcptest@tahi.org<BR> =
Subject: Re:
FW: [dhcptest:00173] Re: Tests that check for DNS<BR>and Domain Search =
=
Options<BR> <BR> &nbs=
p;
Hello
=
Scott,<BR> <BR>  =
;
Thank you for your
=
report.<BR> <BR> &nbs=
p;
Please use attached files instead of original
files.<BR> Then, could you =
let me
know that these scripts work well or
=
not,<BR>please?<BR> <BR> &n=
bsp;
Thank you for your
=
cooperation.<BR> <BR>  =
;
Regards,<BR>
=
...Hideshi<BR> <BR> &=
nbsp;
On Tue, 5 Jun 2007 09:48:46
+0900<BR>
<Hideshi.Enokihara@jp.yokogawa.com>
=
wrote:<BR> <BR>  =
;
><BR>
><BR> > -----Original
Message-----<BR> > From: =
Scott
Langley [<A
=
href="mailto:slangley@tadboise.com">mailto:slangley@tadboise.com</A>]<B=
R>
> Sent: Tuesday, June 05, 2007 9:44
AM<BR> > To:
dhcptest@tahi.org<BR> > =
Subject:
RE: [dhcptest:00173] Re: Tests that check for DNS
and<BR>Domain<BR> > =
Search
Options<BR>
><BR> > Hi
Hideshi,<BR>
><BR> > These are =
probably the
test that would fail due to this<BR>reason, from
the<BR> > results of =
doing a grep
search:<BR>
><BR> > PCBSD# grep =
'!= 23'
*.seq<BR>
><BR> >
C_RFC3646_3_DnsSvrOpt.seq:if($sol{$optionCode} != 23){<BR> > C_RFC3646_3_DnsSvrOpt_Reb.seq:if($reb{$optionCode} != 23){<BR> > C_RFC3646_3_DnsSvrOpt_Ren.seq:if($ren{$optionCode} != 23){<BR> > C_RFC3646_3_DnsSvrOpt_Req.seq:if($req{$optionCode} != 23){<BR> > C_RFC3646_3_DnsSvrOpt_Sol.seq:if($sol{$optionCode} != 23){<BR> ><BR> > PCBSD# grep =
'!= 24'
*.seq<BR>
><BR> >
C_RFC3646_3_DnsSchLstOpt_Reb.seq:if($reb{$optionCode} != 24){<BR> > C_RFC3646_3_DnsSchLstOpt_Ren.seq:if($ren{$optionCode} != 24){<BR> > C_RFC3646_3_DnsSchLstOpt_Req.seq:if($req{$optionCode} != 24){<BR> > C_RFC3646_3_DnsSchLstOpt_Sol.seq:if($sol{$optionCode} != 24){<BR> > C_RFC3646_4_DnsSchLstOpt.seq:if($sol{$optionCode} != 24){<BR> ><BR>
><BR> > -----Original
Message-----<BR> > From:
=
Hideshi.Enokihara@jp.yokogawa.com<BR> =
> [<A
=
href="mailto:Hideshi.Enokihara@jp.yokogawa.com">mailto:Hideshi.Enokihar=
a@jp.yokogawa.com</A>]<BR>
> Sent: Mon 6/4/2007 6:14 =
PM<BR>
> To: =
dhcptest@tahi.org<BR> >
Subject: [dhcptest:00173] Re: Tests that check for DNS and<BR>Domain
Search<BR> >
Options<BR>
><BR> > Hello
Scott,<BR>
><BR> > Yes, we have =
to fix
these bugs as soon as =
possible.<BR>
> Could you let me know the numbers (or titles) of the tests, =
if<BR>you
have<BR> > time,
please?<BR> > It will =
help us to
fix the bugs.<BR>
><BR> >
regards,<BR> >
...Hideshi<BR>
><BR>
><BR> >
=
________________________________<BR> &=
nbsp;
><BR>
> From: Bernie Volz (volz) [<A
=
href="mailto:volz@cisco.com">mailto:volz@cisco.com</A>]<BR> =
> Sent: Tuesday, June 05, 2007 =
5:33
AM<BR>
> To:
dhcptest@tahi.org<BR>
> Subject: [dhcptest:00172] Re: =
Tests
that check for =
DNS<BR>and<BR> >
Domain Search Options<BR>
=
> <BR>  =
;
=
> <BR>  =
;
> Order of the options should =
not
matter (either in the<BR>ORO or
in<BR> > the =
Advertise/Reply).
So, if the test code is order dependent,<BR>it
should<BR> > be
fixed.<BR>
=
> <BR>  =
;
> -
Bernie<BR>
><BR> >
=
________________________________<BR> &=
nbsp;
><BR>
> From: Scott Langley [<A
=
href="mailto:slangley@tadboise.com">mailto:slangley@tadboise.com</A>]<B=
R>
> Sent: Monday, June 04, 2007 =
3:56
PM<BR>
> To:
dhcptest@tahi.org<BR>
> Subject: [dhcptest:00171] =
Tests that
check for DNS =
and<BR>Domain<BR> >
Search Options<BR>
=
> <BR>  =
;
=
> <BR>  =
;
><BR>
>
Hello,<BR>
=
> <BR>  =
;
> Many of the tests in the RFC =
3646 and
RFC 3736 sections<BR>of =
the<BR> >
DHCPv6 Self Test Suite 1.01 (and earlier) are failing for us<BR>for
the<BR> > wrong
reason.<BR>
=
> <BR>  =
;
> The way our (client) product =
is
currently behaving
it<BR>requests<BR> > =
these
options:<BR>
=
> <BR>  =
;
> 13
OPTION_STATUS_CODE<BR>
> 12
OPTION_UNICAST<BR>
> 23
OPTION_DNS_SERVERS<BR>
> 24
OPTION_DOMAIN_LIST<BR>
> 7
OPTION_PREFERENCE<BR>
=
> <BR>  =
;
> Many tests, for example, RFC =
3646 -
Test<BR>DHCP_CONF.4.1.1: =
Option<BR>
> Request option =
Format<BR>
> PartA: Option request Option
Format(DNS Recursive
Name<BR>Server<BR> >
option)<BR>
=
> <BR>  =
;
> fail because option 13 is not =
option
23, according to<BR>the =
code:<BR>
=
> <BR>  =
;
> if($sol($optionCode != 23)
{<BR> > # Logging of =
failure
message.<BR>
>
}<BR>
=
> <BR>  =
;
> Shouldn't the test be =
re-written to
check whether or =
not<BR>option<BR>
> 23 is among the options
requested<BR>
> rather than whether or not it =
is the
first =
option<BR>requested?<BR>
=
> <BR>  =
;
> Also, I know our client =
shouldn't be
requesting option<BR>12,<BR> =
>
Server Unicast, as that option should only appear in
Reply<BR>messages<BR> > =
coming
from a server. I don't think you have any tests yet<BR>that
check<BR> > for the =
appearance of
options in different message types as<BR>described
in<BR> > Appendix A of
RFC3315.<BR>
=
> <BR>  =
;
> <A
=
href="http://tools.ietf.org/html/rfc3315#page-98">http://tools.ietf.org=
/html/rfc3315#page-98</A><BR>
=
> <BR>  =
;
>
Thanks.<BR>
=
> <BR>  =
;
> Scott
Langley<BR>
> Adecco
Technical<BR>
>
slangley@tadboise.com<BR>
=
> <BR>  =
;
=
> <BR>  =
;
><BR>
><BR>
=
><BR> <BR> &=
nbsp; <BR>
--<BR>
=
*************************************<BR> &n=
bsp;
Hideshi Enokihara<BR> IPv6
Business<BR> Network & =
Software
Development Dept.<BR> =
Yokogawa
Electric
=
Corporation<BR> <BR> =
<BR><BR></SPAN></FONT><o:p></o:p></P></DIV>=
<!--[object_id=#treck.com#]--><FONT
face=Tahoma size=2><FONT color=#0000ff></FONT></FONT>
<P align=center>Treck, Inc. - Confidentiality Notice</P>
<P align=center>This electronic transmission may contain information =
that is
proprietary or<BR> confidential. You are hereby notified that any =
dissemination,<BR> distribution or duplication of this electronic =
transmission to some other<BR> entity, without the expressed =
written
consent of Treck, Inc. is strictly<BR> prohibited, unless the =
contents of
this electronic transmission<BR> specifically authorizes you to =
do so. If
your receipt of this electronic<BR> transmission is in error, =
please
notify the corporate offices of Treck,<BR> Inc. immediately by =
calling
(513) 528-5732, or by reply to<BR> this transmission.<BR></P>
<P align=center></P></BLOCKQUOTE></BODY></HTML>