]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Drop incoming fe80:: packets silently now.
authorGert Doering <gert@greenie.muc.de>
Fri, 6 Jun 2014 18:43:55 +0000 (20:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 8 Jun 2014 10:48:54 +0000 (12:48 +0200)
commit70f1864188ad00451683cabf51e56b7730250c40
tree9b349f29ce794a07bd1067aadc50e3c7eb27718c
parentbe46a2c083a6bd77754bc1674249eab583d25dac
Drop incoming fe80:: packets silently now.

IPv6 has the concept of "link local" addresses, fe80::<host id>, which
normally are present on every link, and are used for stuff like DHCPv6,
neighbor discovery, etc.

OpenVPN point-to-multipoint mode currently does neither configure them on
tun interfaces, nor are they handled in a meaningful way if a client OS
always has them (like Windows or Solaris) - so the log fills with many
lines of "MULTI: bad source address from client [fe80::...]", serving
no useful purpose.

This patch just recognizes IPv6 LL packets and silently drops them.

Further patches can build on this and add full link-local support, which
would require address learning (as the addresse are based on host IDs, not
assigned by the server).

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1402080235-24409-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8773
src/openvpn/multi.c