summaryrefslogtreecommitdiffstats
path: root/TODO.IPv6
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2012-02-03 17:11:03 +0100
committerDavid Sommerseth <davids@redhat.com>2012-02-04 13:16:06 +0100
commitc55e9562d64f381ba46b83a02503f6239e23d3ef (patch)
tree4c14cd06ec90e414a69ef7fa6cc3de2fdea20b30 /TODO.IPv6
parent6ba68180b89e0290855f70832243fc9b4370e4d2 (diff)
downloadopenvpn-c55e9562d64f381ba46b83a02503f6239e23d3ef.tar.gz
openvpn-c55e9562d64f381ba46b83a02503f6239e23d3ef.tar.xz
openvpn-c55e9562d64f381ba46b83a02503f6239e23d3ef.zip
Implement IPv6 interface config with non-/64 prefix lengths.
Add "ifconfig_ipv6_netbits_parm" parameter to init_tun(), use that to initialize tt->netbits_ipv6 (previously: always /64). Actual interface setup code already used tt->netbits_ipv6, so no changes needed there. Remove restrictions on "/netbits" value for --server-ipv6 config option (can now be /64.../112, previously had to be exactly /64). Supporting even smaller networks could cause problems with ipv6-pool handling and are only allowed for explicit "ifconfig-ipv6", not for "server-ipv6". Add /netbits to pushed "ifconfig-ipv6" values on server side (client side always accepted this, but ignored it so far, so this does not break compatibility). Tested on Linux/ifconfig, Linux/iproute2 and FreeBSD 7.4 Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'TODO.IPv6')
-rw-r--r--TODO.IPv62
1 files changed, 2 insertions, 0 deletions
diff --git a/TODO.IPv6 b/TODO.IPv6
index 87c47b3..f23cce0 100644
--- a/TODO.IPv6
+++ b/TODO.IPv6
@@ -77,6 +77,8 @@ tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
of /netbits, and correctly ifconfig'ing this
(default, if not specified: /64)
+ * done * 2012-02-03
+
11.) do not add ipv6-routes if tun-ipv6 is not set - complain instead
* done * 12.1.10