Acked-by: Gert Doering <[email protected]>
Code looks good.
Done a quick test on a Linux/DCO server, with TCP and --multihome. Without
the patch:
2023-09-10 17:15:20 us=552871 freebsd-14-amd64/194.97.140.5:33293 MULTI:
primary virtual IPv6 for freebsd-14-amd64/194.97.140.5:33293:
fd00:abcd:220:1::1002
Segmentation fault (core dumped)
with the patch:
2023-09-10 17:16:57 us=590075 freebsd-14-amd64/194.97.140.5:41489 MULTI:
primary virtual IPv6 for freebsd-14-amd64/194.97.140.5:41489:
fd00:abcd:220:1::1002
2023-09-10 17:16:57 us=590252 freebsd-14-amd64/194.97.140.5:41489 Data Channel
MTU parms [ mss_fix:1366 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136
payload:1768 tailroom:562 ET:0 ]
2023-09-10 17:16:57 us=590348 freebsd-14-amd64/194.97.140.5:41489 Outgoing
dynamic tls-crypt: Cipher 'AES-256-CTR' initialized with 256 bit key
..
"and it just works".
Since the logic for "what do we need to do differently?" is the same
as for the non-DCO case now, I have not done more in-depth tests
(though I maybe *should* set up a server with multiple v4+v6 addresses
and run client tests against either one).
I have adjusted the github tag - our established format is
Github: fixes OpenVPN/openvpn#390
not anything else.
Your patch has been applied to the master and release/2.6 branch (bugfix).
commit 0793eb105c5720c4eb31af71c9db81459439e510 (master)
commit 70ef43f2b9b938256e0f689f4ddba0d6fbb3a371 (release/2.6)
Author: Antonio Quartulli
Date: Wed Aug 16 01:15:55 2023 +0200
dco: fix crash when --multihome is used with --proto tcp
Signed-off-by: Antonio Quartulli <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg26953.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel