<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/openvpn/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-04-17T06:48:33Z</updated>
<entry>
<title>openvpn: handler: refine netifd routing and config</title>
<updated>2026-04-17T06:48:33Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2026-03-30T16:21:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=bb02e8b73412f0db624d2df31a58803a4cd9ea47'/>
<id>urn:sha1:bb02e8b73412f0db624d2df31a58803a4cd9ea47</id>
<content type='text'>
Introduce a new `ipv6` proto option for OpenVPN netifd integration and
export it to the hotplug environment. IPv6 remains enabled by default,
but can now be explicitly disabled per instance.

Update the hotplug helper to apply IPv6 addresses and routes only when
IPv6 is enabled, allowing cleaner IPv4-only tunnel deployments.

Also improve route handling by:
- ignoring invalid default gateway values (0.0.0.0 / ::)
- replacing fixed `seq` loops with shell-safe while loops
- keeping trusted peer host routes conditional on valid gateways

Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: fix quoting and deprecated option filtering</title>
<updated>2026-03-27T13:56:22Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2026-03-26T16:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=bd524c0a7a1cf13f254a42888bc92b2e305ca08b'/>
<id>urn:sha1:bd524c0a7a1cf13f254a42888bc92b2e305ca08b</id>
<content type='text'>
This patch fixes two issues in the netifd protocol script:

1. Fix logic error in deprecated option filtering:
   Previously, ${f%%:*} was called before checking for the deprecated
   flag (:d). This stripped the suffix and made the check [ "${f#*:}" = "d" ]
   always fail. The cleaning of $f is now deferred until after this check.

2. Improve parameter quoting for specific options:
   - Adds single quotes to --push and --push-remove parameters to handle
     spaces (e.g., "route 10.0.0.0 255.255.255.0").
   - Unifies quoting for 'file' type options to improve shell safety.
   - Refactors the build logic using a case statement for better
     extensibility.

Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: handle netifd setup in hotplug script</title>
<updated>2026-03-21T13:47:47Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2026-03-17T11:19:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=29e74f34d3bd1a62ca3093ebd77093b10082f183'/>
<id>urn:sha1:29e74f34d3bd1a62ca3093ebd77093b10082f183</id>
<content type='text'>
- Process 'up'/'down' events to manage interface status.
- Add IPv4/IPv6 addresses and routes via netifd-proto.
- Parse DNS/search domains from foreign options.
- Convert netmasks and CIDR strings with new helpers.
- Apply MTU settings from OpenVPN environment.

Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: cleanup and fix netifd proto script logic</title>
<updated>2026-03-21T13:47:47Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2026-03-17T11:16:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=bda60d1fc5a178031d52f09136c100b312388e5d'/>
<id>urn:sha1:bda60d1fc5a178031d52f09136c100b312388e5d</id>
<content type='text'>
- Default to '--ifconfig-noexec' and '--route-noexec' to allow hotplug
  script to handle IP and routing configuration.
- Only append '--auth-user-pass-verify' if the option is explicitly
  configured to avoid unexpected authentication requirements.
- Fix missing retrieval of 'auth_user_pass', 'askpass', and 'tls_verify'.
- Remove redundant '--config' parameter (managed by option_builder).
- Simplify 'script_security' assignment logic.

Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: change tmp-dir to /tmp</title>
<updated>2026-03-15T06:45:36Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T17:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=56453de58cb4ccb14a2e2fd7f78fd77f0dac10d6'/>
<id>urn:sha1:56453de58cb4ccb14a2e2fd7f78fd77f0dac10d6</id>
<content type='text'>
This allows openvpn to create any temp files after
user or group change at exec time.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: change file/path types</title>
<updated>2026-03-15T06:45:36Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T15:03:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ef3ffde8999b1af28196699ee14bb5bb84ad49ba'/>
<id>urn:sha1:ef3ffde8999b1af28196699ee14bb5bb84ad49ba</id>
<content type='text'>
move file and path type values to FILE type params
so they are better handled with quoting, in case
paths contain spaces.

Remove duplicate 'extra_certs'.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: proto handler; write params to config file</title>
<updated>2026-03-15T06:45:36Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T13:48:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=dc8198b9607ed5eec3855377b368cfd11e181964'/>
<id>urn:sha1:dc8198b9607ed5eec3855377b368cfd11e181964</id>
<content type='text'>
writing the command line to a config file avoids
formatting pitfalls for the command line.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: proto handler; trim white-space from append</title>
<updated>2026-03-15T06:45:36Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T13:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ea5daeae1664d7d73a9d2970b3782f1dcf2e3224'/>
<id>urn:sha1:ea5daeae1664d7d73a9d2970b3782f1dcf2e3224</id>
<content type='text'>
'append' inserts white-space by default (3rd parameter)

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: shell proto script improvements</title>
<updated>2026-03-15T06:45:36Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T14:20:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=00471e0dc9ae8f84c8f58f5f24f2f1cc44104baa'/>
<id>urn:sha1:00471e0dc9ae8f84c8f58f5f24f2f1cc44104baa</id>
<content type='text'>
add mode server hook scripts hotplug handling

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>openvpn: ucode hotplug script improvements</title>
<updated>2026-03-15T06:45:36Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T14:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0d39f4ec8bb5b7c8c41b0116e635501c968102bf'/>
<id>urn:sha1:0d39f4ec8bb5b7c8c41b0116e635501c968102bf</id>
<content type='text'>
add mode server hook scripts hotplug handling

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
</feed>
