<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/protocols/luci-proto-wireguard/root/usr/share, 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>2025-04-13T14:17:02Z</updated>
<entry>
<title>luci-proto-wireguard: fixed incorrect peer name detection</title>
<updated>2025-04-13T14:17:02Z</updated>
<author>
<name>this-username-has-been-taken</name>
</author>
<published>2025-04-13T13:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=8bff54dc47057e36c0ceb263efe4c82580003924'/>
<id>urn:sha1:8bff54dc47057e36c0ceb263efe4c82580003924</id>
<content type='text'>
Added the legacy peer name detection algorithm. If the new algorithm
fails to find a peer's name (e.g. when the IP address has been changed)
then the legacy value will be used.

Signed-off-by: Tom Haley &lt;this_username_has_been_taken2@proton.me&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: fixed incorrect peer detection for ipv6 and default port</title>
<updated>2024-12-05T17:09:39Z</updated>
<author>
<name>Tom Haley</name>
</author>
<published>2024-12-05T07:54:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=461d632d5c57bb179f2dae0b164b2d7d99d7432c'/>
<id>urn:sha1:461d632d5c57bb179f2dae0b164b2d7d99d7432c</id>
<content type='text'>
Fixed incorrect peer detection if IP v6 is used and no port for peer is defined.

Signed-off-by: Tom Haley &lt;this_username_has_been_taken2@proton.me&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: fixed incorrect peer detection if port is not set</title>
<updated>2024-12-05T17:09:39Z</updated>
<author>
<name>Tom Haley</name>
</author>
<published>2024-12-05T07:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=27ecfdaafe344a79ed32a5b5dc1fddf8f811f91d'/>
<id>urn:sha1:27ecfdaafe344a79ed32a5b5dc1fddf8f811f91d</id>
<content type='text'>
Fixed incorrect peer detection if port is not set (default port is used)

Signed-off-by: Tom Haley &lt;this_username_has_been_taken2@proton.me&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: fixed a vulnerability in the checkPeerHost method</title>
<updated>2024-12-05T17:09:39Z</updated>
<author>
<name>Tom Haley</name>
</author>
<published>2024-12-04T19:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=101ea169c6af90c0aeaff6655b906b6d40155924'/>
<id>urn:sha1:101ea169c6af90c0aeaff6655b906b6d40155924</id>
<content type='text'>
shellquote method is introduced so an injected code cannot be executed by the popen command.

Signed-off-by: Tom Haley &lt;this_username_has_been_taken2@proton.me&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: Fix incorrect peer detection for IP v6</title>
<updated>2024-12-02T17:22:15Z</updated>
<author>
<name>Tom Haley</name>
</author>
<published>2024-12-02T15:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5c97a89684cbc9eb6cf891f44cfd7f89237c52d4'/>
<id>urn:sha1:5c97a89684cbc9eb6cf891f44cfd7f89237c52d4</id>
<content type='text'>
This commit fixes incorrect peer detection when using IP v6 by deleting all the square the square brackets from the wgHost variable.

Signed-off-by: Tom Haley &lt;this_username_has_been_taken2@proton.me&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: follow-up fix for status overview</title>
<updated>2024-10-24T18:34:43Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2024-10-24T18:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=760ac165fa76952161e82bd825d9c757a10e0436'/>
<id>urn:sha1:760ac165fa76952161e82bd825d9c757a10e0436</id>
<content type='text'>
follow-up to 7acea818735a9c5e8577d6b57f359996956f15e4

Closes #7347

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: fixed bug with incorrect peer name detection</title>
<updated>2024-10-23T20:25:27Z</updated>
<author>
<name>this-username-has-been-taken</name>
</author>
<published>2024-10-23T10:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=7acea818735a9c5e8577d6b57f359996956f15e4'/>
<id>urn:sha1:7acea818735a9c5e8577d6b57f359996956f15e4</id>
<content type='text'>
Fixed bug with incorrect peer name detection on `Status -&gt; WireGuard`
page when more than one peer with the same public key exist:
1. Peers are now tested not only by public key, but also by
enabled/disabled status, peer host (both IP and FQDN are supported)
and port.
2. Added required `resolveip` dependency.

Closes #7342

Signed-off-by: @this-username-has-been-taken
Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: adapt to use uqr</title>
<updated>2024-06-27T18:19:58Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2024-05-01T16:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=74f366a1e54f54079fde6e4906e7307f199127e5'/>
<id>urn:sha1:74f366a1e54f54079fde6e4906e7307f199127e5</id>
<content type='text'>
If for some reason luci-lib-uqr is absent, the GUI shows that the proto
handler needs installing (since it now has a dep which is missing).

Suitable action is to install the lib or remove/install wireguard again.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: fix loading peer descriptions</title>
<updated>2022-11-23T12:20:42Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-11-23T12:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=22c51acf81eccb2b690d8a012c379af06a7bccfb'/>
<id>urn:sha1:22c51acf81eccb2b690d8a012c379af06a7bccfb</id>
<content type='text'>
Explicitly load `network` uci in wireguard rpcd backend as `ctx.foreach()`
does not implicitly load it.

Also remove leftover test setup information from the status page source.

Fixes: #6095
Fixes: 008fa18878 ("luci-proto-wireguard: rewrite rpcd handler in ucode")
Fixes: 6e6fce3eb4 ("luci-proto-wireguard: merge status page functionality")
Ref: https://github.com/jow-/ucode/pull/126
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-proto-wireguard: merge status page functionality</title>
<updated>2022-11-22T09:56:36Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-11-22T09:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6e6fce3eb43ea6899eedc91bebd5713a5d4c773b'/>
<id>urn:sha1:6e6fce3eb43ea6899eedc91bebd5713a5d4c773b</id>
<content type='text'>
Merge status page functionality from the separate `luci-app-wireguard`
package into the `luci-proto-wirguard` protocol backend.

Also rewrite the status page markup to be more compact while we're at it.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
