Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  3 Sep 2000 11:46:25 -0700 (PDT)
From:      huntting@glarp.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/21016: IPV6_JOIN_GROUP doesnt work for mapped IPv4 multicast addresses
Message-ID:  <20000903184625.9B58E37B43C@hub.freebsd.org>

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

>Number:         21016
>Category:       kern
>Synopsis:       IPV6_JOIN_GROUP doesnt work for mapped IPv4 multicast addresses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 03 11:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Brad Huntting
>Release:        4.1
>Organization:
Qwest Comm
>Environment:
FreeBSD hunkular.glarp.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Sat Aug 26 16:48:20 MDT 2000     root@hunkular.glarp.com:/usr/src/sys/compile/HUNKULAR  i386

>Description:
When passed a v4 mapped multicast address (e.g.  ::ffff:239.255.24.23),
setsockopt(IPV6_JOIN_GROUP) returns EINVAL.  Part of the problem stems
from the fact that the IN6_IS_ADDR_MULTICAST() macro in <netinet6/in6.h>
does not recognise V4 mapped addresses.  Should it?  And should
setsockopt(IPV6_JOIN_GROUP) work on v4 mapped addresses?  If you aggree
that it should, let me know and I will patch the include file and the
kernel accordingly.


thanx,
brad
>How-To-Repeat:
Try to use setsockopt(IPV6_JOIN_GROUP) on a v4 mapped multicast address.
>Fix:
I just want to make sure that this is a bug and not a feature before
I go and "fix" it.  Please let me know ASAP as I have a deadline to meet.

>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?20000903184625.9B58E37B43C>