Re: [Openvpn-devel] [ovpn-dco] sudden network disconnection

2021-03-30 Thread Antonio Quartulli
Hi, On 31/03/2021 08:29, Antonio Quartulli wrote: > A packet dump of the whole session may also help. Before taking the dump, I would switch to encryption "none", as it will help understanding what is going on at all levels. (Assuming the problem will still appear) Cheers, -- Antonio Quartull

Re: [Openvpn-devel] [ovpn-dco] sudden network disconnection

2021-03-30 Thread Antonio Quartulli
Hi, On 31/03/2021 07:21, Simon Matter wrote: >> Hi Antonio, >> >> As you know I am porting opvn-dco to my router whose kernel is V4.14.76. >> After solving AF_NETLINK group issue we discussed >> yesterday. It finally works. But I encounter another issue :-( . When >> testing the performance with

Re: [Openvpn-devel] [ovpn-dco] sudden network disconnection

2021-03-30 Thread Antonio Quartulli
Hi, On 31/03/2021 06:22, Tony He wrote: > [36981.631546] ovpn_udp_encap_recv: cannot handle incoming packet: -28 > [36982.692005] ovpn_udp_encap_recv: cannot handle incoming packet: -28 Are these the only two lines from ovpn-dco? or is this a "summary"? The problem might be related to the router

Re: [Openvpn-devel] [ovpn-dco] sudden network disconnection

2021-03-30 Thread Simon Matter
> Hi Antonio, > > As you know I am porting opvn-dco to my router whose kernel is V4.14.76. > After solving AF_NETLINK group issue we discussed > yesterday. It finally works. But I encounter another issue :-( . When > testing the performance with iperf3, disconnection occurs > and recovers after a

[Openvpn-devel] [ovpn-dco] sudden network disconnection

2021-03-30 Thread Tony He
Hi Antonio, As you know I am porting opvn-dco to my router whose kernel is V4.14.76. After solving AF_NETLINK group issue we discussed yesterday. It finally works. But I encounter another issue :-( . When testing the performance with iperf3, disconnection occurs and recovers after a few seconds

Re: [Openvpn-devel] [PATCH 2/5] xmit_hold is only required for port_share

2021-03-30 Thread Antonio Quartulli
Hi, On 25/03/2021 22:55, Antonio Quartulli wrote: > Hi, > > On 25/03/2021 22:37, Antonio Quartulli wrote: >> Anybody can see why we need that for port-share? >> I'd rather try to understand the above and ditch this member entirely, >> if the answer is "we don't need it". > > After more tests I i

Re: [Openvpn-devel] [ovpn-dco] try to port to kernel 4.14.76, but can not join AF_NETLINK group

2021-03-30 Thread Tony He
Hi Antonio, The issue is I used Arne's working dco branch, it fails to register AF_NETLINK group. Old code like: int ret = nl_socket_add_memberships(dco->nl_sock, dco->ovpn_dco_mcast_id, RTNLGRP_LINK, RTNLGRP_NOTIFY, RTNLGRP_NONE); I see Arne just pushed

Re: [Openvpn-devel] [ovpn-dco] try to port to kernel 4.14.76, but can not join AF_NETLINK group

2021-03-30 Thread Antonio Quartulli
Hi Tony, On 30/03/2021 12:23, Arne Schwabe wrote: > Am 30.03.21 um 09:36 schrieb Tony He: >> Hi Antonio, Arne, >> >> Sorry to bother you. I have a router based on Linux kernel >> 4.14.76(4.14.x is LTS version). Because of some reasons,  >> it's hard to upgrade to v5.x to play ovpn-dco. So I am por

Re: [Openvpn-devel] [ovpn-dco] try to port to kernel 4.14.76, but can not join AF_NETLINK group

2021-03-30 Thread Arne Schwabe
Am 30.03.21 um 09:36 schrieb Tony He: > Hi Antonio, Arne, > > Sorry to bother you. I have a router based on Linux kernel > 4.14.76(4.14.x is LTS version). Because of some reasons,  > it's hard to upgrade to v5.x to play ovpn-dco. So I am porting ovpn-dco > to 4.14.76 kernel. After some hacking, it

[Openvpn-devel] [ovpn-dco] try to port to kernel 4.14.76, but can not join AF_NETLINK group

2021-03-30 Thread Tony He
Hi Antonio, Arne, Sorry to bother you. I have a router based on Linux kernel 4.14.76(4.14.x is LTS version). Because of some reasons, it's hard to upgrade to v5.x to play ovpn-dco. So I am porting ovpn-dco to 4.14.76 kernel. After some hacking, it's almost done. Now it seems that only one issue n