From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 5 13:51:57 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A793316A420 for ; Mon, 5 Sep 2005 13:51:57 +0000 (GMT) (envelope-from folkert@feedface.com) Received: from mail.feedface.com (mail.feedface.com [62.216.169.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6A9F43D48 for ; Mon, 5 Sep 2005 13:51:56 +0000 (GMT) (envelope-from folkert@feedface.com) Received: from [62.216.169.164] (tun0.feedface.com [62.216.169.164]) by mail.feedface.com (Postfix) with ESMTP id C7E1BAC810; Mon, 5 Sep 2005 15:51:55 +0200 (CEST) In-Reply-To: References: <49D89F36-BEDB-4FAE-80BE-3F73FA74D773@feedface.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Folkert Saathoff Date: Mon, 5 Sep 2005 15:51:51 +0200 To: snap-users@kame.net X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.734) Cc: freebsd-mobile@freebsd.org Subject: Re: DUPlicate icmpv6 echo replies over wi0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 13:51:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5 Sep 2005, at 15:17 PM, Greg Troxel wrote: > The 802.11 mac layer can cause duplicates. If the receiver hears the > packet and sends an ack, but the ack is lost, the sender will > retransmit, leading to two copies of the packet. In theory a receiver > could filter dups, but I haven't noticed code to do this. So I would > suggest trying with other traffic and seeing if it is really a > ICMPv6-specific problem. Your description makes it sound to me like > something other than 802.11 MAC-layer dups are happening, though. I > would also suggest tcpdumping on the host behind the router and the > hostap machine. when pinging a host behind the access point/ router, the DUPs still happen, but tcpdump on the pinged host reports only one reply for each request. i should have mentioned that there is no problem whatsoever with the client and another hostap (which is same hardware, same setup). also, the antennas are about 5 cm away from each other, and i changed the frequency to the one which worked with the other hostap, which did not help at all. i dont think that a 802.11b retransmit would occur with such predictablility and regularity, especially in my test environment. (there are a _LOT_ of echo replies on the ether ;) i have noticed that the machine which i suspect is causing the trouble has a different station firmware version. dmesg on the two good machines tells me: wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A wi0: Intersil Firmware: Primary (0.3.0), Station (1.7.1) while on the bad machine its wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3) i dont even know what a station firmware does, but i can imagine this being the guilty party. so my next question would be: how do i dump the firmware of a prism2 card in freebsd and subsequently flash it on another host? :) thnx, /folkert /* _ _ * _|| _ * || folkert@feedface.com * */ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDHE18IA10xPlRIZURArI6AJ46sukIUCpEffjb7AWH80ZQ/szFFwCgkpwS /V77KiVXyv/z8tvEiBh7qNw= =sFRW -----END PGP SIGNATURE-----