Hi,
On Tue, Apr 17, 2012 at 05:13:19PM +0400, Sergey Matveychuk wrote:
> I see openvpn adds ipv6 routes always for interface not addresses. I
> think it should be like in add_route(): something like is_on_link() to
> determ if interface should be added or address.
This has now been implemented
OpenVPN on Linux (iproute2+ifconfig), FreeBSD and MacOS X (Darwin)
normally points routes directly towards the "tun" interface, obviating
the need for a gateway. For "tap" interfaces, now add gateway spec to
linux route command, and replace "-iface " with gateway spec (both
together do not work) o
Clarify status of each already-done item for "IPv6 payload" TODOs.
Remove TODOs from "IPv6 transport" list that have been solved in
"IPv6 payload" work.
Signed-off-by: Gert Doering
---
TODO.IPv6 | 35 ---
1 files changed, 28 insertions(+), 7 deletions(-)
diff
"no metric set" is now stored as "-1"
"metric 0" means "on-link route" (what the BSDs do)
properly initialize metric value to "0" for on-link IPv6 net on BSDs
Signed-off-by: Gert Doering
---
src/openvpn/init.c |2 +-
src/openvpn/route.c |9 -
src/openvpn/tun.c |4
3 f
Signed-off-by: Gert Doering
---
src/openvpn/tun.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c
index 460684f..1842a97 100644
--- a/src/openvpn/tun.c
+++ b/src/openvpn/tun.c
@@ -2442,7 +2442,7 @@ read_tun (struct tuntap* tt, uint8_
this used to point to the "route_ipv6_option" that created this specific
route entry, but nobody ever queried this field -> dead code.
Signed-off-by: Gert Doering
---
src/openvpn/route.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/openvpn/route.h b/src/openvpn/ro
Hi,
somewhat unexpectedly, I had two days of free time at my hand, and
here are what I consider the last missing pieces for basic IPv6 support
in 2.3_alpha2 (the route-gateway handling for IPv6), plus a bit of
cleanup that crossed my way doing this.
The code changes affect Linux iproute2, Linux
Hi,
sorry for never replying to your mail. It was on my TODO list, and
David regularily reminded me that it was there, but well...
On Tue, Aug 30, 2011 at 03:47:16AM -0500, Scott Zeid wrote:
> This patch adds IPv6 gateway configuration for Linux, FreeBSD, and Darwin.
> Apparently this functional