Opened 5 months ago

Last modified 6 weeks ago

#1071 assigned Feature Wish

--allow-pull-fqdn doesn't work with --route-ipv6

Reported by: mike_SF Owned by: Gert Döring
Priority: major Milestone: release 2.5
Component: IPv6 Version: OpenVPN 2.4.6 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: allow-pull-fqdn
Cc:

Description

A command script containing the following:

allow-pull-fqdn
route-ipv6 www.openvpn.net fe80::8

Will generate the following error:

Wed Jun 13 16:38:56 2018 us=542179 IPv6 prefix 'www.openvpn.net': invalid IPv6 address
Wed Jun 13 16:38:56 2018 us=542179 OpenVPN ROUTE: failed to parse/resolve route for host/network: www.openvpn.net

Expected behavior is same as with IPv4, i.e. that the domain name is resolved via DNS.

Change History (10)

comment:1 Changed 5 months ago by tincantech

cc

comment:2 Changed 5 months ago by Gert Döring

Milestone: release 2.5
Owner: set to Antonio
Status: newassigned
Type: Bug / DefectFeature Wish

Since this is just something never implemented, it's not a bug but a feature wish.

But don't despair, there already is a patch in patchwork that addresses this for "ifconfig-ipv6" (https://patchwork.openvpn.net/patch/120/) and extending this for "route-ipv6" is supposedly easy.

It won't be in 2.4, though. It needs rewriting of existing code and this won't happen in the middle of a stable release series.

(Handing the bug to Ordex, because he's coding away all the interesting network bits anyway)

comment:3 Changed 5 months ago by Antonio

Milestone: release 2.5
Type: Feature WishBug / Defect

removed

Last edited 5 months ago by Antonio (previous) (diff)

comment:4 Changed 5 months ago by Antonio

Milestone: release 2.5

comment:5 Changed 5 months ago by Antonio

Type: Bug / DefectFeature Wish

comment:6 Changed 5 months ago by Antonio

Mike, apparently the patch pointed out by Gert is already fixing this issue as well.
If you can, please give it a try and let us know.

Thanks!

comment:7 Changed 5 months ago by Antonio

@mike_SF any chance you could give this patch a try to confirm that this feature works as intended?

comment:8 Changed 5 months ago by Antonio

Status: assignedaccepted

comment:9 Changed 6 weeks ago by Antonio

Owner: changed from Antonio to Gert Döring
Status: acceptedassigned

pending review, patch is at: https://patchwork.openvpn.net/patch/120/

comment:10 Changed 6 weeks ago by Antonio

Component: Generic / unclassifiedIPv6
Note: See TracTickets for help on using tickets.