Documentation fixes
v2 cover Documentation fixes
From: Christian Kujau <[email protected]...>
This started with fixing the three stale URLs in openvpn(8) but got slightly out of hand and the 2nd commit contains some URL fixes throughout the whole tree.
Christian Kujau (2):
doc: Fix hyperlinks in openvpn(8)
doc: HTTPS upgrades and URL fixes throughout the tree
CONTRIBUTING.rst | 2 +- INSTALL | 8 ++++---- PORTS | 2 +- README | 3 --- dev-tools/git-pre-commit-format.sh | 2 +- doc/android.txt | 2 +- doc/doxygen/doc_compression.h | 2 +- doc/doxygen/doc_mainpage.h | 2 +- doc/keying-material-exporter.txt | 10 +++++----- doc/man-sections/link-options.rst | 2 +- doc/man-sections/protocol-options.rst | 2 +- doc/openvpn.8.rst | 6 +++--- m4/pkg.m4 | 2 +- src/openvpn/list.c | 2 +- src/openvpn/memdbg.h | 2 +- src/openvpn/ntlm.c | 4 ++-- src/openvpn/options.c | 2 +- src/openvpn/options.h | 2 +- src/openvpn/route.c | 4 ++-- src/openvpn/socks.c | 2 +- src/openvpn/socks.h | 2 +- src/openvpn/tun.c | 4 ++-- src/openvpn/win32-util.c | 3 +-- 23 files changed, 34 insertions(+), 38 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH v2 1/2 doc: Fix hyperlinks in openvpn(8)
From: Christian Kujau <[email protected]...>
* http://www.cs.ucsd.edu/users/mihir/papers/hmac.html - 404, RFC104 basically
* http://sites.inka.de/sites/bigred/devel/tcp-tcp.html - 404, unfortunately
* http://www.ietf.org/rfc/rfc2246.txt - HTTPS upgrade to the HTML version
--- doc/man-sections/link-options.rst | 2 +- doc/man-sections/protocol-options.rst | 2 +- doc/openvpn.8.rst | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)
doc/man-sections/link-options.rst +1 -1
@@ -338,7 +338,7 @@ the local and the remote host. used over unreliable or congested networks. This article outlines some of problems with tunneling IP over TCP: - http://sites.inka.de/sites/bigred/devel/tcp-tcp.html + https://web.archive.org/web/20141025181658/http://sites.inka.de/sites/bigred/devel/tcp-tcp.html There are certain cases, however, where using TCP may be advantageous from a security and robustness perspective, such as tunneling non-IP or
doc/man-sections/protocol-options.rst +1 -1
@@ -52,7 +52,7 @@ configured in a compatible way between both the local and remote side. authentication. For more information on HMAC see - http://www.cs.ucsd.edu/users/mihir/papers/hmac.html + https://tools.ietf.org/html/rfc2104 --cipher alg This option should not be used any longer in TLS mode and still
doc/openvpn.8.rst +3 -3
@@ -150,10 +150,10 @@ NOTES This product includes software developed by the OpenSSL Project (https://www.openssl.org/) -For more information on the TLS protocol, see -http://www.ietf.org/rfc/rfc2246.txt +For more information on the TLS protocol see: +https://tools.ietf.org/html/rfc2246 -For more information on the LZO real-time compression library see +For more information on the LZO real-time compression library see: https://www.oberhumer.com/opensource/lzo/
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH v2 2/2 doc: HTTPS upgrades and URL fixes throughout the tree
In reply to Christian KujauFrom: Christian Kujau <[email protected]...>
* HTTPS upgrades
* 404 fixes, with hopefully better helpful links to the relevant documentation
* some trailing white space fixes
* resurrect utun-demo.c from a different source
* Don't touch openvpn.doxyfile.in though, as it was autogenerated
* Don't touch COPYING as it's an external license file
* The openvpn.net URLs will be addressed some other time
--- CONTRIBUTING.rst | 2 +- INSTALL | 8 ++++---- PORTS | 2 +- README | 3 --- dev-tools/git-pre-commit-format.sh | 2 +- doc/android.txt | 2 +- doc/doxygen/doc_compression.h | 2 +- doc/doxygen/doc_mainpage.h | 2 +- doc/keying-material-exporter.txt | 10 +++++----- m4/pkg.m4 | 2 +- src/openvpn/list.c | 2 +- src/openvpn/memdbg.h | 2 +- src/openvpn/ntlm.c | 4 ++-- src/openvpn/options.c | 2 +- src/openvpn/options.h | 2 +- src/openvpn/route.c | 4 ++-- src/openvpn/socks.c | 2 +- src/openvpn/socks.h | 2 +- src/openvpn/tun.c | 4 ++-- src/openvpn/win32-util.c | 3 +-- 20 files changed, 29 insertions(+), 33 deletions(-)
CONTRIBUTING.rst +1 -1
@@ -20,7 +20,7 @@ small, atomic pieces to make reviews easier. Please make sure that the source code formatting follows the guidelines at https://community.openvpn.net/openvpn/wiki/CodeStyle. Automated checking can be -done with uncrustify (http://uncrustify.sourceforge.net/) and the configuration +done with uncrustify (https://uncrustify.sourceforge.net/) and the configuration file which can be found in the git repository at dev-tools/uncrustify.conf. There is also a git pre-commit hook script, which runs uncrustify automatically each time you commit and lets you format your code conveniently, if needed.
INSTALL +4 -4
@@ -67,7 +67,7 @@ SYSTEM REQUIREMENTS: a virtual point-to-point IP or Ethernet device. See TUN/TAP Driver References section below for more info. (2a) OpenSSL library, necessary for encryption, version 1.1.0 or higher - required, available from http://www.openssl.org/ + required, available from https://www.openssl.org/ or (2b) mbed TLS library, an alternative for encryption, version 2.0 or higher required, available from https://tls.mbed.org/
@@ -76,7 +76,7 @@ SYSTEM REQUIREMENTS: OPTIONAL: (5) LZO real-time compression library, required for link compression, - available from http://www.oberhumer.com/opensource/lzo/ + available from https://www.oberhumer.com/opensource/lzo/ (most supported operating systems have LZO in their installable packages repository. It might be necessary to add LZO_CFLAGS= and LZO_LIBS= to the configure call to make it find the LZO pieces)
@@ -87,7 +87,7 @@ OPTIONAL (for developers only): Automake 1.9 or higher Libtool Git - (2) cmocka test framework (http://cmocka.org) + (2) cmocka test framework (https://cmocka.org) (3) If using t_client.sh test framework, fping/fping6 is needed Note: t_client.sh needs an external configured OpenVPN server. See t_client.rc-sample for more info.
@@ -261,7 +261,7 @@ TUN/TAP Driver References: You need a TUN/TAP kernel driver for OpenVPN to work: - http://www.whiteboard.ne.jp/~admin2/tuntap/ + https://web.archive.org/web/20250504214754/http://www.whiteboard.ne.jp/~admin2/tuntap/ * Haiku:
PORTS +1 -1
@@ -41,7 +41,7 @@ PORTING GUIDELINE TO A NEW PLATFORM: platform. * Make sure that a tun or tap virtual device driver exists for your platform. See - http://vtun.sourceforge.net/tun/ for examples + https://vtun.sourceforge.net/tun/ for examples of tun and tap drivers that have been written for Linux, Solaris, and FreeBSD. * Make sure you have autoconf 2.50+ and
README +0 -3
@@ -34,9 +34,6 @@ For a sample VPN configuration, see To report an issue, see https://github.com/OpenVPN/openvpn/issues/new - (Note: We recently switched to GitHub for reporting new issues, - old issues can be found at: - https://community.openvpn.net/openvpn/report) For a description of OpenVPN's underlying protocol, see the file ssl.h included in the source distribution.
dev-tools/git-pre-commit-format.sh +1 -1
@@ -34,7 +34,7 @@ # - use clang-format or uncrustify depending on presence of .clang-format # config file # -# More info on Uncrustify: http://uncrustify.sourceforge.net/ +# More info on Uncrustify: https://uncrustify.sourceforge.net/ # This file was taken from a set of unofficial pre-commit hooks available # at https://github.com/ddddavidmartin/Pre-commit-hooks and modified to
doc/android.txt +1 -1
@@ -7,7 +7,7 @@ This support is primarily used in the "OpenVPN for Android" app README: https://github.com/schwabe/ics-openvpn/blob/master/doc/README.txt Android provides the VPNService API -(http://developer.android.com/reference/android/net/VpnService.html) +(https://developer.android.com/reference/android/net/VpnService) which allows establishing VPN connections without rooting the device. Unlike on other platforms, the tun device is openend by UI instead of
doc/doxygen/doc_compression.h +1 -1
@@ -87,5 +87,5 @@* * @par * For more information on the LZO library, see:\n -* http://www.oberhumer.com/opensource/lzo/ +* https://www.oberhumer.com/opensource/lzo/ */
doc/doxygen/doc_mainpage.h +1 -1
@@ -32,7 +32,7 @@* This documentation describes the internal structure of OpenVPN. It was * automatically generated from specially formatted comment blocks in * OpenVPN's source code using Doxygen. (See -* http://www.stack.nl/~dimitri/doxygen/ for more information on Doxygen) +* https://www.doxygen.nl/ for more information on Doxygen) * * The \ref mainpage_modules "Modules section" below gives an introduction * into the high-level module concepts used throughout this documentation.
doc/keying-material-exporter.txt +5 -5
@@ -117,21 +117,21 @@ Reference [RFC5705] "Keying Material Exporters for TLS" E. Rescorla, RFC 5705 March 2010 - http://tools.ietf.org/html/rfc5705 + https://tools.ietf.org/html/rfc5705 [RFC5929] "Channel Bindings for TLS" J. Altman, N. Williams, L. Zhu, RFC 5929, July 2010 - http://tools.ietf.org/html/rfc5929 + https://tools.ietf.org/html/rfc5929 [RFC4680] "TLS Handshake Message for Supplemental Data" S. Santesson, RFC 4680, September 2006 - http://tools.ietf.org/html/rfc4680 + https://tools.ietf.org/html/rfc4680 [RFC5878] "TLS Authorization Extension" M. Brown, R. Housley, RFC 5878, May 2010 - http://tools.ietf.org/html/rfc5878 + https://tools.ietf.org/html/rfc5878 [RFC5746] "TLS Renegotiation Indication Extension" E. Rescorla, M. Raym, S. Dispensa, N. Oskov RFC 5746, February 2010 - http://tools.ietf.org/html/rfc5746 + https://tools.ietf.org/html/rfc5746
m4/pkg.m4 +1 -1
@@ -181,7 +181,7 @@ path to pkg-config. _PKG_TEXT -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl +To get pkg-config, see <https://www.freedesktop.org/wiki/Software/pkg-config/>.])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
src/openvpn/list.c +1 -1
@@ -338,7 +338,7 @@ hash_iterator_delete_element(struct hash_iterator *hi)* By Bob Jenkins, 1996. [email protected]... You may use this * code any way you wish, private, educational, or commercial. It's free. * -* See http://burlteburtle.net/bob/hash/evahash.html +* See https://burtleburtle.net/bob/hash/evahash.html * Use for hash table lookup, or anything where one collision in 2^32 is * acceptable. Do NOT use for cryptographic purposes. *
src/openvpn/memdbg.h +1 -1
@@ -62,7 +62,7 @@* * The dmalloc package can be downloaded from: * -* http://dmalloc.com/ +* https://dmalloc.com/ * * When dmalloc is installed and enabled, * use this command prior to running openvpn:
src/openvpn/ntlm.c +2 -2
@@ -179,7 +179,7 @@ ntlm_phase_1(const struct http_proxy_info *p, struct gc_arena *gc)struct buffer out =alloc_buf_gc (96 , gc);/* try a minimal NTLM handshake * -* http://davenport.sourceforge.net/ntlm.html +* https://davenport.sourceforge.net/ntlm.html * * This message contains only the NTLMSSP signature, * the NTLM message type,
@@ -195,7 +195,7 @@ ntlm_phase_3(const struct http_proxy_info *p, const char *phase_2, struct gc_are {/* NTLM handshake * -* http://davenport.sourceforge.net/ntlm.html +* https://davenport.sourceforge.net/ntlm.html * */
src/openvpn/options.c +1 -1
@@ -23,7 +23,7 @@/* * 2004-01-28: Added Socks5 proxy support -* (Christof Meerwald, http://cmeerw.org) +* (Christof Meerwald, https://cmeerw.org) */ #ifdef HAVE_CONFIG_H
src/openvpn/options.h +1 -1
@@ -22,7 +22,7 @@/* * 2004-01-28: Added Socks5 proxy support -* (Christof Meerwald, http://cmeerw.org) +* (Christof Meerwald, https://cmeerw.org) */ #ifndef OPTIONS_H
src/openvpn/route.c +2 -2
@@ -3259,9 +3259,9 @@ done: }/* IPv6 implementation using netlink -* http://www.linuxjournal.com/article/7356 +* https://www.linuxjournal.com/article/7356 - "Kernel Korner - Why and How to Use Netlink Socket" * netlink(3), netlink(7), rtnetlink(7) -* http://www.virtualbox.org/svn/vbox/trunk/src/VBox/NetworkServices/NAT/rtmon_linux.c +* https://www.virtualbox.org/svn/vbox/trunk/src/VBox/NetworkServices/NAT/ */ struct rtreq {
src/openvpn/socks.c +1 -1
@@ -22,7 +22,7 @@/* * 2004-01-30: Added Socks5 proxy support, see RFC 1928 -* (Christof Meerwald, http://cmeerw.org) +* (Christof Meerwald, https://cmeerw.org) * * 2010-10-10: Added Socks5 plain text authentication support (RFC 1929) * (Pierre Bourdon <[email protected]...>)
src/openvpn/socks.h +1 -1
@@ -22,7 +22,7 @@/* * 2004-01-30: Added Socks5 proxy support -* (Christof Meerwald, http://cmeerw.org) +* (Christof Meerwald, https://cmeerw.org) */ #ifndef SOCKS_H
src/openvpn/tun.c +2 -2
@@ -2294,7 +2294,7 @@ open_tun(const char *dev, const char *dev_type, const char *dev_node, struct tunstruct strioctl strioc_if, strioc_ppa;/* improved generic TUN/TAP driver from -* http://www.whiteboard.ne.jp/~admin2/tuntap/ +* https://web.archive.org/web/20250504214754/http://www.whiteboard.ne.jp/~admin2/tuntap/ * has IPv6 support */ CLEAR (ifr);
@@ -3125,7 +3125,7 @@ read_tun(struct tuntap *tt, uint8_t *buf, int len)/* * utun is the native Darwin tun driver present since at least 10.7 * Thanks goes to Jonathan Levin for providing an example how to utun -* (http://newosxbook.com/src.jl?tree=listings&file=17-15-utun.c) +* (https://www.cs.dartmouth.edu/~sergey/netreads/utun/utun-demo.c) */ /* Helper functions that tries to open utun device
src/openvpn/win32-util.c +1 -2
@@ -68,8 +68,7 @@ utf16to8(const wchar_t *utf16, struct gc_arena *gc)* CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, * LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9, and CLOCK$ * -* See: http://msdn.microsoft.com/en-us/library/aa365247.aspx -* and http://msdn.microsoft.com/en-us/library/86k9f82k(VS.80).aspx +* See: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file */ static bool
Signature · 1 line
2.50.1 (Apple Git-155)
Re: [Openvpn-devel] [PATCH v2 1/2] doc: Fix hyperlinks in openvpn(8)
In reply to Christian KujauQuoted 3 lines · Christian Kujau
From: Christian Kujau <[email protected]...>
* http://www.cs.ucsd.edu/users/mihir/papers/hmac.html - 404, RFC104 basically
Probably a good replacement.
Quoted 1 line
* http://sites.inka.de/sites/bigred/devel/tcp-tcp.html - 404, unfortunately
Did a quick search, also couldn't come up with an immediate replacement. For now the replacement is probably better than nothing, but maybe we just need to write our own article about the topic?
Quoted 1 line
* http://www.ietf.org/rfc/rfc2246.txt - HTTPS upgrade to the HTML version
Regards,
Signature · 1 line
Frank Lichtenheld
Re: [Openvpn-devel] [PATCH v2 2/2] doc: HTTPS upgrades and URL fixes throughout the tree
In reply to Christian KujauQuoted 9 lines · Christian Kujau
From: Christian Kujau <[email protected]...>
* HTTPS upgrades
* 404 fixes, with hopefully better helpful links to the relevant documentation
* some trailing white space fixes
* resurrectutun-demo.cfrom a different source
* Don't touch openvpn.doxyfile.in though, as it was autogenerated
* Don't touch COPYING as it's an external license file
* The openvpn.net URLs will be addressed some other time
My comments I did on Github PR are addressed.
Some of these links are not particularly useful at this point and are more artifacts of outdated/obsolete documentation. But this PR doesn't make any of this worse, and lots better. So
Regards,
Signature · 1 line
Frank Lichtenheld
[Openvpn-devel] [PATCH applied] Re: doc: Fix hyperlinks in openvpn(8)
In reply to Christian KujauYour patch has been applied to the master and release/2.6 branch (documentation updates are always worthy a backport).
commit 3199fcebd3b3dd3f207d8cab7693d5eac3bdc64d (master) commit a53b49ebb38e232c21b329bf997828ad589eb471 (release/2.6)
Author: Christian Kujau Date: Mon Oct 6 16:42:47 2025 +0200
doc: Fix hyperlinks in openvpn(8)
Signed-off-by: Christian Kujau <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Message-Id: <[email protected]...>
URL: https://sourceforge.net/p/openvpn/mailman/message/59242864/
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
[Openvpn-devel] [PATCH applied] Re: doc: HTTPS upgrades and URL fixes throughout the tree
In reply to Christian KujauYour patch has been applied to the master branch and release/2.6.
commit 8c53b12ae6a4cf96dc65ff9c5323af862d07b1b2 (master) commit ca1e6321652a46df5a68e50456303c7f2751a29c (release/2.6)
Author: Christian Kujau Date: Mon Oct 6 16:42:48 2025 +0200
doc: HTTPS upgrades and URL fixes throughout the tree
Signed-off-by: Christian Kujau <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Message-Id: <[email protected]...>
URL: https://sourceforge.net/p/openvpn/mailman/message/59242866/
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering