kern/120958: 7.x

James Snow snow at teardrop.org
Fri Feb 22 02:40:02 UTC 2008


>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 at 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 at freebsd.org has a fix in mind.

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


More information about the freebsd-bugs mailing list