Commit graph

22 commits

Author SHA1 Message Date
Jo-Philipp Wich
86d0bf86ea luci-proto-wireguard: remove peer sections when deleting interface
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 890dcac2de)
2020-03-03 21:31:50 +01:00
Jo-Philipp Wich
c1405dd9c3 luci-proto-wireguard: explicitely escape slashes in regex literals
The unespaced slashes confuse xgettext and likely other source
scanners as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f1c89c103b)
2020-01-29 08:30:51 +01:00
Jo-Philipp Wich
284918bfaf treewide: move templates and libraries not used by the core to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Jo-Philipp Wich
995322c55f luci-proto-wireguard: fix preshared key validation
Ensure that the preshared key option remains optional.

Fixes: #3075
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-17 08:28:45 +02:00
Jo-Philipp Wich
06f4feca1d protocols: drop server side cbi implementations of protocol handlers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
6a2a53a829 protocols: add client side protocol handler implementations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Dan Lüdtke
63b86dbbbf luci-*-wireguard: Remove inactive maintainer
I tried to find a successor in the last months, but that failed.

Signed-off by Dan Luedtke <mail@danrl.com>
2018-11-10 13:54:59 +01:00
rwalli
140f41b40f
Add description 2018-07-08 19:46:10 +02:00
Kevin Darbyshire-Bryant
8f67019713 wireguard: update wireguard url
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-11 11:43:39 +01:00
square.wf
43589ae4d8
Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port 2018-01-30 15:38:31 +01:00
Jo-Philipp Wich
f01e49210b luci-proto-wireguard: use "Optional" instead of "Optional." as translation
This allows sharing the translation string with other components.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-30 21:45:54 +02:00
Jason A. Donenfeld
b9b64aae96 wireguard: preshared-key is now an attribute of the peer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-09 16:51:40 +02:00
danrl
cd8333cf0b luci-proto-wireguard: add support for fwmark option
Adds support for the fwmark option.

FwMark is a 32-bit fwmark for outgoing packets.
If set to 0 or "off", this option is disabled.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-27 20:48:46 +01:00
Dan Lüdtke
517d430f65 luci-proto-wireguard: mark package as arch indep.
Marks package luci-proto-wireguard as architecture independent.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-16 21:50:39 +01:00
danrl
8fc55591b9 luci-proto-wireguard: stricter input validation
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15 10:03:29 +01:00
danrl
a9463d3d1a luci-proto-wireguard: fix wrong maximum MTU
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-03 21:05:01 +01:00
danrl
77ea7c8c7e luci-proto-wireguard: enable addressing for tunnel interfaces
Enable static addresses on WireGuard tunnel interfaces without requiring
an static address interface.

This removes the requirement to use a static address interface on top of a
WireGuard tunnel interface in the majority of cases. In the past, users have
been confused by the current approach and asked for a simpler way to configure
WireGuard interfaces.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-01-14 17:12:36 +01:00
danrl
3bfc32f541 luci-proto-wireguard: Fix misleading description
Description was misleading, as the routes are not created automatically. We have
a flag to create routes. Added a hint what to fill into the AlledIPs field as
users repeatedly have struggled to use it correctly. Thanks to Stefan Agner for
providing feedback on this.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-12-01 09:01:35 +01:00
danrl
e610bfa1f7 luci-proto-wireguard: do not depend on meta-package
Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-11-19 15:00:01 +01:00
danrl
eb44a58c6d luci-proto-wireguard: input validation optimization 2016-11-15 23:57:23 +01:00
Dan Lüdtke
f9f4145bbd luci-proto-wireguard: added maintainer
Signed-off-by: Dan Lüdtke <mail@danrl.com>
2016-11-15 21:43:09 +01:00
danrl
9caa982c19 luci-proto-wireguard: WireGuard VPN Protocol (New)
WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
2016-11-15 21:43:09 +01:00