aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-27qemu: bump versionJason A. Donenfeld1-1/+1
2019-11-27qemu: respect PATH when finding CBUILDJason A. Donenfeld1-1/+1
2019-11-27qemu: work around build bug with powerpc64leJason A. Donenfeld1-0/+1
2019-10-11netns: add test for failing 5.3 FIB changesJason A. Donenfeld2-1/+24
Reference: https://lore.kernel.org/netdev/20190924073615.31704-1-Jason@zx2c4.com/
2019-10-11qemu: bump default versionJason A. Donenfeld1-1/+1
2019-07-11noise: immediately rekey all peers after changing device private keyJason A. Donenfeld1-0/+10
Reported-by: Derrick Pallas <derrick@pallas.us>
2019-06-25global: switch to coarse ktimeJason A. Donenfeld1-1/+1
Coarse ktime is broken until [1] in 5.2 and kernels without the backport, so we use fallback code there. The fallback code has also been improved significantly. It now only uses slower clocks on kernels < 3.17, at the expense of some accuracy we're not overly concerned about. [1] https://lore.kernel.org/lkml/tip-e3ff9c3678b4d80e22d2557b68726174578eaf52@git.kernel.org/ Suggested-by: Arnd Bergmann <arnd@arndb.de>
2019-06-18qemu: show signal when failingJason A. Donenfeld1-3/+14
2019-05-29qemu: do not check for alignment with ubsanJason A. Donenfeld1-0/+1
It insta-crashes on x86.
2019-05-29qemu: build iproute2 with libmnl supportJason A. Donenfeld1-1/+1
2019-05-29qemu: use newer iproute2 and kernelJason A. Donenfeld1-9/+4
2019-04-06allowedips: initialize list head when removing intermediate nodesJason A. Donenfeld1-0/+4
Otherwise if this list item is later reused, we'll crash on list poison or worse. Also, add a version of Mimka's reproducer to netns.sh to catch these types of bugs in the future. Reported-by: Mimka <mikma.wg@lists.m7n.se>
2019-03-25qemu: set framewarn 1280 for 64bit and 1024 for 32bitJason A. Donenfeld14-4/+14
2019-02-03noise: store clamped key instead of raw keyJason A. Donenfeld1-0/+2
2019-01-23netlink: use __kernel_timespec for handshake timeJason A. Donenfeld1-1/+3
2019-01-23qemu: enable FP on MIPSJason A. Donenfeld4-0/+4
This is a change for Linux 5.0.
2019-01-23qemu: version bump to bash 5.0Jason A. Donenfeld1-1/+1
2019-01-23qemu: version bump kernelJason A. Donenfeld1-1/+1
2019-01-07global: update copyrightJason A. Donenfeld3-3/+3
2018-12-18netns: nmap != ncatJason A. Donenfeld1-4/+4
2018-11-14chacha20,poly1305: switch to perlasm originals on mips and armJason A. Donenfeld1-1/+1
We also separate out Eric Biggers' Cortex A7 implementation into its own file.
2018-10-27qemu: bump default kernelJason A. Donenfeld1-1/+1
2018-10-08qemu: kill after 20 minutesJason A. Donenfeld1-1/+1
2018-10-07crypto: clean up remaining .h->.cJason A. Donenfeld1-1/+1
2018-10-07makefile: do more generic wildcard so as to avoid rename issuesJason A. Donenfeld1-1/+1
Commit ad5e4210 (global: rename include'd C files to be .c) breaks install target for dkms sources. Fix installing selftest/*.c. Suggested-by: Christian Hesse <mail@eworm.de>
2018-10-02qemu: show more messages in console the right wayJason A. Donenfeld1-1/+1
2018-10-02qemu: support powerpc64leJason A. Donenfeld2-2/+22
This uses ELFv2 ABI, which is the only ppc64 ABI musl supports. Big endian uses ELFv1 ABI, which musl doesn't support.
2018-10-02qemu: give up and accept a mips64r2 worldJason A. Donenfeld3-6/+8
We can't do SMP this way, and we also fall back to using the default N32 ABI, which is a bummer. But the mips64r6 toolchain is too much of a hassle to build with Gentoo's crossdev, and at least this works.
2018-10-02qemu: support m68kJason A. Donenfeld2-1/+18
2018-10-02qemu: support more arm big endian platformsJason A. Donenfeld5-4/+43
2018-09-25qemu: bump muslJason A. Donenfeld1-1/+1
2018-09-20global: put SPDX identifier on its own lineJason A. Donenfeld1-2/+2
The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments.
2018-09-16qemu: always pull and reset against integration treeJason A. Donenfeld1-0/+5
2018-09-03global: satisfy check_patch.pl errorsJason A. Donenfeld1-1/+1
2018-09-03crypto: import zincJason A. Donenfeld1-2/+3
2018-09-02netlink: insert peer version placeholderJason A. Donenfeld1-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.
2018-08-09netlink: don't start over iteration on multipart non-first allowedipsJason A. Donenfeld1-0/+24
Reported-by: Matt Layher <mdlayher@gmail.com>
2018-08-06qemu: add easy git harnessJason A. Donenfeld1-1/+8
2018-07-24qemu: update musl and kernelJason A. Donenfeld1-2/+2
2018-07-24qemu: show log if process crashesJason A. Donenfeld1-10/+16
2018-07-06qemu: decide debug kernel based on KERNEL_VERSIONJason A. Donenfeld1-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.
2018-07-06qemu: bump default kernel versionJason A. Donenfeld1-1/+1
This fixes DEBUG_KERNEL=yes due to dd275caf4a0d9b219fffe49288b6cc33cd564312 being backported to 4.17.4.
2018-06-17qemu: bump default kernelJason A. Donenfeld1-1/+1
2018-05-31qemu: bump default versionJason A. Donenfeld1-1/+1
2018-05-22qemu: bump default kernel for gcc 8.1Jason A. Donenfeld1-1/+1
2018-04-23qemu: retry on 404 in wget for kernel.org raceJason A. Donenfeld1-3/+1
2018-04-15send: account for route-based MTUJason A. Donenfeld2-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>
2018-04-15qemu: bump default versionJason A. Donenfeld1-1/+1
2018-02-12qemu: more granular memleak detectionJason A. Donenfeld1-2/+15
2018-02-12netns: replace n0 ip with ip0, per customJason A. Donenfeld1-2/+2