Received: by mail.netbsd.org (Postfix, from userid 605) id 155FE84EF1; Mon, 14 Nov 2022 09:32:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3CABA84EEF for ; Mon, 14 Nov 2022 09:32:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Cm4nGOvwI5JO for ; Mon, 14 Nov 2022 09:32:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CC32284DC1 for ; Mon, 14 Nov 2022 09:32:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C55D7FA90; Mon, 14 Nov 2022 09:32:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 14 Nov 2022 09:32:21 +0000 From: "Roy Marples" Subject: CVS commit: src/sys/netinet To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20221114093221.C55D7FA90@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roy Marples" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: roy Date: Mon Nov 14 09:32:21 UTC 2022 Modified Files: src/sys/netinet: if_arp.c Log Message: arp: Validate L2 sender hardware address matches ARP probe RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware address must match the hardware address of the interface sending the packet. We can now verify this by checking the mbuf packet header. This fixes an obsure issue where an old router was sending out bogus ARP probes. To generate a diff of this commit: cvs rdiff -u -r1.308 -r1.309 src/sys/netinet/if_arp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.