Bug 180067 - [jail] [patch] fix multicast support within jails
Summary: [jail] [patch] fix multicast support within jails
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-jail (Nobody)
Depends on:
Reported: 2013-06-28 20:00 UTC by Bernd Walter
Modified: 2015-05-08 16:00 UTC (History)
2 users (show)

See Also:

file.diff (348 bytes, patch)
2013-06-28 20:00 UTC, Bernd Walter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Walter 2013-06-28 20:00:00 UTC
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 <as@paefchen.net>.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-06-28 21:00:04 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-jail

Over to maintainer(s).
Comment 2 Mark Felder freebsd_committer 2015-05-08 16:00:18 UTC
ae, would you be interested in looking at this too?

It would be great if multicast worked in jails. A standard use case is multimedia/plexmediaserver which is often deployed in jails (eg, FreeNAS) but this breaks DLNA streaming.