Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | qemu: always pull and reset against integration tree | Jason A. Donenfeld | 2018-09-16 | 1 | -0/+5 |
| | |||||
* | global: satisfy check_patch.pl errors | Jason A. Donenfeld | 2018-09-03 | 1 | -1/+1 |
| | |||||
* | crypto: import zinc | Jason A. Donenfeld | 2018-09-03 | 1 | -2/+3 |
| | |||||
* | netlink: insert peer version placeholder | Jason A. Donenfeld | 2018-09-02 | 1 | -1/+1 |
| | | | | | | | While we don't want people to ever use old protocols, people will complain if the API "changes", so explicitly make the unset protocol mean the latest, and add a dummy mechanism of specifying the protocol on a per-peer basis, which we hope nobody actually ever uses. | ||||
* | netlink: don't start over iteration on multipart non-first allowedips | Jason A. Donenfeld | 2018-08-09 | 1 | -0/+24 |
| | | | | Reported-by: Matt Layher <mdlayher@gmail.com> | ||||
* | qemu: add easy git harness | Jason A. Donenfeld | 2018-08-06 | 1 | -1/+8 |
| | |||||
* | qemu: update musl and kernel | Jason A. Donenfeld | 2018-07-24 | 1 | -2/+2 |
| | |||||
* | qemu: show log if process crashes | Jason A. Donenfeld | 2018-07-24 | 1 | -10/+16 |
| | |||||
* | qemu: decide debug kernel based on KERNEL_VERSION | Jason A. Donenfeld | 2018-07-06 | 1 | -8/+8 |
| | | | | | | | If KERNEL_VERSION ends in -debug, then automatically set DEBUG_KERNEL If DEBUG_KERNEL is set, now the debug kernel will be built in a separate directory from the normal kernel, so that it's easy to toggle back and forth. | ||||
* | qemu: bump default kernel version | Jason A. Donenfeld | 2018-07-06 | 1 | -1/+1 |
| | | | | | This fixes DEBUG_KERNEL=yes due to dd275caf4a0d9b219fffe49288b6cc33cd564312 being backported to 4.17.4. | ||||
* | qemu: bump default kernel | Jason A. Donenfeld | 2018-06-17 | 1 | -1/+1 |
| | |||||
* | qemu: bump default version | Jason A. Donenfeld | 2018-05-31 | 1 | -1/+1 |
| | |||||
* | qemu: bump default kernel for gcc 8.1 | Jason A. Donenfeld | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | qemu: retry on 404 in wget for kernel.org race | Jason A. Donenfeld | 2018-04-23 | 1 | -3/+1 |
| | |||||
* | send: account for route-based MTU | Jason A. Donenfeld | 2018-04-15 | 2 | -0/+16 |
| | | | | | | | | | | It might be that a particular route has a different MTU than the interface, via `ip route add ... dev wg0 mtu 1281`, for example. In this case, it's important that we don't accidently pad beyond the end of the MTU. We accomplish that in this patch by carrying forward the MTU from the dst if it exists. We also add a unit test for this issue. Reported-by: Roman Mamedov <rm.wg@romanrm.net> | ||||
* | qemu: bump default version | Jason A. Donenfeld | 2018-04-15 | 1 | -1/+1 |
| | |||||
* | qemu: more granular memleak detection | Jason A. Donenfeld | 2018-02-12 | 1 | -2/+15 |
| | |||||
* | netns: replace n0 ip with ip0, per custom | Jason A. Donenfeld | 2018-02-12 | 1 | -2/+2 |
| | |||||
* | qemu: add support for powerpc | Jason A. Donenfeld | 2018-02-07 | 2 | -2/+21 |
| | |||||
* | qemu: update base versions | Jason A. Donenfeld | 2018-02-02 | 1 | -2/+2 |
| | |||||
* | curve25519: replace fiat64 with faster hacl64 | Jason A. Donenfeld | 2018-02-01 | 1 | -1/+1 |
| | | | | | This reverts commit da4ff396cc5d5e0ff21f9ecbc2f951c048c63fff and adds some optimizations to hacl64. | ||||
* | curve25519: replace hacl64 with fiat64 | Jason A. Donenfeld | 2018-02-01 | 1 | -1/+1 |
| | | | | | | | | | | For now, it's faster: hacl64: 109782 cycles per call fiat64: 108984 cycles per call It's quite possible this commit will be reverted with nice changes from INRIA, though. | ||||
* | qemu: disable AVX-512 in userland | Jason A. Donenfeld | 2018-01-23 | 1 | -0/+2 |
| | | | | | | | We're trying to test kernel code, so the userland tools we use for doing that testing don't really matter to us. We turn off AVX512, because WireGuard supports kernels that do not support AVX512 userlands. It's easier to just blanket-disable it all, since it doesn't matter anyway. | ||||
* | qemu: disable PIE for compilation | Jason A. Donenfeld | 2018-01-23 | 1 | -1/+3 |
| | | | | | | Some old kernels never backported this fix to the build system, and it's required if we want to build those old kernels with PIE-by-default compilers. | ||||
* | tools: share curve25519 implementations with kernel | Jason A. Donenfeld | 2018-01-23 | 1 | -2/+2 |
| | |||||
* | global: year bump | Jason A. Donenfeld | 2018-01-03 | 3 | -3/+3 |
| | |||||
* | global: add SPDX tags to all files | Greg Kroah-Hartman | 2017-12-09 | 3 | -3/+11 |
| | | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | qemu: take shared lock for untarring | Jason A. Donenfeld | 2017-11-27 | 1 | -18/+10 |
| | |||||
* | qemu: use netfilter.org https site | Jason A. Donenfeld | 2017-11-25 | 1 | -2/+2 |
| | |||||
* | tools: fix removing preshared keys | Jason A. Donenfeld | 2017-11-23 | 1 | -0/+18 |
| | | | | Also clean up related logic quite a bit and add unit tests. | ||||
* | poly1305: import MIPS64 primitive from OpenSSL | Jason A. Donenfeld | 2017-11-22 | 3 | -6/+8 |
| | |||||
* | compat: new kernels have netlink fixes | Jason A. Donenfeld | 2017-11-22 | 1 | -1/+1 |
| | |||||
* | qemu: use unprefixed strip when not cross-compiling | Jason A. Donenfeld | 2017-11-17 | 1 | -1/+2 |
| | | | | | | | Fedora/Redhat doesn't ship with a prefixed strip, and we don't need to use it anyway when we're not cross compiling, so don't. Reported-by: Samuel Neves <sneves@dei.uc.pt> | ||||
* | qemu: update kernel | Jason A. Donenfeld | 2017-11-14 | 1 | -1/+1 |
| | |||||
* | netlink: make sure we reserve space for NLMSG_DONE | Jason A. Donenfeld | 2017-11-10 | 1 | -0/+9 |
| | | | | | | | 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. | ||||
* | qemu: bump kernel version | Jason A. Donenfeld | 2017-11-10 | 1 | -1/+1 |
| | |||||
* | qemu: more debugging | Jason A. Donenfeld | 2017-11-10 | 3 | -1/+15 |
| | |||||
* | qemu: check for memory leaks | Jason A. Donenfeld | 2017-11-10 | 3 | -6/+28 |
| | |||||
* | qemu: test using four cores | Jason A. Donenfeld | 2017-10-31 | 1 | -1/+1 |
| | |||||
* | qemu: work around ccache bugs | Jason A. Donenfeld | 2017-10-31 | 1 | -1/+1 |
| | |||||
* | qemu: allow for cross compilation | Jason A. Donenfeld | 2017-10-31 | 11 | -94/+240 |
| | |||||
* | stats: more robust accounting | Jason A. Donenfeld | 2017-10-31 | 1 | -1/+8 |
| | |||||
* | netns: use time-based test instead of quantity-based | Jason A. Donenfeld | 2017-10-31 | 1 | -4/+4 |
| | |||||
* | netns: use read built-in instead of ncat hack for dmesg | Jason A. Donenfeld | 2017-10-31 | 1 | -4/+2 |
| | | | | | | | | | | This misses lines that are greater than 128 bytes -- read returns -EINVAL -- but the lines we care about anyway are less than that, so we simply keep looping and skip the bad reads when this happens. Not ideal, but probably the best we can do in pure bash. And, importantly, it's much better than streaming this over a TCP socket, which was an even uglier hack. | ||||
* | qemu: put hvc directive into configuration | Jason A. Donenfeld | 2017-10-17 | 2 | -2/+3 |
| | |||||
* | netns: disable accept_dad for all interfaces | Jason A. Donenfeld | 2017-10-17 | 1 | -0/+2 |
| | | | | | Upstream's a2d3f3e33853ef52e5f66b41c3e8ee5710aa3305 broke things in strange and confusing ways. | ||||
* | qemu: newer packages | Jason A. Donenfeld | 2017-10-17 | 1 | -37/+50 |
| | |||||
* | qemu: always create directory before untarring | Jason A. Donenfeld | 2017-10-17 | 1 | -1/+9 |
| | |||||
* | qemu: phase out bitbanging | Jason A. Donenfeld | 2017-10-17 | 3 | -28/+5 |
| | | | | | | | Although I was secretly proud of having figured out these unholy hacks, it turns out -no-reboot lets us do things in a platform-independent way. Suggested-by: Jann Horn <jann@thejh.net> | ||||
* | qemu: open /dev/console if we're started early | Jason A. Donenfeld | 2017-10-17 | 1 | -3/+19 |
| |