[Openvpn-devel] [PATCH v4 3/3] Add unit test for reliable_get_num_output_sequenced_available

2022-09-21 Thread Arne Schwabe
Patch v4: rebase Signed-off-by: Arne Schwabe --- tests/unit_tests/openvpn/Makefile.am | 5 +- tests/unit_tests/openvpn/mock_get_random.c | 10 tests/unit_tests/openvpn/test_packet_id.c | 55 ++ 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/tests/

[Openvpn-devel] Summary of the community meeting (21st September 2022)

2022-09-21 Thread Samuli Seppänen
Hi, Here's the summary of the IRC meeting. --- COMMUNITY MEETING Place: #openvpn-meeting on libera.chat Date: Wed 21st September 2022 Time: 10:30 CEST (9:30 UTC) Planned meeting topics for this meeting were here: Your local meet

[Openvpn-devel] [PATCH v4 2/3] Allow setting control channel packet size with max-packet-size

2022-09-21 Thread Arne Schwabe
Currently control packet size is controlled by tun-mtu in a very non-obvious way since the control overhead is not taken into account and control channel packet will end up with a different size than data channel packet. Instead we decouple this and introduce max-packet-size. Control packet size d

[Openvpn-devel] [PATCH v4 1/3] Ensure that control channel packet are respecting maximum packet size

2022-09-21 Thread Arne Schwabe
This ensures that control packets are actually smaller than the maximum control channel packet size. Since OpenVPN will consider a control message packet complete when the TLS record is complete, we have to ensure that the SSL library will still write one record, so the receiving side will only be