<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/wg-installer/wg-server/lib, 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>2022-01-20T13:44:26Z</updated>
<entry>
<title>wg-installer: create wireguard key if it does not exist</title>
<updated>2022-01-20T13:44:26Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-20T13:10:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=324fa79d7c8a90e899a81bbb3ae0c5a5a602f88e'/>
<id>urn:sha1:324fa79d7c8a90e899a81bbb3ae0c5a5a602f88e</id>
<content type='text'>
Check if the key exists which is given by
    option wg_key '/etc/wgserver/wg.key'

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: check if a key is already inserted</title>
<updated>2022-01-20T08:19:04Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-18T17:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=da48bc3792705b12fc104459ed9f5f1b73544d17'/>
<id>urn:sha1:da48bc3792705b12fc104459ed9f5f1b73544d17</id>
<content type='text'>
Check if a peer is already existing with a given public key. Introduce a
response code for signaling why the server rejected the request.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: rework code</title>
<updated>2022-01-20T01:04:50Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-19T17:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=69c81790d1045e064cd9c643a1643a0f919f448d'/>
<id>urn:sha1:69c81790d1045e064cd9c643a1643a0f919f448d</id>
<content type='text'>
Use shellcheck to rework the code. Use "export" to return variables from
a function call. Further, fix typos.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: cosmetic changes</title>
<updated>2022-01-18T17:20:20Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-18T16:39:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=38a9a3e0dc9713af7509e455ca9a71567d80323f'/>
<id>urn:sha1:38a9a3e0dc9713af7509e455ca9a71567d80323f</id>
<content type='text'>
Use "ip addr" instead of "ip addres" or "ip a".

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: rework iproute2 commands</title>
<updated>2022-01-16T09:39:19Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-16T09:04:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fea27cec05c0d76d3bb6aad1b4bfd53270c1c263'/>
<id>urn:sha1:fea27cec05c0d76d3bb6aad1b4bfd53270c1c263</id>
<content type='text'>
- Use ip address add instead of ip a a
- Directly add broadcast address

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: fix shell typo</title>
<updated>2022-01-12T17:58:46Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-12T17:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=53503c4a3a6660a67e88a37876a87e9b824ee03c'/>
<id>urn:sha1:53503c4a3a6660a67e88a37876a87e9b824ee03c</id>
<content type='text'>
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: generate new keys for every connection</title>
<updated>2022-01-11T23:51:08Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-11T22:06:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8ab044712abb7e1a319099a419b1265ea04fb53c'/>
<id>urn:sha1:8ab044712abb7e1a319099a419b1265ea04fb53c</id>
<content type='text'>
Generate new keys on every new connection.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: fix ipv4 meshing via olsr</title>
<updated>2022-01-08T21:30:47Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-08T21:08:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4302bfd3c8b710411bc8572ad218f4b17dfb0c67'/>
<id>urn:sha1:4302bfd3c8b710411bc8572ad218f4b17dfb0c67</id>
<content type='text'>
The ipv4 address space was not allowed.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: add ipv4 support</title>
<updated>2022-01-07T07:04:00Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-06T23:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=98d8680a8c26adfba431da008c9a76ff85786390'/>
<id>urn:sha1:98d8680a8c26adfba431da008c9a76ff85786390</id>
<content type='text'>
Add base_v4prefix to allow ipv4 mesh connections.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: delete old interfaces</title>
<updated>2021-03-14T10:27:07Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2021-03-13T19:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=36dc9b3f797dd04d075d9b6c36fece68d03470fe'/>
<id>urn:sha1:36dc9b3f797dd04d075d9b6c36fece68d03470fe</id>
<content type='text'>
Add "wg_check_interfaces" and specify a timeout in the config file.
This allows to delete not used wireguard-interfaces automatically.

For example a cronjob can be installed that calls:
  . /usr/share/wginstaller/wg_functions.sh &amp;&amp; wg_check_interfaces

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
</feed>
