From owner-freebsd-net@FreeBSD.ORG Sun May 29 23:19:27 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5966C106564A for ; Sun, 29 May 2011 23:19:27 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 46BF58FC12 for ; Sun, 29 May 2011 23:19:27 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p4TMbTV4042191 for ; Sun, 29 May 2011 15:37:29 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4DE2CC0A.2070004@rawbw.com> Date: Sun, 29 May 2011 15:43:22 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101211 Thunderbird/3.0.11 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: MAC address conflict causes 8.2-STABLE to freeze X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2011 23:19:27 -0000 I had a bug in my setup script that was setting the same MAC address to several computers. This situation of course is not normal and should not normally occur. But I noticed the side effect that causes me to worry: 8.2-STABLE host was periodically freezing in such situation. My understanding is that such situation will cause all packets sent to this MAC address be accepted by every host in conflict and for example many garbage TCP packets will arrive to each machine. But why should it freeze the system? It looks like there is some bug in the code rejecting garbage traffic and my setup exposed it. This could also be a security issue when some other host on the same network can cause FreeBSD to freeze by sending some rogue packets to it. I should also note that I am talking about the wireless device ath0 and passwordless WEP network. Yuri