Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | jerry-rig: symlinks are better for tree patching | Jason A. Donenfeld | 2017-05-17 | 3 | -5/+6 |
| | | | | | | Use a symlink instead of lots of ../../.. Suggested-by: Benedikt Morbach <benedikt.morbach@googlemail.com> | ||||
* | noise: redesign preshared key mode | Jason A. Donenfeld | 2017-05-17 | 19 | -225/+224 |
| | |||||
* | chacha20poly1305: implement vectorized hchacha20 | Jason A. Donenfeld | 2017-05-17 | 2 | -21/+157 |
| | |||||
* | qemu: new packages and better debugging | Jason A. Donenfeld | 2017-05-17 | 2 | -12/+13 |
| | |||||
* | tools: wg-quick: auto MTU discovery | Jason A. Donenfeld | 2017-05-17 | 2 | -1/+28 |
| | |||||
* | tools: retry name resolution on temporary failure | Jason A. Donenfeld | 2017-05-17 | 1 | -1/+10 |
| | | | | This should solve many problems at init time. | ||||
* | compat: remember to call iptunnel_xmit_stats | Jason A. Donenfeld | 2017-05-17 | 1 | -4/+13 |
| | | | | Upstream's 039f50629b7f860f36644ed1f34b27da9aa62f43 only came in 4.5 | ||||
* | compat: use real crypto_memneq | Jason A. Donenfeld | 2017-05-17 | 4 | -14/+181 |
| | |||||
* | compat: work around ubnt offloading | Jason A. Donenfeld | 2017-05-17 | 1 | -0/+4 |
| | |||||
* | compat: ssse3 support | Jason A. Donenfeld | 2017-05-04 | 1 | -0/+4 |
| | |||||
* | compat: use existing iptunnel_xmit function for stats | Jason A. Donenfeld | 2017-04-24 | 1 | -7/+2 |
| | |||||
* | version: bump snapshot0.0.20170421 | Jason A. Donenfeld | 2017-04-21 | 2 | -2/+2 |
| | |||||
* | routingtable: rewrite core functions | Jason A. Donenfeld | 2017-04-21 | 5 | -439/+634 |
| | | | | | | | | | | | | | | | | | | | | | When removing by peer, prev needs to be set to *nptr in order to traverse that part of the trie. The other remove by IP function can simply be removed, as it's not in use. The root freeing function can use pre-order traversal instead of post-order. The pre-order traversal code in general is now a nice iterator macro. The common bits function can use the fast fls instructions and the match function can be rewritten to simply compare common bits. While we're at it, let's add tons of new tests, randomized checking against a dumb implementation, and graphviz output. And in general, it's nice to clean things up. | ||||
* | compat: work on old 3.10 | Jason A. Donenfeld | 2017-04-21 | 2 | -0/+35 |
| | |||||
* | config: don't allow no-privatekey to mask preshared | Jason A. Donenfeld | 2017-04-21 | 1 | -1/+2 |
| | |||||
* | cookie: move the bangs | Jason A. Donenfeld | 2017-04-21 | 1 | -2/+2 |
| | |||||
* | tools: no hyphen in preshared, to keep uniformity | Jason A. Donenfeld | 2017-04-20 | 4 | -5/+5 |
| | |||||
* | tools: argc is always 1 | Jason A. Donenfeld | 2017-04-19 | 1 | -1/+1 |
| | |||||
* | tools: check for malloc failure | Jason A. Donenfeld | 2017-04-19 | 1 | -0/+4 |
| | |||||
* | tools: side channel resistant base64 | Jason A. Donenfeld | 2017-04-19 | 10 | -260/+87 |
| | |||||
* | netns: cleanup and add diagram | Jason A. Donenfeld | 2017-04-14 | 1 | -7/+18 |
| | |||||
* | device: use rcu_barrier_bh | Jason A. Donenfeld | 2017-04-14 | 1 | -2/+2 |
| | |||||
* | qemu: work on ARM64 | Jason A. Donenfeld | 2017-04-14 | 3 | -5/+21 |
| | |||||
* | receive: netif_rx consumes | Jason A. Donenfeld | 2017-04-09 | 1 | -1/+3 |
| | |||||
* | version: bump snapshot0.0.20170409 | Jason A. Donenfeld | 2017-04-09 | 2 | -2/+2 |
| | |||||
* | compat: warn on < 4.1 | Jason A. Donenfeld | 2017-04-09 | 1 | -0/+2 |
| | |||||
* | compat: careful with destructors | Jason A. Donenfeld | 2017-04-09 | 2 | -7/+7 |
| | |||||
* | compat: support 3.10 | Jason A. Donenfeld | 2017-04-09 | 3 | -5/+106 |
| | |||||
* | compat: support 3.12 | Jason A. Donenfeld | 2017-04-09 | 8 | -7/+240 |
| | |||||
* | compat: support 3.14 | Jason A. Donenfeld | 2017-04-09 | 3 | -8/+132 |
| | |||||
* | compat: support 3.16 | Jason A. Donenfeld | 2017-04-09 | 8 | -111/+579 |
| | |||||
* | data: alloca is actually as dangerous as they say | Jason A. Donenfeld | 2017-04-09 | 1 | -6/+4 |
| | | | | | | | | | | | | | It turns out that calling alloca from an inline function means that the memory isn't ever deallocated until the caller function exits, which means we were using tons of stack space for every iteration of the call. So, we hard code the sg array. While 128 seems like a reasonable number, we actually wind up using "MAX_SKB_FRAGS * 2 + 1". An skb has its data segment, so that's 1. Then it has its frags, which are MAX_SKB_FRAGS at max. Then it has its frag list, which, so far as I can tell, are potentially unbounded. So we just hope it's no more than MAX_SKB_FRAGS, and so we plan for at most two of those. | ||||
* | debug: cleanups | Jason A. Donenfeld | 2017-04-08 | 2 | -3/+3 |
| | |||||
* | qemu: ensure kernel is configured before headers are installed | Jason A. Donenfeld | 2017-04-08 | 1 | -1/+1 |
| | |||||
* | data: cleanup parallel workqueue and use two max_active | Jason A. Donenfeld | 2017-04-08 | 7 | -29/+31 |
| | |||||
* | data: simplify flow | Jason A. Donenfeld | 2017-04-04 | 4 | -94/+45 |
| | |||||
* | chacha20poly1305: check return values of sgops | Jason A. Donenfeld | 2017-04-04 | 3 | -14/+22 |
| | |||||
* | locking: always use _bh | Jason A. Donenfeld | 2017-04-04 | 8 | -78/+81 |
| | | | | | All locks are potentially between user context and softirq, which means we need to take the _bh variant. | ||||
* | qemu: new stable kernel | Jason A. Donenfeld | 2017-04-04 | 1 | -1/+1 |
| | |||||
* | chacha20poly1305: enforce authtag checking with compiler | Jason A. Donenfeld | 2017-03-30 | 4 | -32/+22 |
| | |||||
* | curve25519: protect against potential invalid point attacks | Jason A. Donenfeld | 2017-03-30 | 5 | -43/+74 |
| | |||||
* | config: do not allow peers with public keys the same as the interface | Jason A. Donenfeld | 2017-03-28 | 1 | -0/+20 |
| | |||||
* | tools: do not use addrconfig with port in gai | Jason A. Donenfeld | 2017-03-28 | 1 | -1/+1 |
| | |||||
* | main: add /sys/module/wireguard/version | Jason A. Donenfeld | 2017-03-27 | 1 | -0/+1 |
| | | | | Suggested-by: Samuel Holland <samuel@sholland.org> | ||||
* | compat: allow create-patch to work on debian-based builds | Jason A. Donenfeld | 2017-03-27 | 1 | -0/+4 |
| | |||||
* | version: bump snapshot0.0.20170324 | Jason A. Donenfeld | 2017-03-24 | 2 | -2/+2 |
| | |||||
* | uapi: add version magic | Jason A. Donenfeld | 2017-03-24 | 4 | -23/+58 |
| | |||||
* | wg-quick: various cleanups | Jason A. Donenfeld | 2017-03-24 | 1 | -5/+6 |
| | |||||
* | socket: avoid deadlock on port retry | Jason A. Donenfeld | 2017-03-24 | 1 | -4/+3 |
| | |||||
* | tools: document # comments in wg(8) man page | Jason A. Donenfeld | 2017-03-24 | 1 | -1/+3 |
| |