troglobit / pimd

PIM-SM/SSM multicast routing for UNIX and Linux
http://troglobit.com/projects/pimd/
BSD 3-Clause "New" or "Revised" License
194 stars 86 forks source link

register_vif forced to igmpv3 #142

Closed Kzibi closed 5 years ago

Kzibi commented 5 years ago

It's not(?) the issue - just question.

pimctl -i pimd_jambox show igmp int Interface State Querier Timeout Version Groups
epix_sgt_kat Up 172.24.3.12 265 2 0 epix_sgt_waw Up 172.24.1.12 345 2 0 jambox_down Up Local None 2 32 register_vif0 Up Local None 3 0

Why register_vif is force to igmp v3 vif.c : void zero_vif(struct uvif v, int t) { v->uv_flags><------>= 0;<-->/ Default to IGMPv3 */

troglobit commented 5 years ago

What do you mean?

Kzibi commented 5 years ago

All interfaces uses igmp v2 (configured in pimd.conf), except vif0, which is igmp v3. I prefer to all of them have igmp v2. How can I set it ?

troglobit commented 5 years ago

@Kzibi not possible to configure atm., but I'm leaning towards disabling IGMP altogether on the register VIF since it shouldn't be needed there. Must check the RFC's first, however, to see if I'm missing something obvious.

troglobit commented 5 years ago

I've looked into this now. Turns out this is only a minor issue with pimctl reporting the IGMP version of all interfaces when in fact pimd always avoids IGMP altogether on the register interface.

I'll fix pimctl and close this.