From nobody@FreeBSD.org  Mon May 29 10:45:25 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1E6E316A421
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 May 2006 10:45:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DF36443D48
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 May 2006 10:45:24 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4TAjOuk078328
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 May 2006 10:45:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k4TAjOtI078325;
	Mon, 29 May 2006 10:45:24 GMT
	(envelope-from nobody)
Message-Id: <200605291045.k4TAjOtI078325@www.freebsd.org>
Date: Mon, 29 May 2006 10:45:24 GMT
From: Lukasz Wasikowski <lukasz@wasikowski.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Static arp entries may be ignored
X-Send-Pr-Version: www-2.3

>Number:         98078
>Category:       kern
>Synopsis:       [arp] Static arp entries may be ignored
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 29 10:50:21 GMT 2006
>Closed-Date:    Sat Oct 14 11:58:25 GMT 2006
>Last-Modified:  Sat Oct 14 11:58:25 GMT 2006
>Originator:     Lukasz Wasikowski
>Release:        FreeBSD 4.11, FreeBSD 5.5, FreeBSD 6.1
>Organization:
Hipernet Sp. z o.o.
>Environment:
FreeBSD trab.brda.net 4.11-RELEASE-p17 FreeBSD 4.11-RELEASE-p17 #0: Fri May 19 14:17:22 CEST 2006     root@trab.brda.net:/usr/obj/usr/src/sys/hipernet  i386

FreeBSD cs56.hipernet.pl 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Sat May 27 03:25:25 CEST 2006     root@cs56.hipernet.pl:/usr/obj/usr/src/sys/hipernet  i386

FreeBSD firma.hipernet.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue May  9 16:02:23 CEST 2006     root@firma.hipernet.pl:/usr/obj/usr/src/sys/hipernet  i386

>Description:
When static arp entries are used to gain access to network via a FreeBSD
router, there is a possibility to omit those entries by setting client's
ethernet device into promiscuous mode.
>How-To-Repeat:
On FreeBSD router:
[root@firma ~] arp -s 192.168.1.10 aa:bb:cc:dd:ee:ff

On any client connected to that router via Ethernet:
[root@aniluap ~] ping -q -c 5 212.122.212.1
PING 212.122.212.1 (212.122.212.1): 56 data bytes

--- 212.122.212.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

[root@aniluap ~] ifconfig rl0 promisc
[root@aniluap ~] ping -q -c 5 212.122.212.1
PING 212.122.212.1 (212.122.212.1): 56 data bytes

--- 212.122.212.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 3.624/8.333/23.164/7.442 ms

>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: glebius 
State-Changed-When: Sat Oct 14 11:57:07 UTC 2006 
State-Changed-Why:  
This is not a bug in FreeBSD, but the way how ARP and 
Ethernet work. Static ARP entries does not prevent 
sending the packets out into Ethernet. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=98078 
>Unformatted:
