From owner-freebsd-stable Sat Nov 4 2:43:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id 928E937B479 for ; Sat, 4 Nov 2000 02:43:24 -0800 (PST) Received: (from ler@localhost) by lerami.lerctr.org (8.11.1/8.11.1/20001028) id eA4AgJd28151; Sat, 4 Nov 2000 04:42:19 -0600 (CST) (envelope-from ler) Date: Sat, 4 Nov 2000 04:42:19 -0600 From: Larry Rosenman To: Jordan Hubbard Cc: Mark.Andrews@nominum.com, freebsd-stable@freebsd.org Subject: Re: (forw) Re: named weirdness... Message-ID: <20001104044219.A27460@lerami.lerctr.org> References: <20001103154049.A26144@lerami.lerctr.org> <26481.973334262@winston.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <26481.973334262@winston.osd.bsdi.com>; from jkh@winston.osd.bsdi.com on Sat, Nov 04, 2000 at 02:37:42AM -0800 X-Mailer: Mutt http://www.mutt.org/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Don't know. I *THOUGHT* notify was a *STANDARD* feature. All I know is that my 4.2-BETA box doesn't hear the notify from a 8.2.2-P5 nameserver. I consider this broken behavior, and part of the problem is we have TEST/BETA/UNRELEASED code as *STANDARD* in 4.2-BETA. Larry * Jordan Hubbard [001104 04:37]: > Will BIND_NOTIFY be considered a standard compilation flag? If > notthen I don't quite understand the logic and if so, I have to wonder > why it's an option at all. Thanks. > > - Jordan > > > Can this make 4.2? > > > > (we're broken now...) > > > > Thanks! > > ----- Forwarded message from Mark.Andrews@nominum.com ----- > > > > Sender: owner-freebsd-stable@FreeBSD.ORG > > From: Mark.Andrews@nominum.com > > Subject: Re: named weirdness... > > Date: Sat, 04 Nov 2000 08:41:48 +1100 > > Message-Id: <200011032141.eA3Lfmc89833@drugs.dv.isc.org> > > To: Larry Rosenman > > Cc: freebsd-stable@FreeBSD.ORG > > Reply-To: freebsd-stable@FreeBSD.ORG > > Delivered-To: freebsd-stable@freebsd.org > > > > > > The following is awaiting commit to 8.2.3 > > > > Mark > > > > Index: src/CHANGES > > =================================================================== > > RCS file: /proj/cvs/isc/bind/src/CHANGES,v > > retrieving revision 8.661 > > diff -u -r8.661 CHANGES > > --- CHANGES 2000/09/30 02:24:51 8.661 > > +++ CHANGES 2000/11/03 21:31:17 > > @@ -1,3 +1,6 @@ > > +xxxx. [bug] aa was being cleared on notify "queries" prior > to > > + testing. > > + > > 1047. [bug] req_iquery() wasn't doing a final update on buf > lenp. > > > > 1046. [port] Win/NT port improved by its author. > > Index: src/bin/named/ns_req.c > > =================================================================== > > RCS file: /proj/cvs/isc/bind/src/bin/named/ns_req.c,v > > retrieving revision 8.120 > > diff -u -r8.120 ns_req.c > > --- ns_req.c 2000/09/30 02:24:52 8.120 > > +++ ns_req.c 2000/11/03 21:31:19 > > @@ -271,7 +271,11 @@ > > * safely assume these are always 0 when a query > > * comes in. > > */ > > - hp->aa = hp->ra = 0; > > +#ifdef BIND_NOTIFY > > + if (hp->opcode != ns_o_notify) > > +#endif > > + hp->aa = 0; > > + hp->ra = 0; > > ra = (NS_OPTION_P(OPTION_NORECURSE) == 0); > > > > if (error == NOERROR) > > @@ -460,14 +464,6 @@ > > char dnbuf[MAXDNAME]; > > struct zoneinfo *zp; > > > > - /* valid notify's have one question */ > > - if (ntohs(hp->qdcount) != 1) { > > - ns_debug(ns_log_notify, 1, > > - "FORMERR Notify header counts wrong"); > > - hp->rcode = ns_r_formerr; > > - return (Finish); > > - } > > - > > /* valid notify's are authoritative */ > > if (!hp->aa) { > > ns_debug(ns_log_notify, 1, > > @@ -476,6 +472,15 @@ > > hp->rcode = ns_r_formerr; > > return (Finish); > > #endif > > + } > > + hp->aa = 0; > > + > > + /* valid notify's have one question */ > > + if (ntohs(hp->qdcount) != 1) { > > + ns_debug(ns_log_notify, 1, > > + "FORMERR Notify header counts wrong"); > > + hp->rcode = ns_r_formerr; > > + return (Finish); > > } > > > > n = dn_expand(msg, eom, *cpp, dnbuf, sizeof dnbuf); > > > Looks like it just took 20+minutes, and not on the notify: > > > Nov 3 09:31:52 lerami named[828]: master zone "lerctr.org" (IN) > > > loaded (serial > > > 2000110302) > > > Nov 3 09:32:00 lerami named[828]: Sent NOTIFY for "lerctr.org IN SOA" > > > (lerctr.o > > > rg); 6 NS, 6 A > > > Nov 3 09:32:00 lerami named[828]: Received NOTIFY answer from > > > 207.158.64.11 for > > > "lerctr.org IN SOA" > > > Nov 3 09:32:00 lerami named[828]: Received NOTIFY answer from > > > 207.158.64.10 for > > > "lerctr.org IN SOA" > > > Nov 3 09:32:00 lerami named[828]: Received NOTIFY answer from > > > 206.138.224.150 f > > > or "lerctr.org IN SOA" > > > Nov 3 09:32:00 lerami named[828]: Received NOTIFY answer from > > > 206.66.10.46 for > > > "lerctr.org IN SOA" > > > Nov 3 09:32:01 lerami named[828]: approved AXFR from > > > [207.158.64.11].57862 for > > > "lerctr.org" > > > Nov 3 09:32:01 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > > [207.158.64.11].57862 > > > Nov 3 09:32:01 lerami named[828]: approved AXFR from > > > [207.158.64.10].44387 for > > > "lerctr.org" > > > Nov 3 09:32:01 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > [207.158.64.10].44387 > > > Nov 3 09:32:01 lerami named[828]: approved AXFR from > > > [206.66.10.46].4003 for "l > > > erctr.org" > > > Nov 3 09:32:01 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > > [206.66.10.46].4003 > > > Nov 3 09:32:01 lerami named[828]: approved AXFR from > > > [206.138.224.150].2706 for > > > "lerctr.org" > > > Nov 3 09:32:01 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > > [206.138.224.150].2706 > > > Nov 3 09:33:54 lerami named[828]: approved AXFR from > > > [192.67.63.1].2182 for "le > > > rctr.org" > > > Nov 3 09:33:54 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > > [192.67.63.1].2182 > > > Nov 3 09:51:42 lerami named[828]: approved AXFR from > > > [207.158.72.45].1038 for " > > > lerctr.org" > > > Nov 3 09:51:42 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > > [207.158.72.45].1038 > > > Nov 3 09:52:00 lerami named[828]: rcvd NOTIFY(lerctr.org, IN, SOA) > > > from [207.15 > > > 8.72.45].1745 > > > Nov 3 09:52:00 lerami named[828]: NOTIFY(SOA) for non-secondary name > > > (lerctr.or > > > g), from [207.158.72.45].1745 > > > Nov 3 10:06:08 lerami named[828]: unapproved AXFR from > > > [208.184.13.196].1077 fo > > > r "lerctr.org" (acl) > > > Nov 3 10:06:20 lerami named[828]: unapproved AXFR from > > > [208.184.13.196].1078 fo > > > r "lerctr.org" (acl) > > > Nov 3 10:08:16 lerami named[828]: approved AXFR from > > > [207.136.8.252].4060 for " > > > lerctr.org" > > > Nov 3 10:08:16 lerami named[828]: zone transfer (AXFR) of > > > "lerctr.org" (IN) to > > > [207.136.8.252].4060 > > > $ > > -- > > Mark Andrews, Nominum Inc. > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@nominum.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > ----- End forwarded message ----- > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org > > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message