Project

General

Profile

Actions

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.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Faces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Davide Pesavento over 6 years ago

I have two proposals:

  1. 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.
  2. 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).
Actions #2

Updated by Alex Afanasyev over 6 years ago

Is there a specific reason for this?

I have no objections. For simplicity, I would pick the first option.

Actions #3

Updated by Davide Pesavento over 6 years ago

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.

Actions #4

Updated by Davide Pesavento about 5 years ago

  • Target version deleted (v0.7)
Actions

Also available in: Atom PDF