<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; =
charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version =
6.5.7638.1">
<TITLE>RE: FW: [dhcptest:00173] Re: Tests that check for DNS and Domain =
Search Options</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi Hideshi,<BR>
<BR>
The revised files you sent do appear to work properly.<BR>
<BR>
However, I think there are a few more tests that have problems.<BR>
<BR>
These two test pass, even though our DECLINE messages include both =
options 23 and 24:<BR>
<BR>
&nbsp;C_RFC3646_5_InvDecDnsSchLstOpt.seq<BR>
&nbsp;C_RFC3646_5_InvDecDnsSvrOpt.seq<BR>
<BR>
I suspect that the options_exist() method of DHCPv6_common.pm may be =
flawed.<BR>
<BR>
These four other tests, below, are similarly written, but I can't say if =
there is anything wrong with them because our product doesn't yet send =
CONFIRM and RELEASE messages when it should:<BR>
<BR>
&nbsp;C_RFC3646_5_InvCnfDnsSchLstOpt.seq<BR>
&nbsp;C_RFC3646_5_InvCnfDnsSvrOpt.seq<BR>
&nbsp;C_RFC3646_5_InvRelDnsSchLstOpt.seq<BR>
&nbsp;C_RFC3646_5_InvRelDnsSvrOpt.seq<BR>
<BR>
Thanks.<BR>
<BR>
--<BR>
Scott Langley<BR>
Adecco Technical<BR>
slangley@tadboise.com<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Hideshi Enokihara [<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 and =
Domain Search Options<BR>
<BR>
Hello Scott,<BR>
<BR>
Thank you for your report.<BR>
<BR>
Please use attached files instead of original files.<BR>
Then, could you let me know that these scripts work well or not, =
please?<BR>
<BR>
Thank you for your cooperation.<BR>
<BR>
Regards,<BR>
...Hideshi<BR>
<BR>
On Tue, 5 Jun 2007 09:48:46 +0900<BR>
&lt;Hideshi.Enokihara@jp.yokogawa.com&gt; wrote:<BR>
<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt; -----Original Message-----<BR>
&gt; From: Scott Langley [<A =
HREF="mailto:slangley@tadboise.com">mailto:slangley@tadboise.com</A>]<B=
R>
&gt; Sent: Tuesday, June 05, 2007 9:44 AM<BR>
&gt; To: dhcptest@tahi.org<BR>
&gt; Subject: RE: [dhcptest:00173] Re: Tests that check for DNS and =
Domain<BR>
&gt; Search Options<BR>
&gt;<BR>
&gt; Hi Hideshi,<BR>
&gt;<BR>
&gt; These are probably the test that would fail due to this reason, =
from the<BR>
&gt; results of doing a grep search:<BR>
&gt;<BR>
&gt; PCBSD# grep '!= 23' *.seq<BR>
&gt;<BR>
&gt; C_RFC3646_3_DnsSvrOpt.seq:if($sol{$optionCode} != 23){<BR>
&gt; C_RFC3646_3_DnsSvrOpt_Reb.seq:if($reb{$optionCode} != 23){<BR>
&gt; C_RFC3646_3_DnsSvrOpt_Ren.seq:if($ren{$optionCode} != 23){<BR>
&gt; C_RFC3646_3_DnsSvrOpt_Req.seq:if($req{$optionCode} != 23){<BR>
&gt; C_RFC3646_3_DnsSvrOpt_Sol.seq:if($sol{$optionCode} != 23){<BR>
&gt;<BR>
&gt; PCBSD# grep '!= 24' *.seq<BR>
&gt;<BR>
&gt; C_RFC3646_3_DnsSchLstOpt_Reb.seq:if($reb{$optionCode} != 24){<BR>
&gt; C_RFC3646_3_DnsSchLstOpt_Ren.seq:if($ren{$optionCode} != 24){<BR>
&gt; C_RFC3646_3_DnsSchLstOpt_Req.seq:if($req{$optionCode} != 24){<BR>
&gt; C_RFC3646_3_DnsSchLstOpt_Sol.seq:if($sol{$optionCode} != 24){<BR>
&gt; C_RFC3646_4_DnsSchLstOpt.seq:if($sol{$optionCode} != 24){<BR>
&gt;<BR>
&gt;<BR>
&gt; -----Original Message-----<BR>
&gt; From: Hideshi.Enokihara@jp.yokogawa.com<BR>
&gt; [<A =
HREF="mailto:Hideshi.Enokihara@jp.yokogawa.com">mailto:Hideshi.Enokihar=
a@jp.yokogawa.com</A>]<BR>
&gt; Sent: Mon 6/4/2007 6:14 PM<BR>
&gt; To: dhcptest@tahi.org<BR>
&gt; Subject: [dhcptest:00173] Re: Tests that check for DNS and Domain =
Search<BR>
&gt; Options<BR>
&gt;&nbsp;<BR>
&gt; Hello Scott,<BR>
&gt;&nbsp;<BR>
&gt; Yes, we have to fix these bugs as soon as possible.<BR>
&gt; Could you let me know the numbers (or titles) of the tests, if you =
have<BR>
&gt; time, please?<BR>
&gt; It will help us to fix the bugs.<BR>
&gt;&nbsp;<BR>
&gt; regards,<BR>
&gt; ...Hideshi<BR>
&gt;<BR>
&gt;<BR>
&gt; ________________________________<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: Bernie Volz (volz) [<A =
HREF="mailto:volz@cisco.com">mailto:volz@cisco.com</A>]<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Tuesday, June 05, 2007 5:33 =
AM<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: dhcptest@tahi.org<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: [dhcptest:00172] Re: Tests =
that check for DNS and<BR>
&gt; Domain Search Options<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order of the options should not =
matter (either in the ORO or in<BR>
&gt; the Advertise/Reply). So, if the test code is order dependent, it =
should<BR>
&gt; be fixed.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Bernie<BR>
&gt;<BR>
&gt; ________________________________<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: Scott Langley [<A =
HREF="mailto:slangley@tadboise.com">mailto:slangley@tadboise.com</A>]<B=
R>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Monday, June 04, 2007 3:56 =
PM<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: dhcptest@tahi.org<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: [dhcptest:00171] Tests that =
check for DNS and Domain<BR>
&gt; Search Options<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hello,<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Many of the tests in the RFC 3646 =
and RFC 3736 sections of the<BR>
&gt; DHCPv6 Self Test Suite 1.01 (and earlier) are failing for us for =
the<BR>
&gt; wrong reason.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The way our (client) product is =
currently behaving it requests<BR>
&gt; these options:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13 OPTION_STATUS_CODE<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12 OPTION_UNICAST<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23 OPTION_DNS_SERVERS<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24 OPTION_DOMAIN_LIST<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 OPTION_PREFERENCE<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Many tests, for example, RFC 3646 - =
Test DHCP_CONF.4.1.1: Option<BR>
&gt; Request option Format<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PartA: Option request Option =
Format(DNS Recursive Name Server<BR>
&gt; option)<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fail because option 13 is not option =
23, according to the code:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if($sol($optionCode != 23) {<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; # Logging of failure =
message.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shouldn't the test be re-written to =
check whether or not option<BR>
&gt; 23 is among the options requested<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rather than whether or not it is the =
first option requested?<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Also, I know our client shouldn't be =
requesting option 12,<BR>
&gt; Server Unicast, as that option should only appear in Reply =
messages<BR>
&gt; coming from a server.&nbsp; I don't think you have any tests yet =
that check<BR>
&gt; for the appearance of options in different message types as =
described in<BR>
&gt; Appendix A of RFC3315.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A =
HREF="http://tools.ietf.org/html/rfc3315#page-98">http://tools.ietf.org=
/html/rfc3315#page-98</A><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Scott Langley<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Adecco Technical<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; slangley@tadboise.com<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
--<BR>
*************************************<BR>
Hideshi Enokihara<BR>
IPv6 Business<BR>
Network &amp; Software Development Dept.<BR>
Yokogawa Electric Corporation<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>