Re: [Openvpn-devel] Is auth-nocache broken?

2022-10-20 Thread Selva Nair
Hi, On Wed, Oct 19, 2022 at 4:56 PM Gert Doering wrote: > Hi, > > On Wed, Oct 19, 2022 at 02:33:27PM -0400, Selva Nair wrote: > > Using --auth-user-pass, --auth-nocache and --reneg-sec , > no > > auth-tokens in use, I see that username/password is prompted on the first > > connection attempt and

Re: [Openvpn-devel] [PATCH] Implement the --passtos option for IPv6 packets and sockets

2022-10-20 Thread Arne Schwabe
+ +/* + * Extract TOS bits. Assumes that ipbuf is a valid IPv6 packet. + */ +static inline void +link_socket_extract_tos_v6(struct link_socket *ls, const struct buffer *ipbuf) +{ +if (!ls || !ipbuf) +{ +return; +} + +struct openvpn_ipv6hdr *ip6h = (struct openvpn_ipv6hdr *)

Re: [Openvpn-devel] [PATCH v5 2/3] Allow setting control channel packet size with max-packet-size

2022-10-20 Thread tincantech via Openvpn-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Plus one more typo. Sent with Proton Mail secure email. --- Original Message --- On Thursday, October 20th, 2022 at 11:05, Arne Schwabe wrote: > diff --git a/src/openvpn/common.h b/src/openvpn/common.h > index b94680885..dce6fd01d

Re: [Openvpn-devel] [PATCH v5 2/3] Allow setting control channel packet size with max-packet-size

2022-10-20 Thread Frank Lichtenheld
On Thu, Oct 20, 2022 at 12:05:46PM +0200, Arne Schwabe wrote: > Currently control packet size is controlled by tun-mtu in a very > non-obvious way since the control overhead is not taken into account > and control channel packet will end up with a different size than > data channel packet. > > Ins

Re: [Openvpn-devel] [PATCH for 2.5/2.6] Purge auth-token as well while purging passwords

2022-10-20 Thread Arne Schwabe
Am 20.10.22 um 00:46 schrieb selva.n...@gmail.com: From: Selva Nair Starting from commit e61b401a auth-token is saved in a separate struct from auth-user-pass and is not cleared when ssl_purge_auth() is called. This makes "forget-passwords" sent to the management interface or "--management-forg

[Openvpn-devel] [PATCH v5 2/3] Allow setting control channel packet size with max-packet-size

2022-10-20 Thread Arne Schwabe
Currently control packet size is controlled by tun-mtu in a very non-obvious way since the control overhead is not taken into account and control channel packet will end up with a different size than data channel packet. Instead we decouple this and introduce max-packet-size. Control packet size d