aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wg-quick: document localhost exception and v6 ruleJason A. Donenfeld2017-11-121-3/+4
| | | | Reported-by: Hermann Lienstromberg <nurtic-vibe@grmml.net>
* version: bump snapshot0.0.20171111Jason A. Donenfeld2017-11-112-2/+2
|
* tools: allow for NULL keys everywhereJason A. Donenfeld2017-11-115-29/+50
|
* curve25519: reject deriving from NULL private keysJason A. Donenfeld2017-11-112-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 cruftJason A. Donenfeld2017-11-111-4/+0
|
* allowedips: rename from routingtableJason A. Donenfeld2017-11-1011-149/+149
| | | | Makes it more clear that this _not_ a routing table replacement.
* wg-quick: allow for tabs in keysJason A. Donenfeld2017-11-101-2/+2
|
* netlink: make sure we reserve space for NLMSG_DONEJason A. Donenfeld2017-11-102-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 functionJason A. Donenfeld2017-11-101-1/+2
|
* wg-quick: stat the correct enclosing folder of config fileJason A. Donenfeld2017-11-101-1/+2
|
* qemu: bump kernel versionJason A. Donenfeld2017-11-101-1/+1
|
* receive: hoist fpu outside of receive loopJason A. Donenfeld2017-11-103-18/+19
|
* qemu: more debuggingJason A. Donenfeld2017-11-103-1/+15
|
* device: wait for all peers to be freed before destroyingJason A. Donenfeld2017-11-101-0/+1
|
* qemu: check for memory leaksJason A. Donenfeld2017-11-103-6/+28
|
* netlink: plug memory leakJason A. Donenfeld2017-11-031-1/+1
|
* device: please lockdepJason A. Donenfeld2017-11-031-1/+1
|
* global: revert checkpatch.pl changesJason A. Donenfeld2017-11-022-2/+2
| | | | | These changes were suggested by checkpatch.pl, but actually cause big problems depending on the options. Revert.
* Kconfig: remove trailing whitespaceGreg Kroah-Hartman2017-11-021-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.20171101Jason A. Donenfeld2017-11-012-2/+2
|
* compat: unbreak unloading on kernels 4.6 through 4.9Jason A. Donenfeld2017-11-011-1/+4
|
* timers: switch to kees' new timer_list functionsJason A. Donenfeld2017-11-012-17/+22
|
* wg-quick: save all hooks on saveJason A. Donenfeld2017-11-011-5/+13
|
* version: bump snapshot0.0.20171031Jason A. Donenfeld2017-10-312-2/+2
|
* wg-quick: fsync the temporary file before renamingJason A. Donenfeld2017-10-311-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 interfaceJason A. Donenfeld2017-10-312-2/+14
|
* tools: correct type for CTRL_ATTR_FAMILY_IDJason A. Donenfeld2017-10-311-4/+4
| | | | Suggested-by: Jörg Thalheim <joerg@thalheim.io>
* wg-quick: allow for the hatchet, but not by defaultJason A. Donenfeld2017-10-311-0/+2
|
* global: use fewer BUG_ONsJason A. Donenfeld2017-10-312-3/+5
| | | | Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* timers: guard entire setting in blockJason A. Donenfeld2017-10-311-4/+6
|
* curve25519: only enable int128 if compiler support is soundJason A. Donenfeld2017-10-311-1/+1
|
* device: expand scope of destruct lockJason A. Donenfeld2017-10-311-2/+2
|
* global: get rid of useless forward declarationsJason A. Donenfeld2017-10-313-11/+0
|
* device: only take reference if netns is differentJason A. Donenfeld2017-10-313-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 failureJason A. Donenfeld2017-10-311-3/+8
|
* wg-quick: allow specifiying multiple hooksJason A. Donenfeld2017-10-312-18/+21
|
* qemu: test using four coresJason A. Donenfeld2017-10-311-1/+1
|
* global: style nitsJason A. Donenfeld2017-10-3127-274/+470
|
* qemu: work around ccache bugsJason A. Donenfeld2017-10-311-1/+1
|
* global: infuriating kernel iterator styleJason A. Donenfeld2017-10-3113-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 iteratingJason A. Donenfeld2017-10-313-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 magicJason A. Donenfeld2017-10-313-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 testingJason A. Donenfeld2017-10-311-0/+1
| | | | Reported-by: Aaron M. D. Jones <aaronmdjones@gmail.com>
* qemu: allow for cross compilationJason A. Donenfeld2017-10-3114-98/+249
|
* crypto/avx: make sure we can actually use ymm registersJason A. Donenfeld2017-10-314-3/+23
|
* blake2: include headers for macrosJason A. Donenfeld2017-10-311-0/+2
|
* global: accept decent check_patch.pl suggestionsJason A. Donenfeld2017-10-3113-30/+44
|
* compat: fix up stat calculation for udp tunnelJason A. Donenfeld2017-10-312-5/+16
|
* stats: more robust accountingJason A. Donenfeld2017-10-314-6/+18
|
* selftest: initialize mutex in routingtable selftestJason A. Donenfeld2017-10-311-0/+2
|