[DCO] [MIPS] [BUG] OpenVPN server with enabled DCO does not allow to connect couple of clients
bug
Device: TP-Link Archer C7 v2 (Architecture: MIPS 74Kc / ath79) [**Big Endian**]
DCO allows only one client to be connected. Once second client is connected, the first one is being disconnected and start reconnecting, then first client connects again and second client is disconnected and trying to connect... Endless.
Details including ovpn-dco driver debug messages attached:
[client1.log](https://github.com/user-attachments/files/25392311/client1.log)
[client2.log](https://github.com/user-attachments/files/25392312/client2.log)
[kernel.log](https://github.com/user-attachments/files/25392313/kernel.log)
[openvpn_udp.log](https://github.com/user-attachments/files/25392310/openvpn_udp.log)
The kernel shows next messages:
```
Wed Feb 18 15:31:41 2026 kern.debug kernel: [ 4528.149293] ovpn-udp: ovpn_udp_encap_recv: control packet from unknown peer, sending to userspace
Wed Feb 18 15:31:41 2026 kern.debug kernel: [ 4528.157785] ovpn-udp: ovpn_udp_socket_attach: provided socket already owned by this interface
Wed Feb 18 15:31:41 2026 kern.debug kernel: [ 4528.157818] ovpn-udp: ovpn_netlink_new_peer: adding peer with endpoint=<CLIENT_2_IP>:4029/UDP id=1 VPN-IPv4=172.27.92.12 VPN-IPv6=::
Wed Feb 18 15:31:41 2026 kern.debug kernel: [ 4528.158955] ovpn-udp: ovpn_peer_keepalive_set: scheduling keepalive for peer 1: interval=5 timeout=60
Wed Feb 18 15:31:41 2026 kern.info kernel: [ 4528.160133] ovpn-udp: deleting peer with id 0, reason 0
Wed Feb 18 15:31:41 2026 kern.debug kernel: [ 4528.166571] ********* Cipher rfc7539(chacha20,poly1305) (encrypt)
```
OpenVPN server version:
OpenVPN 2.6.14 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] [DCO]
library versions: OpenSSL 3.0.19 27 Jan 2026, LZO 2.10
Tested on:
Device: TP-Link Archer C7 v2 (Architecture: MIPS 74Kc / ath79) [Big Endian]
OpenWrt 24.10.5, r29087-d9c5716d1d
DCO Module: kmod-ovpn-dco-v2 - latest master branch
Cipher: CHACHA20-POLY1305 (AEAD)
关闭于 2026-02-19 5 条评论