Skip to contentSkip to conversation

Patch that provides unidirectional IGMP snooping in the multi-client server

Openvpn-devel Ulrik Mikaelsson 2 participants 2 messages Nov 17, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I would like to announce the attached patch, it's not very pretty, but have proved to be working well under my required circumstances.

What it does:
* Handles IGMPv2 snooping
* Handles mcast-traffic flowing "downstream" on the server-side of a multi-client server.
* Handles both group-timeouts, and immediate-leave.
* Handles TAP-VPN
* Works well with even relatively heavy multicast-traffic without much extra system-load. (Of course offloads the server, compared to the previous broadcast-behaviour.)
* Spit out some extra output for debugging purposes.
* Have been round-the-clock running on a relatively heavily used system for a couple of months now, without noticeable issues in stability or memory consumption.
* Run with a vanilla 2.0.x OpenVPN client (multiple releases tested)

What it does not:
* Respect general queries
* Handle TUN-VPN
* Handle IGMPv3 (at least probably not, it does in theory, but without _any_ testing performed)
* Pretty much anything else

I do not recommend this for inclusion into OpenVPN, since it may very well crash OpenVPN if ran in TUN-mode. This patch is strictly submitted for anyone curious to notice.

A proper patch should be written taking gq:s and TUN into consideration from start.

If you want to reply, ensure you do it with a cc to me, since I'm not on the list.

Regards
/ Ulrik

#1 lore raw
Quoted 4 lines · Ulrik Mikaelsson

What it does:
...
* Handles mcast-traffic flowing "downstream" on the server-side of a
multi-client server.

Does it mean I (as an OpenVPN client) will be able to join a MULTICAST group who's source is local to OpenVPN server? ("local" == on the same LAN)

My OpenVPN server is a winXP-SP2 box, I use BRIDGING, will your patch work for me? Can you send me a pre-compiled version to try?

Thank you in advance.

Tony.