Opened 6 years ago

Closed 4 years ago

#1071 closed 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 (11)

comment:1 Changed 6 years ago by tct

cc

comment:2 Changed 6 years ago by Gert Döring

Milestone: release 2.5
Owner: set to Antonio Quartulli
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 6 years ago by Antonio Quartulli

Milestone: release 2.5
Type: Feature WishBug / Defect

removed

Last edited 6 years ago by Antonio Quartulli (previous) (diff)

comment:4 Changed 6 years ago by Antonio Quartulli

Milestone: release 2.5

comment:5 Changed 6 years ago by Antonio Quartulli

Type: Bug / DefectFeature Wish

comment:6 Changed 6 years ago by Antonio Quartulli

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 6 years ago by Antonio Quartulli

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

comment:8 Changed 6 years ago by Antonio Quartulli

Status: assignedaccepted

comment:9 Changed 6 years ago by Antonio Quartulli

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

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

comment:10 Changed 6 years ago by Antonio Quartulli

Component: Generic / unclassifiedIPv6

comment:11 Changed 4 years ago by Gert Döring

Status: assignedclosed

Patchwork says this patch has been merged

commit 2b15c11716e0d04a090585450e8f8f65405d0192 (master)
commit 1e3672c95e648286e9242c0faf70a79f11e192cb (release/2.4)
Author: Antonio Quartulli
Date: Sun Dec 3 12:14:26 2017 +0800

ifconfig-ipv6(-push): allow using hostnames

so this can be closed now.

Note: See TracTickets for help on using tickets.