>Number: 180067
>Category: kern
>Synopsis: Multicast support within jails
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 28 19:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Bernd Walter
>Release: 9.1-STABLE
>Organization:
>Environment:
>Description:
To have multicast support in Jails it is required to allow group addresses to
be configured for the jail.
In reality this is impossible as multicast groups are not always a local
decision.
It also disallows joining the same multicast group within multiple jails.
The tiny patch allows IPv6 multicast adresses to be used within jails without
special configuration.
It is used in production since more than one year, but considered more as an
example than a complete patch.
A similar check should also be done for IPv4 and maybe placed under a sysctl or
jail option which is disabled by default.
This change was worked out together with Aron Schlesinger <[email protected]>.
>How-To-Repeat:
>Fix:
Index: kern/kern_jail.c
===================================================================
--- kern/kern_jail.c (revision 251406)
+++ kern/kern_jail.c (working copy)
@@ -3282,6 +3282,9 @@
{
int i, a, z, d;
+ if (IN6_IS_ADDR_MULTICAST(ia6))
+ return (0);
+
/*
* Check the primary IP.
*/
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"