e01cebf...
by
David Lamparter <email address hidden>
pimd: fix PtP address handling
When we have a "192.0.2.1 peer 192.0.2.2/32" address on an interface, we
need to (a) recognize the local address as being on the link for our own
packets, and (b) do the IGMP socket lookup with the proper local address
rather than the peer prefix.
tests: fix hang during topology shutdown when CLI connection fails
Signed-off-by: Martin Winter <email address hidden>
(cherry picked from commit 80c5c45b0bc12d4fc5ca4b9d83a45db4798e7fac)
c7d7aca...
by
David Lamparter <email address hidden>
lib, pimd: add address match mode to prefix lists
... the PIM code is kinda misusing prefix lists to match addresses.
Considering the weird semantics of access-lists, I can't fault it.
However, prefix lists aren't great at matching addresses by default,
since they try to match the prefix length too. So, here's an "address
match mode" for prefix lists to get that to work more reasonably.
Fixes: #8492
Signed-off-by: David Lamparter <email address hidden>
(cherry picked from commit 2b6b16fc21d35693914231509c8710eff6a58c4a)
813755b...
by
David Lamparter <email address hidden>
pimd: IGMP sockets need to be iface-bound too
There's an IGMP socket per interface, so they should be bound to that
interface. Which also makes IGMP work in VRFs.
Fixes: #7889
Signed-off-by: David Lamparter <email address hidden>
(cherry picked from commit f06c6e3ef91027205e653a4aa72a2bb8969466e9)