Feature #4708
open
UDP faces: support toggling v4 and v6 multicast independently
Added by Davide Pesavento over 6 years ago.
Updated about 5 years ago.
Description
TCP and UDP channels support enabling ipv4 and ipv6 independently from each other, through separate enable_v4
and enable_v6
configuration file settings. Multicast UDP faces however have a single mcast
setting with a boolean value, which either enables both address families or turns off multicast altogether.
This feature allows separately configuring ipv4 and ipv6 multicast faces.
I have two proposals:
- Add a
mcast_v6
boolean (yes/no) setting to control ipv6 face creation. The meaning of the existing mcast
setting is changed to have effect only on ipv4 faces.
- The existing
mcast
setting is expanded to recognize the values "ipv4" and "ipv6", with obvious semantics, in addition to the existing "no" (=neither) and "yes" (=both).
Is there a specific reason for this?
I have no objections. For simplicity, I would pick the first option.
Alex Afanasyev wrote:
Is there a specific reason for this?
Same reason why all channels have separate ipv4 and ipv6 settings, I guess. It will also allow us to enable UDP multicast on Android just for ipv6 (I heard v4 multicast doesn't work very well there). Plus it provides a workaround for cases like #4697, although that's just a workaround, not a proper solution.
For simplicity, I would pick the first option.
Why do you think that the first option would be simpler? Perhaps it would be more similar to the existing keys enable_v4
and enable_v6
, which are separate, but choosing the first option implies a minor break in backward compat for the config file.
- Target version deleted (
v0.7)
Also available in: Atom
PDF