Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 13:28:48 -0800 (PST)
From:      Matthew George <mgeorge@secureworks.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/33213: rarpd fails to init IPv6 enabled interfaces
Message-ID:  <200112262128.fBQLSmN02718@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112262128.fBQLSmN02718>