Attention is currently required from: Arne Schwabe, Răzvan Cojocaru.

Deri Haerudi has posted comments on this change by Deri Haerudi. ( 
https://gerrit.openvpn.net/c/openvpn/+/2341?usp=email )

Change subject: dns-scripts: parse dns_vars_file as data instead of sourcing it
......................................................................


Patch Set 2:

Patch Set 2: addressed both comments (dev check in the reader plus %...% sed 
addresses, '|| exit 1' on an unreadable vars file) and reworded the message 
accordingly.

I also corrected the last paragraph of the message. The resolv.conf output is 
only byte-identical with 0 or 6 search domains; with 1-5 the old loop left 
fewer trailing blanks on the 'search' line.

Tested with dash and bash: crafted dev values (sed 'e', r, w, leading '-', 
'..', spaces, quotes, $(...)) are rejected or inert; tun0, eth0.100, wg0, utun3 
and tun/0 still round-trip dns-up/dns-down to the original resolv.conf; normal 
resolvectl/resolvconf output is unchanged from PS1.


--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2341?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id05f3e4e32aeb806d762858e754adc82f42d4371
Gerrit-Change-Number: 2341
Gerrit-PatchSet: 2
Gerrit-Owner: Deri Haerudi <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Răzvan Cojocaru <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Wed, 25 Nov 2026 09:36:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to