Re: logs entries not as openvpn user

Gert Doering <[email protected]> Tue, 9 Sep 2025 23:06:23 +0200
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Hi,

On Tue, Sep 09, 2025 at 02:59:47PM -0400, Dan Langille wrote:
> DCO seems to speed things up a little bit.

DCO speeds up things significantly while at the same time reducing
CPU load.  Whether it is a "must have" depends on overall VPN
requirements... for a "I need this to securely reach low-bandwidth
things at home" profile it's not needed ;-)

> I would prefer to run as non-root, that's often a goal for me.

As of today, we haven't looked deeply into whether this is possible
on FreeBSD, and if yes, how so.  OpenVPN needs to do privileged system
calls to tell the kernel "hey, new peer, use these keys" (etc).

On Linux, there is CAP_NET_ADMIN which can grant this sort of access to
non-root processes.  On FreeBSD, I don't know (yet).

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJowJbPAAoJEB2Cnv7KVigS4jsMAIgQGNyfTn1S7S5xINU8u3Ho
QSTqEzvH6xbTeFjMjbA+i9KfCQw/MlRXrNuTeOe+IIT3vQXNaQSXdmn/5S+EWxDr
ztgb8/0Caim5D16Wc+ZlnlVXS22jY4W/TA5xGoqEmUOtooZvEUzJLn634ugBHt4D
O20XGEpqVFwaMK78a+6yM+/ISCANWUluOhMZsTGRZgQAXb6beZvhbG9GYAV8Tk0o
mF9x7Mt775hGP5Zqlcqovg0y+v+rsJa0XCUE2GS+QTMKCqrhqayUX88FeeSntI62
uo6dLLbHfwfQZ5vwuX9tgUjIdLDCwXiG+9iwGoob9wTUsFkNmyKxvkA0ACkVIcLz
LygwVsR0wqBq0klwyMCbwXNixasU9qmnoGHDk/+y8x0BY4gMqwHHTPzzjpVvCZ4Z
Cu9dZiSaZeX7gKWQUZjE6moleJdc8FH7kpuBEV4JPUntEjooHI6cAEPs6vrjoK72
P3PdB+VCl9o0e40u2+EiTGYZ+K1VMMqUaujIXPBeKQ==
=uJcq
-----END PGP SIGNATURE-----