Hi Gert,

> On 2. Jun 2024, at 17:50, Gert Doering <g...@greenie.muc.de> wrote:
> 
> work correctly (without it, p2p ifconfig claims to work but ipv6 route
> addition fails as well).

I did not notice but all the better.

> There is a slight catch - if the interface (ovpn3) has already been
> brought "up", the dco_set_ifmode() call fails with 
> 
>  2024-06-02 14:54:06 dco_set_ifmode: failed to set ifmode=00008002: Device 
> busy (errno=16)
> 
> .. so it will not work properly in all cases.

I mentioned this in the original work patch on our end:

https://github.com/opnsense/ports/commit/2dc9273a03577

However, I believe something on the OpenVPN end changed in 2.6
for DCO related changes prior as we ran into these integration
bugs:

https://github.com/opnsense/core/commit/c22f74a786

Which indicate the daemon stops working properly in these cases
anyway. This appeared to be a general problem, not directly related to
DCO as we weren't using it / lacked support on FreeBSD 13 at the
time. Did not dive too much into the OpenVPN code but it did verify
the suspicion and this needs to be addressed from the user side now
which is more than reasonable.

> The patch got badly whitespace mangled in transit (empty lines got
> turned into extra indent in the following line, and thus).  As I said
> on IRC, I'm happy to fix that for occasional submitters, but generally
> recommend "git send-email" or pushing to gerrit to avoid outlook induced
> garbage.

I'll improve my process for the next one. Thanks!


Cheers,
Franco


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to