Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wg-quick: document localhost exception and v6 rule | Jason A. Donenfeld | 2017-11-12 | 1 | -3/+4 |
| | | | | Reported-by: Hermann Lienstromberg <nurtic-vibe@grmml.net> | ||||
* | version: bump snapshot0.0.20171111 | Jason A. Donenfeld | 2017-11-11 | 2 | -2/+2 |
| | |||||
* | tools: allow for NULL keys everywhere | Jason A. Donenfeld | 2017-11-11 | 5 | -29/+50 |
| | |||||
* | curve25519: reject deriving from NULL private keys | Jason A. Donenfeld | 2017-11-11 | 2 | -7/+16 |
| | | | | | These aren't actually valid 25519 points pre-normalization, and doing this is required to make unsetting private keys based on all zeros. | ||||
* | tools: remove ioctl cruft | Jason A. Donenfeld | 2017-11-11 | 1 | -4/+0 |
| | |||||
* | allowedips: rename from routingtable | Jason A. Donenfeld | 2017-11-10 | 11 | -149/+149 |
| | | | | Makes it more clear that this _not_ a routing table replacement. | ||||
* | wg-quick: allow for tabs in keys | Jason A. Donenfeld | 2017-11-10 | 2 | -20/+20 |
| | |||||
* | netlink: make sure we reserve space for NLMSG_DONE | Jason A. Donenfeld | 2017-11-10 | 2 | -1/+25 |
| | | | | | | | Otherwise, if messages pack really close together, we'll exceed the size of the sk_buff and return ENOBUFS. I suspect this has been the cause of a lot of weird bugs that people just worked around by increasing the receive buffer size. This actually addresses the root cause. | ||||
* | compat: 4.4.0 has strange ECN function | Jason A. Donenfeld | 2017-11-10 | 1 | -1/+2 |
| | |||||
* | wg-quick: stat the correct enclosing folder of config file | Jason A. Donenfeld | 2017-11-10 | 1 | -1/+2 |
| | |||||
* | qemu: bump kernel version | Jason A. Donenfeld | 2017-11-10 | 1 | -1/+1 |
| | |||||
* | receive: hoist fpu outside of receive loop | Jason A. Donenfeld | 2017-11-10 | 3 | -18/+19 |
| | |||||
* | qemu: more debugging | Jason A. Donenfeld | 2017-11-10 | 3 | -1/+15 |
| | |||||
* | device: wait for all peers to be freed before destroying | Jason A. Donenfeld | 2017-11-10 | 1 | -0/+1 |
| | |||||
* | qemu: check for memory leaks | Jason A. Donenfeld | 2017-11-10 | 3 | -6/+28 |
| | |||||
* | netlink: plug memory leak | Jason A. Donenfeld | 2017-11-03 | 1 | -1/+1 |
| | |||||
* | device: please lockdep | Jason A. Donenfeld | 2017-11-03 | 1 | -1/+1 |
| | |||||
* | global: revert checkpatch.pl changes | Jason A. Donenfeld | 2017-11-02 | 2 | -2/+2 |
| | | | | | These changes were suggested by checkpatch.pl, but actually cause big problems depending on the options. Revert. | ||||
* | Kconfig: remove trailing whitespace | Greg Kroah-Hartman | 2017-11-02 | 1 | -1/+1 |
| | | | | | | | Git complains when applying this Kconfig file as part of a patch to the kernel tree, so drop the trailing whitespace. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||||
* | version: bump snapshot0.0.20171101 | Jason A. Donenfeld | 2017-11-01 | 2 | -2/+2 |
| | |||||
* | compat: unbreak unloading on kernels 4.6 through 4.9 | Jason A. Donenfeld | 2017-11-01 | 1 | -1/+4 |
| | |||||
* | timers: switch to kees' new timer_list functions | Jason A. Donenfeld | 2017-11-01 | 2 | -17/+22 |
| | |||||
* | wg-quick: save all hooks on save | Jason A. Donenfeld | 2017-11-01 | 1 | -5/+13 |
| | |||||
* | version: bump snapshot0.0.20171031 | Jason A. Donenfeld | 2017-10-31 | 2 | -2/+2 |
| | |||||
* | wg-quick: fsync the temporary file before renaming | Jason A. Donenfeld | 2017-10-31 | 1 | -0/+1 |
| | | | | | | | This ensures that on an unclean shutdown, we either see the old content or the new content, but not empty content. Suggested-by: Ka Ho Ng <ngkaho1234@gmail.com> | ||||
* | wg-quick: allow for saving existing interface | Jason A. Donenfeld | 2017-10-31 | 2 | -2/+14 |
| | |||||
* | contrib: add reresolve-dns | Jason A. Donenfeld | 2017-10-31 | 2 | -0/+48 |
| | |||||
* | tools: correct type for CTRL_ATTR_FAMILY_ID | Jason A. Donenfeld | 2017-10-31 | 1 | -4/+4 |
| | | | | Suggested-by: Jörg Thalheim <joerg@thalheim.io> | ||||
* | wg-quick: allow for the hatchet, but not by default | Jason A. Donenfeld | 2017-10-31 | 4 | -0/+55 |
| | |||||
* | global: use fewer BUG_ONs | Jason A. Donenfeld | 2017-10-31 | 2 | -3/+5 |
| | | | | Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||||
* | timers: guard entire setting in block | Jason A. Donenfeld | 2017-10-31 | 1 | -4/+6 |
| | |||||
* | curve25519: only enable int128 if compiler support is sound | Jason A. Donenfeld | 2017-10-31 | 1 | -1/+1 |
| | |||||
* | device: expand scope of destruct lock | Jason A. Donenfeld | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | global: get rid of useless forward declarations | Jason A. Donenfeld | 2017-10-31 | 3 | -11/+0 |
| | |||||
* | device: only take reference if netns is different | Jason A. Donenfeld | 2017-10-31 | 3 | -9/+56 |
| | | | | | | If we take two references, the namespace and the device are never freed in the usual manner. We should thus only take a reference to another namespace when it is a different namespace from our own. | ||||
* | wg-quick: remember to rewind DNS settings on failure | Jason A. Donenfeld | 2017-10-31 | 1 | -3/+8 |
| | |||||
* | wg-quick: allow specifiying multiple hooks | Jason A. Donenfeld | 2017-10-31 | 2 | -18/+21 |
| | |||||
* | qemu: test using four cores | Jason A. Donenfeld | 2017-10-31 | 1 | -1/+1 |
| | |||||
* | global: style nits | Jason A. Donenfeld | 2017-10-31 | 27 | -274/+470 |
| | |||||
* | qemu: work around ccache bugs | Jason A. Donenfeld | 2017-10-31 | 1 | -1/+1 |
| | |||||
* | global: infuriating kernel iterator style | Jason A. Donenfeld | 2017-10-31 | 13 | -48/+48 |
| | | | | | | | | | | | | | | | | | One types: for (i = 0 ... So one should also type: for_each_obj (obj ... But the upstream kernel style guidelines are insane, and so we must instead do: for_each_obj(obj ... Ugly, but one must choose his battles wisely. | ||||
* | peer: store total number of peers instead of iterating | Jason A. Donenfeld | 2017-10-31 | 3 | -15/+4 |
| | | | | | | This is faster, since it means adding a new peer is O(1) instead of O(n). It's also safe to do because we're holding the device_update_lock on both the ++ and the --. | ||||
* | peer: get rid of peer_for_each magic | Jason A. Donenfeld | 2017-10-31 | 3 | -41/+17 |
| | | | | | | | | | Since the peer list is protected by the device_update_lock, and since items are removed from the peer list before putting their final reference, we don't actually need to take a reference when iterating. This allows us to simplify the macro considerably. Suggested-by: Johannes Berg <johannes@sipsolutions.net> | ||||
* | compat: be sure to include header before testing | Jason A. Donenfeld | 2017-10-31 | 1 | -0/+1 |
| | | | | Reported-by: Aaron M. D. Jones <aaronmdjones@gmail.com> | ||||
* | qemu: allow for cross compilation | Jason A. Donenfeld | 2017-10-31 | 14 | -98/+249 |
| | |||||
* | crypto/avx: make sure we can actually use ymm registers | Jason A. Donenfeld | 2017-10-31 | 4 | -3/+23 |
| | |||||
* | blake2: include headers for macros | Jason A. Donenfeld | 2017-10-31 | 1 | -0/+2 |
| | |||||
* | global: accept decent check_patch.pl suggestions | Jason A. Donenfeld | 2017-10-31 | 13 | -30/+44 |
| | |||||
* | compat: fix up stat calculation for udp tunnel | Jason A. Donenfeld | 2017-10-31 | 2 | -5/+16 |
| | |||||
* | stats: more robust accounting | Jason A. Donenfeld | 2017-10-31 | 4 | -6/+18 |
| |