]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Platform cleanup for FreeBSD
authorGert Doering <gert@fbsd74.ov.greenie.net>
Sun, 22 Jan 2012 21:21:22 +0000 (23:21 +0200)
committerDavid Sommerseth <davids@redhat.com>
Mon, 23 Jan 2012 09:04:10 +0000 (10:04 +0100)
commit62c613d46dc495d747074ca030d2cbdfd255c386
treeadc954332cf8b95c98b286a735dd9a2ce18d0eae
parent9c6ee9d1ecd85535c5529df1144fb02f613f5134
Platform cleanup for FreeBSD

- cleanup TUN/TAP devices at program end ("ifconfig ... destroy")
- make TUN device setup for "topology subnet" work together with IPv6
  (setup correct netmask and route, but do not use IFF_BROADCAST)

There's one catch for FreeBSD 8.2 if you use pf(4): it will block IPv6
fragments by default, so the standard t_client.sh test sets fail unless
you specifically add "pass in on tun1 fragment" rules - but there's
nothing OpenVPN can do about it.

Tested with IPv4 and IPv6 on 7.4-RELEASE/amd64 and 8.2-RELEASE/amd64

Signed-off-by: Gert Doering <gert@greenie.muc.de>
URL: http://thread.gmane.org/gmane.network.openvpn.devel/5303
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
tun.c