Opened 3 years ago

Closed 10 months 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 3 years ago by tincantech

cc

comment:2 Changed 3 years 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 3 years ago by Antonio

Milestone: release 2.5
Type: Feature WishBug / Defect

removed

Last edited 3 years ago by Antonio (previous) (diff)

comment:4 Changed 3 years ago by Antonio

Milestone: release 2.5

comment:5 Changed 3 years ago by Antonio

Type: Bug / DefectFeature Wish

comment:6 Changed 3 years 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 3 years 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 3 years ago by Antonio

Status: assignedaccepted

comment:9 Changed 3 years 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 3 years ago by Antonio

Component: Generic / unclassifiedIPv6

comment:11 Changed 10 months 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.