From owner-freebsd-current@freebsd.org Tue Jul 7 15:49:10 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F11049961D3; Tue, 7 Jul 2015 15:49:10 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABC7A198F; Tue, 7 Jul 2015 15:49:10 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1ZCV7K-000DM1-PE; Tue, 07 Jul 2015 18:49:06 +0300 Date: Tue, 7 Jul 2015 18:49:06 +0300 From: Slawa Olhovchenkov To: Pavel Timofeev Cc: freebsd-current@freebsd.org, "freebsd-virtualization@freebsd.org" Subject: Re: MS DNS doesn't answer to CURRENT under Hyper-V Message-ID: <20150707154906.GA44094@zxy.spb.ru> References: <20150707130902.GA41189@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 15:49:11 -0000 On Tue, Jul 07, 2015 at 06:04:46PM +0300, Pavel Timofeev wrote: > Well, turning off checksum offloading by `ifconfig hn0 -txcsum > -rxcsum` definitely helps. > > As for tcpdump I'm not completely sure if I did it right, but I see > "bad udp cksum" phrase: > > # tcpdump -i hn0 -vvv -nn udp dst port 53 > tcpdump: listening on hn0, link-type EN10MB (Ethernet), capture size > 262144 bytes > 18:01:19.139994 IP (tos 0x0, ttl 64, id 61218, offset 0, flags [none], > proto UDP (17), length 51) > 192.168.25.26.45683 > 192.168.25.3.53: [bad udp cksum 0xb39e -> > 0xf210!] 52886+ A? ya.ru. (23) > 18:01:24.140544 IP (tos 0x0, ttl 64, id 17293, offset 0, flags [none], > proto UDP (17), length 51) > 192.168.25.26.12575 > 192.168.25.3.53: [bad udp cksum 0xb39e -> > 0x7365!] 52886+ A? ya.ru. (23) tcpdump "bad udp cksum" is normal on FreeBSD host in case checksum offload (and may be need only for help finding issuse in code). Need wireshark capturing from MS DNS host (or from mirroring port).