Skip to content

pull request: fixes for ovpn 2026-04-17

Antonio Quartulli netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6selftests: ovpn: add nftables config dependencies for test-marktools/testing/selftests/net/ovpn/config+3 -00 repliesApplied
2/6selftests: ovpn: fail notification check on mismatchtools/testing/selftests/net/ovpn/common.sh+13 -10 repliesApplied
3/6selftests: ovpn: flatten slurped notification JSON before filteringtools/testing/selftests/net/ovpn/common.sh+2 -10 repliesApplied
4/6selftests: ovpn: add prefix to helpers and shared variablestools/testing/selftests/net/ovpn/common.sh tools/testing/selftests/net/ovpn/test-chachapoly.sh tools/testing/selftests/net/ovpn/test-close-socket-tcp.sh +8 more+226 -1940 repliesApplied
5/6selftests: ovpn: align command flow with TAPtools/testing/selftests/net/ovpn/common.sh tools/testing/selftests/net/ovpn/test-close-socket.sh tools/testing/selftests/net/ovpn/test-mark.sh +1 more+676 -2730 repliesApplied
6/6selftests: ovpn: serialize YNL listener startuptools/testing/selftests/net/ovpn/test.sh+3 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/6] pull request: fixes for ovpn 2026-04-17

Hi Jakub,

This is a respin of the PR I originally sent against net-next + an extra fix (patch 6).

Please note that this patch:
https://lore.kernel.org/all/[email protected]/
broke the selftests entirely due to the switch from sh to bash.

There are new commits in the kselftest tree which take care of this:
https://lore.kernel.org/all/[email protected]/
but they are not in net yet, therefore you won't be able to test/run our kselftests for now.

This being said...

TCP tests are still failing every now and then.
It seems that sometimes a single ping over a TCP tunnel is lost, thus making the selftest fail.

We believe this is a bug in ovpn which we are currently hunting down. So it's nothing wrong about the tests (they are actually doing their job!).

Test hangs you reported on slow kernels are fixed.

See the tag content for a more detailed summary.
Please pull or let me know of any issue!

Thanks a lot,
Antonio

The following changes since commit 82c21069028c5db3463f851ae8ac9cc2e38a3827:

selftests: net: add missing CMAC to tcp_ao config (2026-04-16 19:35:43 -0700)

are available in the Git repository at:

https://github.com/OpenVPN/ovpn-net-next.git tags/ovpn-net-20260417

for you to fetch changes up to 6c9b1dc218fea8b15893953f5299b209f11fa0a8:

selftests: ovpn: serialize YNL listener startup (2026-04-17 10:54:04 +0200)

----------------------------------------------------------------
This batch includes only fixes to the selftest harness:
* switch to TAP test orchestration
* parse slurped notifications as returned by jq -s
* add ovpn_ prefix to helpers and global variables to avoid clashes
* fail test in case of netlink notification mismatch
* add missing kernel config dependencies
* add delay when launching multiple ynl/cli.py listeners

----------------------------------------------------------------
Ralf Lici (6):
selftests: ovpn: add nftables config dependencies for test-mark
selftests: ovpn: fail notification check on mismatch
selftests: ovpn: flatten slurped notification JSON before filtering
selftests: ovpn: add prefix to helpers and shared variables
selftests: ovpn: align command flow with TAP
selftests: ovpn: serialize YNL listener startup

 tools/testing/selftests/net/ovpn/common.sh         | 355 ++++++++++++----
 tools/testing/selftests/net/ovpn/config            |   3 +
 .../testing/selftests/net/ovpn/test-chachapoly.sh  |   2 +-
 .../selftests/net/ovpn/test-close-socket-tcp.sh    |   2 +-
 .../selftests/net/ovpn/test-close-socket.sh        |  90 +++--
 tools/testing/selftests/net/ovpn/test-float.sh     |   2 +-
 tools/testing/selftests/net/ovpn/test-mark.sh      | 237 +++++++----
 .../selftests/net/ovpn/test-symmetric-id-float.sh  |   4 +-
 .../selftests/net/ovpn/test-symmetric-id-tcp.sh    |   4 +-
 .../selftests/net/ovpn/test-symmetric-id.sh        |   2 +-
 tools/testing/selftests/net/ovpn/test-tcp.sh       |   2 +-
 tools/testing/selftests/net/ovpn/test.sh           | 449 ++++++++++++++-------
 12 files changed, 803 insertions(+), 349 deletions(-)