Commit graph

7 commits

Author SHA1 Message Date
Jason A. Donenfeld
4d0d9ac3f9 wireguard: assume /32 or /128 if no CIDR is given
This brings the route_allowed_ips option into parity with the addresses
option, which makes these same assumption. The parsing selection is made
to be identical between these two settings.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-07-07 16:19:50 +02:00
Jason A. Donenfeld
de97e29328 wireguard: remove misspelled debugging line
There are no other "echo" debug lines in this file, and it seems
clear that this one was accidentally left as a debugging line,
since it misspelled "dependency". So, we just remove this line.

We don't bump the package version, though, because this is
pretty inconsequential.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-06-14 03:15:27 +02:00
Jason A. Donenfeld
658ffbb3fd wireguard: preshared-key is now an attribute of the peer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-09 16:51:34 +02:00
danrl
7a255f29f1 net/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:44:33 +01:00
danrl
e0c2f5bdc8 wireguard: new version and usability improvements
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-01-16 11:20:07 +08:00
danrl
7d34e8e5f4 wireguard: add protocol dependency for endpoints
Endpoint dependency implemented. The actual endpoint is used exclusively. Using
this approach we are dual-stack safe (not errors on missing protocol) and create
only the dependency that are really necessary.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-12-24 14:33:00 +08:00
danrl
124ee5c30d wireguard-tools: Add netifd protocol helper
Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-11-15 16:45:12 +01:00