Commit Graph

14 Commits

Author SHA1 Message Date
Qingfang Deng 407e076759 ovpn-dco: fix build on kernel 6.18.33
Kernel version 6.18.33 backports kmalloc_obj macros but GFP flags are
required, which causes build failures as ovpn omits GFP flags. Undef
those macros to fix the build.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2026-05-26 12:04:35 +03:00
Qingfang Deng 974c2be6b8 ovpn-dco: work around EIP-197 incompatibility
ovpn-dco is currently incompatible with the SafeXcel EIP-197
cryptographic engine. Disable async until this is fixed.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2026-04-25 08:30:25 +03:00
Qingfang Deng 5f02f01359 ovpn-dco: switch to the new source
The ovpn kernel module is is part of the Linux kernel starting from
version 6.16.
Switch to the new officially maintained backports source:
https://github.com/OpenVPN/ovpn-backports

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2026-04-13 19:24:25 +03:00
Sander van Deijck a5f69cdc41 ovpn-dco: update to version 0.2.20251017
Update the ovpn-dco package to the latest version

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
2026-03-18 12:14:11 +02:00
Andy Chiang 0d58d02753 ovpn-dco: bump version to 0.2.20250801
Fix version number for timer API changes

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2025-09-28 11:49:46 -03:00
Andy Chiang 33e1162978 ovpn-dco: fix package dependencies
add kmod-crypto-chacha20poly1305 kmod-crypto-lib-chacha20 kmod-crypto-lib-poly1305 for chacha20

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2025-09-28 11:49:46 -03:00
Ivan Pavlov 63f5058415 ovpn-dco: update to version 0.2.20241216
Added compatibility with 6.12 kernel

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2025-05-21 07:19:01 +02:00
Adam Duskett 298faf91bc ovpn-dco: bump version to 0.2.20240320
Fixes builds against kernel 6.6

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
2024-04-07 20:42:39 -07:00
Martin Schiller d42a6758b9 ovpn-dco: fix package dependencies
We have to add an "IPV6:" in front of the kmod-udptunnel6 to fix
redundant dependencies with the openvpn-* packages.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2023-09-16 17:03:03 +08:00
Martin Schiller 57dd58a14c ovpn-dco: Update to v0.2.20230426
OpenVPN 2.6.2+ changes the way OpenVPN control packets are handled on
Linux when DCO is active, fixing the lockups observed with 2.6.0/2.6.1
under high client connect/disconnect activity. This is an INCOMPATIBLE
change and therefore an ovpn-dco kernel module older than v0.2.20230323
(commit ID 726fdfe0fa21) will not work anymore and must be upgraded.
The kernel module was renamed to "ovpn-dco-v2.ko" in order to highlight
this change and ensure that users and userspace software could easily
understand which version is loaded. Attempting to use the old ovpn-dco
with 2.6.2+ will lead to disabling DCO at runtime.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2023-07-24 22:50:06 -07:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
John Thomson 5c8780e9de ovpn-dco: bump package to fix kernel 6.1 compile
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
2022-11-15 07:25:16 -08:00
Sven Eckelmann 8340b842f5 ovpn-dco: Avoid building against musl headers
The musl headers contain defines which are incompatible with kernel builds.
For example alltypes.h contain a __BIG_ENDIAN define. This will force
various kernel functions/macros to be build in a way which requires the
target system to be big endian. But if the target system is actually little
endian, these function will then not perform there intended tasks. The
actual (hard to debug) effects can vary between minor problems and fatal
errors.

This is port of the fix from OpenWrt's commit 9ac47ee46918 ("build: use
-nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules")

Fixes: 17cd1793bb ("ovpn-dco: Add package")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-11-29 01:44:11 -08:00
Jianhui Zhao 17cd1793bb ovpn-dco: Add package
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-11-12 11:02:03 -08:00