Skip to contentSkip to conversation

Get rid of README.IPv6 and revamp TODO.IPv6

PATCH Superseded Antonio Quartulli 2 participants 5 messages Feb 4, 2022 – Feb 13, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Get rid of README.IPv6 and revamp TODO.IPv6

README.IPv6 is quite useless because IPv6 is not a second class citizen anymore. Most of the content is "obvious" or explained in the manpage along with other details/options.

TODO.IPv6 is old and many implemented things are still reported there for no clear reason. Prune all useless details and keep what seems to still be not implemented.

---

I am personally in favour of killing TODO.IPv6 as well and rather document missing features in trac tickets. Thoughts?

 README.IPv6 |  56 ----------------
 TODO.IPv6   | 180 +++-------------------------------------------------
 2 files changed, 9 insertions(+), 227 deletions(-)
 delete mode 100644 README.IPv6
README.IPv6 deleted +0 -56
deleted file mode 100644
index 18068fee..00000000
@@ -1,56 +0,0 @@
-Since 2.3.0, OpenVPN officially supports IPv6, and all widely used
-patches floating around for older versions have been integrated.
-
-IPv6 payload support
---------------------
-
-This is for "IPv6 inside OpenVPN", with server-pushed IPv6 configuration
-on the client, and support for IPv6 configuration on the tun/tap interface
-from within the openvpn config.
-
-The code in 2.3.0 supersedes the IPv6 payload patches from Gert Doering,
-formerly located at http://www.greenie.net/ipv6/openvpn.html
-
-
-The following options have been added to handle IPv6 configuration,
-analogous to their IPv4 counterparts (--server <-> --server-ipv6, etc.)
-
-     - server-ipv6
-     - ifconfig-ipv6
-     - ifconfig-ipv6-pool
-     - ifconfig-ipv6-push
-     - route-ipv6
-     - iroute-ipv6
-
-see "man openvpn" for details how they are used.
-
-
-
-IPv6 transport support
-----------------------
-
-This is to enable OpenVPN peers or client/servers to talk to each other
-over an IPv6 network ("OpenVPN over IPv6").
-
-The code in 2.3.0 supersedes the IPv6 transport patches from JuanJo Ciarlante,
-formerly located at http://github.com/jjo/openvpn-ipv6
-
-OpenVPN 2.4.0 includes a big overhaul of the IPv6 transport patches
-originally implemented for the Android client (ics-openvpn)
-
-IPv4/IPv6 transport is automatically is selected when resolving addresses.
-Use a 6 or 4 suffix to force IPv6/IPv4:
-
-  --proto udp6
-  --proto tcp4
-  --proto tcp6-client
-  --proto tcp4-server
-  --proto tcp6 --client / --proto tcp6 --server
-
-On systems that allow IPv4 connections on IPv6 sockets
-(all systems supporting IPV6_V6ONLY setsockopt), an OpenVPN server can
-handle IPv4 connections on the IPv6 socket as well, making it a true
-dual-stacked server. Use bind ipv6only to disable this behaviour.
-
-On other systems, as of 2.3.0, you need to run separate server instances
-for IPv4 and IPv6.
TODO.IPv6 +9 -171

210 lines not on this page · raw message

Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 12 lines · Antonio Quartulli

README.IPv6 is quite useless because IPv6 is not a second class citizen anymore. Most of the content is "obvious" or explained in the manpage along with other details/options.

TODO.IPv6 is old and many implemented things are still reported there for no clear reason. Prune all useless details and keep what seems to still be not implemented.

---

Quoted 7 lines

I am personally in favour of killing TODO.IPv6 as well and rather document missing features in trac tickets. Thoughts?

  README.IPv6 |  56 ----------------
  TODO.IPv6   | 180 +++-------------------------------------------------

Note: this patch is missing a piece: README.IPv6 should be removed from Makefile.am as well.

Will send v2 if the general idea is accepted.

Cheers,

Signature · 1 line
Antonio Quartulli
#2 lore raw
In reply to Antonio Quartulli

Hi,

Quoted 8 lines · Antonio Quartulli

README.IPv6 is quite useless because IPv6 is not a second class citizen anymore. Most of the content is "obvious" or explained in the manpage along with other details/options.

TODO.IPv6 is old and many implemented things are still reported there for no clear reason. Prune all useless details and keep what seems to still be not implemented.

Quoted 6 lines

---

I am personally in favour of killing TODO.IPv6 as well and rather document missing features in trac tickets. Thoughts?

Out it goes!

Quoted 4 lines

+4.) safety check: if connecting over IPv6 (v6 transport) and the pushed
route-ipv6 network encompasses the server IPv6 address, make sure we at least log a warning (until we can fiddle with external routing to make this work correctly).

We fiddle with external routing to make it work :-) - since 2.4, I think.

Quoted 3 lines

o implement comparison for mapped addresses: server in dual stack listening IPv6 must permit incoming streams from allowed IPv4 peer, currently you need to pass eg: --remote ffff::1.2.3.4

That seems to be obsolete as well, with the full DS rewrite Arne did for 2.4.

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#3 lore raw

PATCH v2 1/1 Get rid of README.IPv6 and TODO.IPv6

README.IPv6 is quite useless because IPv6 is not a second class citizen anymore. Most of the content is "obvious" or explained in the manpage along with other details/options.

TODO.IPv6 is old and many implemented things are still reported there for no clear reason. Delete file and report still open items in our tracking system.

---

Changes from v1:
* drop TODO.IPv6 and open tickets in trac for open items:
https://community.openvpn.net/openvpn/ticket/354
https://community.openvpn.net/openvpn/ticket/1449
https://community.openvpn.net/openvpn/ticket/1450
https://community.openvpn.net/openvpn/ticket/1451

---
 Makefile.am |   2 -
 README.IPv6 |  56 --------------
 TODO.IPv6   | 215 ----------------------------------------------------
 3 files changed, 273 deletions(-)
 delete mode 100644 README.IPv6
 delete mode 100644 TODO.IPv6
Makefile.am +0 -2
index 3f0fdd4c..72618e9d 100644
@@ -54,7 +54,6 @@ SUBDIRS = build distro include src sample doc tests
 
 dist_doc_DATA = \
 	README \
-	README.IPv6 \
 	README.mbedtls \
 	Changes.rst \
 	COPYRIGHT.GPL \
@@ -64,7 +63,6 @@ dist_noinst_DATA = \
 	.gitignore \
 	.gitattributes \
 	PORTS \
-	README.IPv6 TODO.IPv6 \
 	README.mbedtls \
 	openvpn.sln \
 	msvc-env.bat \
README.IPv6 deleted +0 -56

56 lines not on this page · raw message

TODO.IPv6 deleted +0 -215

215 lines not on this page · raw message

Signature · 1 line
2.34.1
Acked-by on v2 1/1
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: Get rid of README.IPv6 and TODO.IPv6

What Antonio says. We have reached the stage where IPv6 is "just normal", so no need for a special README.IPv6 anymore :-) (or so we claim).

We might introduce a README.IPv4 at some point... ("yes, we do still support this old stuff"). But maybe implement IPX first? ;-)

Your patch has been applied to the master branch.

commit 9cc7e32827bdb778970eb6231d319b0f18fb56c6

Author: Antonio Quartulli
Date:   Mon Feb 7 16:57:57 2022 +0100
     Get rid of README.IPv6 and TODO.IPv6

     Signed-off-by: Antonio Quartulli <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg23729.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering