pull request: fixes for ovpn 2026-04-17
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | selftests: ovpn: add nftables config dependencies for test-marktools/ | +3 | 0 replies | Applied |
| 2/6 | selftests: ovpn: fail notification check on mismatchtools/ | +13 | 0 replies | Applied |
| 3/6 | selftests: ovpn: flatten slurped notification JSON before filteringtools/ | +2 | 0 replies | Applied |
| 4/6 | selftests: ovpn: add prefix to helpers and shared variablestools/ tools/ tools/ +8 more | +226 | 0 replies | Applied |
| 5/6 | selftests: ovpn: align command flow with TAPtools/ tools/ tools/ +1 more | +676 | 0 replies | Applied |
| 6/6 | selftests: ovpn: serialize YNL listener startuptools/ | +3 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)