From owner-freebsd-bugs Thu Apr 23 18:10:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28607 for freebsd-bugs-outgoing; Thu, 23 Apr 1998 18:10:03 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28588; Thu, 23 Apr 1998 18:10:01 -0700 (PDT) (envelope-from gnats) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA28341 for ; Thu, 23 Apr 1998 18:08:07 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id SAA01677 for ; Thu, 23 Apr 1998 18:07:33 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma001675; Thu Apr 23 18:07:24 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id SAA28219; Thu, 23 Apr 1998 18:07:24 -0700 (PDT) Message-Id: <199804240107.SAA28219@bubba.whistle.com> Date: Thu, 23 Apr 1998 18:07:24 -0700 (PDT) From: Archie Cobbs Reply-To: archie@whistle.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/6402: another machine can change my own permanent arp table entry Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6402 >Category: kern >Synopsis: another machine can change my own permanent arp table entry >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 23 18:10:00 PDT 1998 >Last-Modified: >Originator: Archie Cobbs >Organization: Whistle Communications, Inc. >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: FreeBSD 2.2.6 >Description: If an ARP packet is received on interface #1 that advertises an IP address that I have assigned for interface #2, then the received entry will override my own permanent ARP entry. >How-To-Repeat: 1. ifconfig ed0 1.2.3.4 2. ifconfig ed2 4.5.6.7 3. Attach ed2 to a network with another machine having address 1.2.3.4 4. Make other machine broadcast its own ARP packet having its address 1.2.3.4 and its ethernet address. I think you can do this by ifconfig'ing the interface on the other machine 5. Notice kernel log: arp: 1.2.3.4 moved from XXX to YYY where XXX is my ethernet address and YYY is other machine's >Fix: netinet/if_ether.c ? >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message