Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2008 02:31:23 GMT
From:      James Snow <snow@teardrop.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/120958: 7.x 
Message-ID:  <200802220231.m1M2VNFW044933@www.freebsd.org>
Resent-Message-ID: <200802220240.m1M2e2tZ017782@freefall.freebsd.org>

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

>Number:         120958
>Category:       kern
>Synopsis:       7.x
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 22 02:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     James Snow
>Release:        7.0-RC1 & 7.0-RC2
>Organization:
>Environment:
FreeBSD zfs.teardrop.org 7.0-RC1 FreeBSD 7.0-RC1 #18: Sat Feb  2 15:08:42 UTC 2008     snow@zfs.teardrop.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
In sys/netinet/ip_icmp.c at line 625, this bit of code:

        if (!in_canforward(ip->ip_src) &&
            ((ntohl(ip->ip_src.s_addr) & IN_CLASSA_NET) !=
             (IN_LOOPBACKNET << IN_CLASSA_NSHIFT))) {
                m_freem(m);     /* Bad return address */
                icmpstat.icps_badaddr++;
                goto done;      /* Ip_output() will check for broadcast */
        }

Causes the system to not respond to any ICMP traffic on any interface configured with a link-local address (169.254/16).
>How-To-Repeat:
ifconfig lo1 create
ifconfig lo1 inet 169.254.1.1 netmask 255.255.0.0
ping 169.254.1.1
>Fix:
Unknown, but I believe bms@freebsd.org has a fix in mind.

>Release-Note:
>Audit-Trail:
>Unformatted:



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