<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/protocols, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2026-04-20T12:57:38Z</updated>
<entry>
<title>luci-proto-openvpn: add server_ipv6 parameter</title>
<updated>2026-04-20T12:57:38Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-04-20T12:57:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=40d46194743cd91a23fd2bac198488db644d67d8'/>
<id>urn:sha1:40d46194743cd91a23fd2bac198488db644d67d8</id>
<content type='text'>
Closes #8558

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-modemmanager: fix ACL command injection</title>
<updated>2026-03-17T07:34:07Z</updated>
<author>
<name>Tim Nordell</name>
</author>
<published>2026-03-16T14:24:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=122839294a8488f49b8e8d365145da49d9ce3104'/>
<id>urn:sha1:122839294a8488f49b8e8d365145da49d9ce3104</id>
<content type='text'>
The ACL permissions were originally authored to support just a single
set of modem interfaces, at the numbers 0-9.  Eventually this was
adjusted to support from 0 to 999 avoiding command injection.

However, as new commands were added, this was reverted again
unfortunately. Language like "regex" has been used in the commit history
for this ACL, and likely the core of the issue is confusion on how these
are parsed.  These are all parsed [1] with fnmatch(...), and not regex(..).

A future useful change could be for rpcd to set the FNM_EXTMATCH option
for fnmatch(...) to simplify this particular match statement, but that's
not considered here since that's a much broader change that needs a
longer discussion.

[1] https://github.com/openwrt/rpcd/blob/a4a5a298588960638a2e1713eb8fb858e1dbedeb/session.c#L143-L147

Fixes: 54aa70112c ("luci-proto-modemmanager: add status page")
Signed-off-by: Tim Nordell &lt;tnordell@airgain.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: fix permissions and write promise</title>
<updated>2026-03-12T16:46:33Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-12T16:44:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=8fa4744ebe44a3016928554f5cf58d6c1edc6493'/>
<id>urn:sha1:8fa4744ebe44a3016928554f5cf58d6c1edc6493</id>
<content type='text'>
structure the promise so uci.set functions properly.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: sync with proto script updates</title>
<updated>2026-03-12T04:06:06Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-11T17:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=d08ae634a88408a82b53ec51ddd027fef113b3f3'/>
<id>urn:sha1:d08ae634a88408a82b53ec51ddd027fef113b3f3</id>
<content type='text'>
make push(_reset) independent of server

The manual notes that push is a legal option in a client
context, i.e. the client can set these also.
Add also push_remove.

fix also the datatype for 'remote' to allow various combos.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: add download link for peer config</title>
<updated>2026-03-05T15:09:43Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-05T15:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ec799109e577c84b5d8ba056fe7e06bfd4551c23'/>
<id>urn:sha1:ec799109e577c84b5d8ba056fe7e06bfd4551c23</id>
<content type='text'>
Ease download of the generated config.

Closes #8389

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: create parent directory for config files</title>
<updated>2026-03-04T17:37:58Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-04T17:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=cf718e675c365249e4225249fba98069245a9d67'/>
<id>urn:sha1:cf718e675c365249e4225249fba98069245a9d67</id>
<content type='text'>
To store the configs, the parent directory shall exist first.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: fix formating of openvpn template option</title>
<updated>2026-03-03T12:59:39Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2026-03-03T12:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=8c2ddb68e19bb95590c91ef9d160aedbfe2b94d0'/>
<id>urn:sha1:8c2ddb68e19bb95590c91ef9d160aedbfe2b94d0</id>
<content type='text'>
Add missing ',' in new option formating.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: format openvpn options</title>
<updated>2026-03-03T12:53:51Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2026-03-03T12:39:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=b7ad8af90b75d59daf0c98fc802054ff0233f18c'/>
<id>urn:sha1:b7ad8af90b75d59daf0c98fc802054ff0233f18c</id>
<content type='text'>
OpenVPN does have many options. To make it manageable, these options
are created by using a generic template. The necessary information for
the template is  defined for each OpenVpn option in a single line.

This is very confusing and has the following disadvantages.

* Difficult to read, as the lines are very long with line breaks.
* A change in the option causes the entire line to be marked as changed.
  This complicates the review process, as it is not immediately apparent
  what has been changed.

The current format offers no advantage during development, as the code
will be minimised later anyway.

Therefore, this commit reformats the OpenVPN template option to make
the individual elements of the template easier to recognise.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: fix literal values for properties</title>
<updated>2026-03-02T15:14:19Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-02T15:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=399b25c07e440274251930743a49ba6ed203a374'/>
<id>urn:sha1:399b25c07e440274251930743a49ba6ed203a374</id>
<content type='text'>
So they do not get coerced to integers.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-openvpn: fix 'remote' error check</title>
<updated>2026-03-02T15:01:47Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2026-03-02T15:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=11b9fafc0d15bbb9c819e84589f7cb4b47cd1538'/>
<id>urn:sha1:11b9fafc0d15bbb9c819e84589f7cb4b47cd1538</id>
<content type='text'>
remote can also take [ip|host]/port/proto

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