aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.gitignore (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-07-03gitignore: ignore split DWARF debug infoSamuel Holland1-0/+1
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-07-03compat: workaround Ubuntu 16.10 kernel weirdnessJason A. Donenfeld1-0/+1
2017-07-03compat: support OpenSUSE's backportsJason A. Donenfeld1-1/+6
2017-06-29receive: cleanup error handlersJason A. Donenfeld1-21/+23
2017-06-29version: bump snapshot0.0.20170629Jason A. Donenfeld2-2/+2
2017-06-29receive: pull IP header into headJason A. Donenfeld1-0/+4
2017-06-29receive: fix off-by-one in packet length checkingJason A. Donenfeld1-1/+1
This caused certain packets to be rejected that shouldn't be rejected, in the case of certain scatter-gather ethernet drivers doing GRO pulling right up to the UDP bounds but not beyond. This caused certain TCP connections to fail. Thanks very much to Reuben for providing access to the machine to debug this regression. Reported-by: Reuben Martin <reuben.m@gmail.com>
2017-06-29tools: remove double include in ipcJason A. Donenfeld1-1/+0
2017-06-28version: bump snapshot0.0.20170628Jason A. Donenfeld2-2/+2
2017-06-28compat: support Ubuntu 14.04Jason A. Donenfeld1-4/+10
2017-06-28compat: support EL7.3Jason A. Donenfeld1-16/+21
2017-06-28wg-quick: use printf -v instead of namerefs for bash 4.2Jason A. Donenfeld1-3/+2
I'm not happy about this.
2017-06-28compat: do not export symbols unnecessarilyJason A. Donenfeld4-34/+0
2017-06-26global: cleanup IP header checkingJason A. Donenfeld7-77/+46
This way is more correct and ensures we're within the skb head.
2017-06-26device: remove icmp conntrack hacksJason A. Donenfeld3-35/+37
This logic belongs upstream.
2017-06-26compat: clean up cruftJason A. Donenfeld1-4/+2
2017-06-26device: avoid double icmp send on routing loopJason A. Donenfeld1-1/+0
2017-06-26socket: use ip_rt_put instead of dst_releaseJason A. Donenfeld1-2/+2
2017-06-26socket: verify saddr belongs to interfaceJason A. Donenfeld2-1/+9
This helps "unstick" stuck source addresses, when changing routes dynamically.
2017-06-26ratelimiter: rewrite from scratchJason A. Donenfeld11-159/+179
This not only removes the depenency on x_tables, but it also gives us much better performance and memory usage. Now, systems are able to have millions of WireGuard interfaces, without having to worry about a thundering herd of garbage collection.
2017-06-25curve25519: keep certain sandy2x functions in CJason A. Donenfeld2-232/+84
We can let the compiler optimize how it sees fit.
2017-06-24curve25519: satisfy sparse and use short typesJason A. Donenfeld1-26/+26
2017-06-24receive: extend rate limiting to 1 second after under load detectionJason A. Donenfeld1-0/+5
2017-06-24device: only use one sleep notifierJason A. Donenfeld2-23/+27
This greatly improves performance when adding and removing interfaces, since the power registration function does a linear search each time.
2017-06-24device: netdevice destruction logic change for 4.12Jason A. Donenfeld1-4/+13
2017-06-24wg-quick: properly match IPv6 endpointJason A. Donenfeld1-1/+1
2017-06-24haskell: re-add updated haskell exampleJason A. Donenfeld5-0/+268
Code-from: John Galt <jgalt@centromere.net>
2017-06-24selftest: remove antique siphash self testJason A. Donenfeld1-89/+0
2017-06-24main: annotate init/exit functions to save memoryJason A. Donenfeld11-39/+39
2017-06-13version: bump snapshot0.0.20170613Jason A. Donenfeld2-2/+2
2017-06-12tools: use proper __linux__ ifdefJason A. Donenfeld1-1/+1
2017-06-12random: wait for random bytes when generating nonces and ephemeralsJason A. Donenfeld4-7/+12
We can let userspace configure wireguard interfaces before the RNG is fully initialized, since what we mostly care about is having good randomness for ephemerals and xchacha nonces. By deferring the wait to actually asking for the randomness, we give a lot more opportunity for gathering entropy. This won't cover entropy for hash table secrets or cookie secrets (which rotate anyway), but those have far less catastrophic failure modes, so ensuring good randomness for elliptic curve points and nonces should be sufficient.
2017-06-12version: bump snapshot0.0.20170612Jason A. Donenfeld2-2/+2
2017-06-12wg-quick: match ipv6 default route more broadlyJason A. Donenfeld1-1/+1
2017-06-11wg-quick: make sure we have empty table for both v6 and v4Jason A. Donenfeld1-1/+3
Otherwise, we wind up not doing the right thing in the v6-only case, or doing something totally borked when v4 and v6 are filled unevenly. Reported-by: Roelf Wichertjes <contact@roelf.org>
2017-06-09external-tests: trim the fatJason A. Donenfeld5-205/+0
2017-06-08config: ensure the RNG is initialized before settingJason A. Donenfeld2-0/+48
It's possible that get_random_bytes() will return bad randomness if it hasn't been seeded. This patch makes configuration block until the RNG is properly initialized. Reference: http://www.openwall.com/lists/kernel-hardening/2017/06/02/2
2017-06-08noise: fix race when replacing handshakeJason A. Donenfeld3-11/+24
Replacing an entry that's already been replaced is something that could happen when processing handshake messages in parallel, when starting up multiple instances on the same machine. Reported-by: Hubert Goisern <zweizweizwoelf@gmail.com>
2017-06-08go test: use x/crypto for blake2s now that we have 128-bit macJason A. Donenfeld1-3/+3
2017-06-05peer: explicitly initialize atomicJason A. Donenfeld1-0/+3
2017-06-01go test: correct tai64n and formattingJason A. Donenfeld1-26/+26
2017-06-01external-tests: add keepalive packetJason A. Donenfeld2-0/+23
2017-06-01compat: remove padata hotplug codeJason A. Donenfeld1-149/+0
It's different on different kernel versions, and we're not using it anyway, so it's easiest to just get rid of it, rather than having another ifdef maze.
2017-06-01curve25519: use more standard label convention in asmJason A. Donenfeld2-24/+24
2017-06-01device: do-while assignment styleJason A. Donenfeld1-1/+1
2017-06-01receive: trim incoming packets to IP header lengthJason A. Donenfeld3-2/+17
2017-06-01go test: properly pad messageJason A. Donenfeld1-2/+2
2017-05-31timers: queue up killing ephemerals only if not alreadyJason A. Donenfeld1-1/+1
2017-05-31config: add new line for styleJason A. Donenfeld1-0/+1
2017-05-31version: bump snapshot0.0.20170531Jason A. Donenfeld2-2/+2