aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* version: bump snapshotHEAD0.0.20191219masterJason A. Donenfeld2019-12-192-2/+2
|
* compat: ipv6_dst_lookup_flow was backported to 5.3 and 5.4Jason A. Donenfeld2019-12-191-1/+1
|
* wg-quick: linux: use already configured addresses instead of in-memoryJason A. Donenfeld2019-12-171-6/+6
| | | | | | | | | | The ADDRESSES array might not have addresses added during PreUp. But moreover, nft(8) and iptables(8) don't like ip addresses in the form somev6prefix::someipv4suffix, such as fd00::1.2.3.4, while ip(8) can handle it. So by adding these first and then asking for them back, we always get normalized addresses suitable for nft(8) and iptables(8). Reported-by: Silvan Nagl <mail@53c70r.de>
* tools: adjust wg.8 syntax for consistency in COMMANDS sectionKai Haberzettl2019-12-131-1/+1
| | | | Signed-off-by: Kai Haberzettl <khaberz@gmail.com>
* wg-quick: linux: try both iptables(8) and nft(8) on teardownJason A. Donenfeld2019-12-121-1/+2
| | | | | | | Daniel argues that technically a package manager could install nft(8) after previously having started wg-quick(8) using iptables(8). Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* version: bump snapshot0.0.20191212Jason A. Donenfeld2019-12-122-2/+2
|
* main: remove unused include <linux/version.h>YueHaibing2019-12-121-1/+0
| | | | | | Remove including <linux/version.h> that we don't need. Signed-off-by: YueHaibing <yuehaibing@huawei.com>
* wg-quick: linux: support older nft(8)Jason A. Donenfeld2019-12-121-5/+5
| | | | | | Older nft(8), such as that on Ubuntu, does not accept the - parameter to the -f argument and doesn't accept symbolic priority names. So instead use the canonical numeric priority forms and use <(echo) instead of -.
* global: fix up spellingJosh Soref2019-12-125-10/+10
| | | | Signed-off-by: Josh Soref <jsoref@gmail.com>
* wg-quick: linux: add support for nft and prefer itJason A. Donenfeld2019-12-121-20/+39
| | | | | | If nft(8) is installed, use it. These rules should be identical to the iptables-restore(8) ones, with the advantage that cleanup is easy because we use custom table names.
* compat: support building for RHEL-8.1 instead of RHEL-8.0Sergey Ivanov2019-12-121-2/+2
| | | | | | | RedHat backported to their kernel 4.18.0-147.el8 a couple features. This patch enables compiling for this kernel. Signed-off-by: Sergey Ivanov <seriv@cs.umd.edu>
* socket: convert to ipv6_dst_lookup_flow for 5.5Jason A. Donenfeld2019-12-122-3/+8
| | | | | Upstream changed the API, so we introduce this super insane compat hack to make everything work again.
* version: bump snapshot0.0.20191206Jason A. Donenfeld2019-12-062-2/+2
|
* chacha20poly1305: double check the sgmiter logic with testJason A. Donenfeld2019-12-061-8/+59
|
* wg-quick: linux: ignore save warnings for iptables-nftJason A. Donenfeld2019-12-061-1/+1
|
* wg-quick: linux: suppress more warnings on weird kernelsJason A. Donenfeld2019-12-061-4/+4
|
* wg-quick: linux: some iptables don't like empty linesJason A. Donenfeld2019-12-051-6/+6
| | | | Reported-by: Kenneth R. Crudup <kenny@panix.com>
* crypto: use new assembler macros for 5.5Jason A. Donenfeld2019-12-056-14/+19
|
* chacha20poly1305: port to sgmitter for 5.5Jason A. Donenfeld2019-12-056-122/+151
| | | | | I'm not totally comfortable with these changes yet, and it'll require some more scrutiny. But it's a start.
* netlink: prepare for removal of genl_family_attrbuf in 5.5Jason A. Donenfeld2019-12-052-8/+20
|
* version: bump snapshot0.0.20191205Jason A. Donenfeld2019-12-052-2/+2
|
* wg-quick: linux: iptables-* -w is not widely supportedJason A. Donenfeld2019-12-051-2/+2
|
* ipc: make sure userspace communication frees wgdeviceJason A. Donenfeld2019-12-052-11/+16
|
* send: avoid touching skb->{next,prev} directlyJason A. Donenfeld2019-12-051-2/+2
| | | | | This isn't quite the same, since mark_not_on_list doesn't touch skb->prev, but hopefully it doesn't matter.
* device: prepare skb_list_walk_safe for upstreamingJason A. Donenfeld2019-12-053-9/+13
|
* send: use kfree_skb_listJason A. Donenfeld2019-12-051-9/+2
|
* wg-quick: linux: have remove_iptables return trueJason A. Donenfeld2019-12-051-1/+1
| | | | Reported-by: Thomas Sattler <sattler@med.uni-frankfurt.de>
* wg-quick: linux: ensure postdown hooks executeJason A. Donenfeld2019-12-051-2/+2
| | | | Reported-by: Thomas Sattler <sattler@med.uni-frankfurt.de>
* wg-quick: linux: suppress error when finding unused tableJason A. Donenfeld2019-11-271-1/+1
|
* version: bump snapshot0.0.20191127Jason A. Donenfeld2019-11-272-2/+2
|
* tools: add syncconf commandJason A. Donenfeld2019-11-273-0/+97
|
* reresolve-dns: remove invalid anchors on regex matchJason A. Donenfeld2019-11-271-1/+1
| | | | Reported-by: Conrad Meyer <cem@freebsd.org>
* qemu: bump versionJason A. Donenfeld2019-11-271-1/+1
|
* qemu: respect PATH when finding CBUILDJason A. Donenfeld2019-11-271-1/+1
|
* qemu: work around build bug with powerpc64leJason A. Donenfeld2019-11-271-0/+1
|
* wg-quick: linux: filter bogus injected packets and don't disable rpfilterJason A. Donenfeld2019-11-271-8/+29
|
* wg-quick: linux: only touch net.ipv4 for v4Jason A. Donenfeld2019-11-261-3/+5
|
* allowedips: avoid double lock in selftest error caseJason A. Donenfeld2019-11-261-8/+9
|
* socket: remove redundant check of new4Jason A. Donenfeld2019-11-261-1/+1
|
* allowedips: safely dereference rcu rootsJason A. Donenfeld2019-11-261-6/+10
|
* messages: recalculate rekey max based on a one minute floodJason A. Donenfeld2019-10-301-1/+1
| | | | Discussed-with: Mathias Hall-Andersen <mathias@hall-andersen.dk>
* wg-quick: android: check for null in binder cleanup functionsJason A. Donenfeld2019-10-161-3/+6
|
* version: bump snapshot0.0.20191012Jason A. Donenfeld2019-10-122-2/+2
|
* wg-quick: android: use Binder for setting DNS on Android 10Nicolas Douma2019-10-121-7/+429
| | | | Signed-off-by: Nicolas Douma <nicolas@serveur.io>
* noise: recompare stamps after taking write lockJason A. Donenfeld2019-10-111-2/+6
|
* netlink: allow preventing creation of new peers when updatingJason A. Donenfeld2019-10-112-9/+12
| | | | | | This enables race-free updates for wg-dynamic and similar tools. Suggested-by: Thomas Gschwantner <tharre3@gmail.com>
* netns: add test for failing 5.3 FIB changesJason A. Donenfeld2019-10-112-1/+24
| | | | Reference: https://lore.kernel.org/netdev/20190924073615.31704-1-Jason@zx2c4.com/
* qemu: bump default versionJason A. Donenfeld2019-10-111-1/+1
|
* version: bump snapshot0.0.20190913Jason A. Donenfeld2019-09-132-2/+2
|
* compat: support rhel/centos 7.7Jason A. Donenfeld2019-09-131-1/+1
|