aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wireguard-vanilla
Commit message (Collapse)AuthorAgeFilesLines
* wireguard-vanilla: move to community and refactorCarlo Landmeter2019-05-211-67/+0
| | | | | | | vanilla and virt kernel are build from the same kernel. both flavors are now included in this aport. Closes: GH-7980
* testing/wireguard-vanilla: rebuild against kernel 4.19.41-r0Natanael Copa2019-05-081-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.40-r0Natanael Copa2019-05-061-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.39-r0Natanael Copa2019-05-051-2/+2
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.37-r1Natanael Copa2019-04-301-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.37-r0Natanael Copa2019-04-281-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.36-r0Natanael Copa2019-04-251-2/+2
|
* testing/wireguard-*: upgrade to 20190406André Klitzing2019-04-091-3/+3
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.34-r0Natanael Copa2019-04-081-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.33-r0Natanael Copa2019-04-031-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.30-r0Natanael Copa2019-03-221-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.29-r0Natanael Copa2019-03-181-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.28-r0Natanael Copa2019-03-111-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.27-r0Natanael Copa2019-03-081-2/+2
|
* testing/wireguard: upgrade to 0.0.20190227Jason A. Donenfeld2019-02-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. Note that the bad behavior is still present in Darwin, where such workaround does not exist. * tools: remove unused check phony declaration * highlighter: when subtracting char, cast to unsigned * chacha20: name enums * tools: fight compiler slightly harder * tools: c_acc doesn't need to be initialized * queueing: more reasonable allocator function convention Usual nits. * systemd: wg-quick should depend on nss-lookup.target Since wg-quick(8) calls wg(8) which does hostname lookups, we should probably only run this after we're allowed to look up hostnames. * compat: backport ALIGN_DOWN * noise: whiten the nanoseconds portion of the timestamp This mitigates unrelated sidechannel attacks that think they can turn WireGuard into a useful time oracle. * hashtables: decouple hashtable allocations from the main device allocation The hashtable allocations are quite large, and cause the device allocation in the net framework to stall sometimes while it tries to find a contiguous region that can fit the device struct. To fix the allocation stalls, decouple the hashtable allocations from the device allocation and allocate the hashtables with kvmalloc's implicit __GFP_NORETRY so that the allocations fall back to vmalloc with little resistance. * chacha20poly1305: permit unaligned strides on certain platforms The map allocations required to fix this are mostly slower than unaligned paths. * noise: store clamped key instead of raw key This causes `wg show` to now show the right thing. Useful for doing comparisons. * compat: ipv6_stub is sometimes null On ancient kernels, ipv6_stub is sometimes null in cases where IPv6 has been disabled with a command line flag or other failures. * Makefile: don't duplicate code in install and modules-install * Makefile: make the depmod path configurable * queueing: net-next has changed signature of skb_probe_transport_header A 5.1 change. This could change again, but for now it allows us to keep this snapshot aligned with our upstream submissions. * netlink: don't remove allowed ips for new peers * peer: only synchronize_rcu_bh and traverse trie once when removing all peers * allowedips: maintain per-peer list of allowedips This is a rather big and important change that makes it much much faster to do operations involving thousands of peers. Batch peer/allowedip addition and clearing is several orders of magnitude faster now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-vanilla: rebuild against kernel 4.19.26-r0Natanael Copa2019-02-271-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.25-r0Natanael Copa2019-02-251-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.24-r0Natanael Copa2019-02-211-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.21-r0Natanael Copa2019-02-131-2/+2
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.20-r1Natanael Copa2019-02-081-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.20-r0Natanael Copa2019-02-081-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.19-r0Natanael Copa2019-02-041-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.18-r0Natanael Copa2019-01-261-2/+2
|
* testing/wireguard: upgrade to 0.0.20190123Jason A. Donenfeld2019-01-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tools: curve25519: handle unaligned loads/stores safely This should fix sporadic crashes with `wg pubkey` on certain architectures. * netlink: auth socket changes against namespace of socket In WireGuard, the underlying UDP socket lives in the namespace where the interface was created and doesn't move if the interface is moved. This allows one to create the interface in some privileged place that has Internet access, and then move it into a container namespace that only has the WireGuard interface for egress. Consider the following situation: 1. Interface created in namespace A. Socket therefore lives in namespace A. 2. Interface moved to namespace B. Socket remains in namespace A. 3. Namespace B now has access to the interface and changes the listen port and/or fwmark of socket. Change is reflected in namespace A. This behavior is arguably _fine_ and perhaps even expected or acceptable. But there's also an argument to be made that B should have A's cred to do so. So, this patch adds a simple ns_capable check. * ratelimiter: build tests with !IPV6 Should reenable building in debug mode for systems without IPv6. * noise: replace getnstimeofday64 with ktime_get_real_ts64 * ratelimiter: totalram_pages is now a function * qemu: enable FP on MIPS Linux 5.0 support. * keygen-html: bring back pure javascript implementation Benoît Viguier has proofs that values will stay well within 2^53. We also have an improved carry function that's much simpler. Probably more constant time than emscripten's 64-bit integers. * contrib: introduce simple highlighter library This is the highlighter library being used in: - https://twitter.com/EdgeSecurity/status/1085294681003454465 - https://twitter.com/EdgeSecurity/status/1081953278248796165 It's included here as a contrib example, so that others can paste it into their own GUI clients for having the same strictly validating highlighting. * netlink: use __kernel_timespec for handshake time This readies us for Y2038. See https://lwn.net/Articles/776435/ for more info. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-vanilla: rebuild against kernel 4.19.17-r0Natanael Copa2019-01-241-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.7-r0Natanael Copa2019-01-231-2/+2
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.16-r1Natanael Copa2019-01-211-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.16-r0Natanael Copa2019-01-211-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.15-r0Natanael Copa2019-01-161-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.14-r0Natanael Copa2019-01-101-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.13-r0Natanael Copa2018-12-311-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.19.12Natanael Copa2018-12-271-2/+2
|
* testing/wireguard: upgrade to 0.0.20181218Jason A. Donenfeld2018-12-181-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-vanilla: rebuild against kernel 4.14.89-r0Natanael Copa2018-12-181-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.88-r0Natanael Copa2018-12-171-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.86-r0Natanael Copa2018-12-071-2/+2
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.85-r0Natanael Copa2018-12-041-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.84-r0Natanael Copa2018-11-291-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.82-r0Natanael Copa2018-11-211-1/+1
|
* testing/wireguard: upgrade to 0.0.20181119Jason A. Donenfeld2018-11-201-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20181115Jason A. Donenfeld2018-11-151-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-vanilla: rebuild against kernel 4.14.81-r0Natanael Copa2018-11-141-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.79-r0Natanael Copa2018-11-081-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.78-r0Natanael Copa2018-10-231-1/+1
|
* testing/wireguard: upgrade to 0.0.20181018Jason A. Donenfeld2018-10-231-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-vanilla: rebuild against kernel 4.14.77-r0Natanael Copa2018-10-191-2/+2
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.76-r1Natanael Copa2018-10-171-1/+1
|
* testing/wireguard-vanilla: rebuild against kernel 4.14.76-r0Natanael Copa2018-10-151-1/+1
|
* testing/wireguard: upgrade to 0.0.20181006Jason A. Donenfeld2018-10-151-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-vanilla: rebuild against kernel 4.14.74-r0Natanael Copa2018-10-041-1/+1
|