Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 1999 00:00:02 -0800 (PST)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/10344: Core dump in gethostbyaddr for 199.93.70.2 
Message-ID:  <199903020800.AAA50261@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/10344; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: "John Saunders" <john@nlc.net.au>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/10344: Core dump in gethostbyaddr for 199.93.70.2 
Date: Mon, 1 Mar 1999 23:56:22 PST

 Aha!  I must be using a name server that's truncating - I only got
 14 answers.  If I set my name server to monster.nlc.net.au, I get
 lots of answers and a core dump.  tcpdump shows that the clean 14
 answers come in a UDP packet and then it opens a TCP connection.
 "dig" says that the TCP response is malformed.  Since "dig" complains
 about a malformed packet instead of dumping core, that might be a
 better place to start to try to figure out what's going on.  (The
 header claims to contain 810 answers but dig only prints 272 before
 printing an error.  The 24k of data on the wire contains much more
 than dig displays, but I don't have a good way of telling whether
 or not it's really malformed.)
 
 Another odd thing is that the connection ends with a TCP reset; the
 last few segments are really weird.  Instead of the >FIN, <FIN/ACK, >ACK,
 it's >FIN, <FIN/ACK, >ACK, <ACK, >ACK, <RST.  This could be what's
 causing the truncation, since a RST flushes any queued data.
 
   Bill
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903020800.AAA50261>