wireguard-tools/src
Jason A. Donenfeld 3f7a31faea wg-quick: freebsd: allow loopback to work
FreeBSD adds a route for point-to-point destination addresses. We don't
really want to specify any destination address, but unfortunately we
have to. Before we tried to cheat by giving our own address as the
destination, but this had the unfortunate effect of preventing
loopback from working on our local ip address. We work around this with
yet another kludge: we set the destination address to 127.0.0.1. Since
127.0.0.1 is already assigned to an interface, this has the same effect
of not specifying a destination address, and therefore we accomplish the
intended behavior.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-24 03:28:54 +01:00
..
completion global: update copyright 2019-01-07 19:26:10 -05:00
man wg.8: AllowedIPs isn't actually required 2018-10-19 03:35:25 +02:00
systemd wg: reorganize for multiplatform wg-quick 2018-05-14 18:18:40 +02:00
wg-quick wg-quick: freebsd: allow loopback to work 2019-01-24 03:28:54 +01:00
config.c global: update copyright 2019-01-07 19:26:10 -05:00
config.h global: update copyright 2019-01-07 19:26:10 -05:00
containers.h netlink: use __kernel_timespec for handshake time 2019-01-23 14:29:44 +01:00
curve25519.c global: normalize -> clamp 2019-01-23 14:29:44 +01:00
curve25519.h global: normalize -> clamp 2019-01-23 14:29:44 +01:00
encoding.c global: update copyright 2019-01-07 19:26:10 -05:00
encoding.h global: update copyright 2019-01-07 19:26:10 -05:00
genkey.c global: normalize -> clamp 2019-01-23 14:29:44 +01:00
INSTALL wg: add installation note for distros 2017-01-05 19:41:23 +01:00
ipc.c netlink: use __kernel_timespec for handshake time 2019-01-23 14:29:44 +01:00
ipc.h global: update copyright 2019-01-07 19:26:10 -05:00
Makefile global: update copyright 2019-01-07 19:26:10 -05:00
mnlg.c global: update copyright 2019-01-07 19:26:10 -05:00
mnlg.h global: update copyright 2019-01-07 19:26:10 -05:00
pubkey.c global: update copyright 2019-01-07 19:26:10 -05:00
set.c global: update copyright 2019-01-07 19:26:10 -05:00
setconf.c global: update copyright 2019-01-07 19:26:10 -05:00
show.c netlink: use __kernel_timespec for handshake time 2019-01-23 14:29:44 +01:00
showconf.c global: update copyright 2019-01-07 19:26:10 -05:00
subcommands.h global: update copyright 2019-01-07 19:26:10 -05:00
terminal.c global: update copyright 2019-01-07 19:26:10 -05:00
terminal.h global: update copyright 2019-01-07 19:26:10 -05:00
wg.c global: update copyright 2019-01-07 19:26:10 -05:00