]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove --memstats feature
authorArne Schwabe <arne@rfc2549.org>
Wed, 29 Oct 2025 16:38:43 +0000 (17:38 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 29 Oct 2025 17:39:50 +0000 (18:39 +0100)
commit70627949b5e77dfee14d778bd3988f04ce35cf2b
treeeffa879da725209579328c869b96d65f550dfa5f
parentf938d991a8222bb3304865f2cd7b368d7f8a9224
Remove --memstats feature

The ``--mememstat`` was largely undocumented and there is no known
user of this feature.  This feature provided very limited statistics
(number of users, link bytes read/written) and we do not except any
usage because of this.

The only documentation was a mention in --help without any mention of
the (binary) format of the mmap file or other usage instructions.

This deals also with issues reported by zeropath regarding potentially
insecure handling of the file permission of the memory mapped file.

Reported-by: Joshua Rogers <contact@joshua.hu>
Found-by: ZeroPath (https://zeropath.com/)
Change-Id: I5f57e7bf52e3f6289462ef05e1f6e81ab0133d0d
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1329
Message-Id: <20251029163849.446-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34021.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
12 files changed:
CMakeLists.txt
Changes.rst
src/openvpn/Makefile.am
src/openvpn/error.c
src/openvpn/forward.c
src/openvpn/init.c
src/openvpn/mstats.c [deleted file]
src/openvpn/mstats.h [deleted file]
src/openvpn/multi.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/syshead.h