From owner-freebsd-bugs Wed Dec 26 13:30:13 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 94E0737B41B for ; Wed, 26 Dec 2001 13:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBQLU3602871; Wed, 26 Dec 2001 13:30:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C4E7A37B41E for ; Wed, 26 Dec 2001 13:28:48 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBQLSmN02718; Wed, 26 Dec 2001 13:28:48 -0800 (PST) (envelope-from nobody) Message-Id: <200112262128.fBQLSmN02718@freefall.freebsd.org> Date: Wed, 26 Dec 2001 13:28:48 -0800 (PST) From: Matthew George To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/33213: rarpd fails to init IPv6 enabled interfaces Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33213 >Category: misc >Synopsis: rarpd fails to init IPv6 enabled interfaces >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 26 13:30:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Matthew George >Release: 4.4-STABLE >Organization: SecureWorks >Environment: FreeBSD mdg.secureworks.net 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Dec 26 15:41:10 EST 2001 >Description: When control passes into the init_one() function for the interface, the address family is examined. The funcion returns if the family is not either AF_INET or AF_LINK. When an IPv6 enabled interface is encountered, the first address examined is of type AF_INET6, so the function returns without further examining the interface (and thus discovering the subsequent AF_INET address). >How-To-Repeat: Enable IPv6 and attempt to run rarpd I was able to "fix" the problem by removing INET6 support from my kernel >Fix: Logic needs to be added to the init_one() function so that it will fully examine all addresses on the interface (unless loopback or pointopoint). An interface should only be discarded once it has been determined that there are no valid AF_INET addresses *at all* on the interface. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message