Skip to contentSkip to conversation

wireguard: bump to 0.0.20180708

PATCH New Peter Korsgaard 1 participant 7 messages Jul 10, 2018 – Jul 20, 2018 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jason" == Jason A Donenfeld <[email protected]> writes:

* chacha20poly1305: use slow crypto on -rt kernels on arm too Leftover from the last commit of the previous snapshot that we forgot to handle.

The commit message is IMHO almost too wordy to give a quick overview of what the new version brings, but OK - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard

A message that is not in the archive (sent off-list or not yet received): CAHmME9qJ6hRtG9ONUa0ffVZScnWoXtk38YVcXEXh46cbj80PkQ@mail.gmail.com

#3 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jason" == Jason A Donenfeld <[email protected]> writes:

Quoted 7 lines · Peter Korsgaard
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Jason" == Jason A Donenfeld <[email protected]> writes:

* chacha20poly1305: use slow crypto on -rt kernels on arm too Leftover from the last commit of the previous snapshot that we forgot to handle.

Quoted 5 lines
Quoted 2 lines

The commit message is IMHO almost too wordy to give a quick overview of what the new version brings, but OK - Committed, thanks.

It's just a concatenation of the mailing list posts for the last three bumps that buildroot missed.

Correct. Again, something less detailed and faster readable (E.G. only the highlights of the changes applicable to Buildroot) would be more in line with other version bumps we do here.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

In reply to a message not in the archive
Quoted 109 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jason" == Jason A Donenfeld <[email protected]> writes:

* chacha20poly1305: use slow crypto on -rt kernels on arm too Leftover from the last commit of the previous snapshot that we forgot to handle.

* tools: getentropy requires macOS 10.12

Small build time fixup for old versions of macOS.

* queueing: remove useless spinlocks on sc
* queueing: re-enable preemption periodically to lower latency
* simd: encapsulate fpu amortization into nice functions
* simd: no need to restore fpu state when no preemption

This will improve general system latency on preempt-enabled systems, like desktops.

* dns-hatchet: apply resolv.conf's selinux context to new resolv.conf

Fixes wg-quick's dns hatchet on CentOS.

* qemu: bump default kernel

By bumping to 4.17.2, we actually uncovered a bug in the SLUB allocator, which upstream is now fixing: https://lkml.org/lkml/2018/6/18/1407

* noise: take locks for ss precomputation
* netlink: maintain static_identity lock over entire private key update

Minor locking correctness fixes and optimizations.

* noise: wait for crng before taking locks

We now make sure that an outgoing packet which needs a potentially unseeded rng won't block a call to wg(8), which takes similar locks for retrieving data.

* receive: drop handshake packets if rng is not initialized

If the rng is unseeded, we drop incoming handshake packets, so that it's not possible for an attacker to fill the handshake queue thereby provoking cookies.

* ratelimiter: mitigate reference underflow
* ratelimiter: do not allow concurrent init and uninit

Minor correctness and hardening fixes, which don't fix anything particular in WireGuard, but might be useful if our ratelimiter is ever used elsewhere.

* compat: use stabler lkml links
* poly1305: add missing string.h header

Minor fixups.

* receive: don't toggle bh

The last snapshot caused a big performance regression, which we partially revert here. This general matter, though, will be revisited in the future, perhaps by switching to NAPI.

* main: test poly1305 before chacha20poly1305
* poly1305: give linker the correct constant data section size

While the default bfd linker did the right thing, gold would sometimes merge section incorrectly because of an incorrect section length field, resulting in wrong calculations.

* simd: add missing header

Fixes a compile error on a few odd kernels.

* global: fix a few typos
* manpages: eliminate whitespace at the end of the line
* tools: fix misspelling of strchrnul in comment

Cosmetic fixups.

* global: use ktime boottime instead of jiffies
* global: use fast boottime instead of normal boottime
* compat: more robust ktime backport

We now use the equivalent of clock_gettime(CLOCK_BOOTTIME) for doing age checks on time-limited objects, such as ephemeral keys, so that on systems where we don't clear before sleep (like Android), we make sure to invalidate the objects after the proper amount of time, taking into account time spent asleep.

* wg-quick: android: prevent outgoing handshake packets from being dropped

Recent android phones block outgoing packets using iptables while the system is asleep. This makes sense for most services, but not for a tunnel device itself, so we work around this by inserting our own iptables rule.

* device: print daddr not saddr in missing peer error
* receive: style

Debug messages now make sense again.

* wg-quick: android: support excluding applications

Android now supports excluding certain apps (uids) from the tunnel.

* selftest: ratelimiter: improve chance of success via retry
* qemu: bump default kernel version
* qemu: decide debug kernel based on KERNEL_VERSION

Some improvements to our testing infrastructure.

Quoted 8 lines

* receive: use NAPI on the receive path

This is a big change that should both improve preemption latency (by not disabling it unconditionally) and vastly improve rx performance on most systems by using NAPI. The main purpose of this snapshot is to test out this technique.

Committed to 2018.02.x and 2018.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard

A message that is not in the archive (sent off-list or not yet received): CAHmME9pCuQBH2QNQaR-VGOviDrZH01vsOj90buj2L0Lt7rBm4w@mail.gmail.com

#6 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jason" == Jason A Donenfeld <[email protected]> writes:

A bit late. 20180718 came out yesterday.

Yeah, I know. I'm running ~2 weeks behind on synching 2018.02.x.

Quoted 1 line

Bye, Peter Korsgaard

#7 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

Quoted 6 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

"Peter" == Peter Korsgaard <[email protected]> writes:

"Jason" == Jason A Donenfeld <[email protected]> writes:

A bit late. 20180718 came out yesterday.

Yeah, I know. I'm running ~2 weeks behind on synching 2018.02.x.

On a related note, are you removing old git tags?

The 0.0.20180613 tag doesn't seem to exist any more:

http://autobuild.buildroot.net/results/410/41041508a97dc6e99af6c556aa1bc3698610936d/build-end.log

Signature · 1 line
Bye, Peter Korsgaard

A message that is not in the archive (sent off-list or not yet received): CAHmME9oSbkS8OqwzWjC7s2DV0dYDXs1611CWe+p2Ocwvc59hpg@mail.gmail.com

#9 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jason" == Jason A Donenfeld <[email protected]> writes:

Yes I am, but if you really need I can re push them. Is there a good reason you're still building old code?

Well, for released Buildroot versions it is, E.G. 2018.02 was released with 0.0.20180218 (updated to 0.0.20180420 in 2018.02.2 and will now be updated to 0.0.20180708 in the upcoming 2018.02.4). We normally do not bump the package versions in the LTS release unless important/security issues are found.

I understand that you prefer people use the latest version, but that is not always possible. Just keeping the old tags around like other projects seems the easiest solution to me.

We normally archive a copy of the tarball on sources.buildroot.net which is used as a fallback location, but that failed here as I only cherry picked the bump to 20180613 to the LTS version AFTER you removed the tag, and we have reworked the download logic after 2018.02 was released (so the tarballs are now under sources.buildroot.net/wireguard for master).

Signature · 1 line
Bye, Peter Korsgaard
#10 lore raw

PATCH 1/1 wireguard: bump to 0.0.20180708

Quoted 12 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

"Peter" == Peter Korsgaard <[email protected]> writes:

"Jason" == Jason A Donenfeld <[email protected]> writes:

Yes I am, but if you really need I can re push them. Is there a good reason you're still building old code?

Well, for released Buildroot versions it is, E.G. 2018.02 was released with 0.0.20180218 (updated to 0.0.20180420 in 2018.02.2 and will now be updated to 0.0.20180708 in the upcoming 2018.02.4). We normally do not bump the package versions in the LTS release unless important/security issues are found.

Quoted 3 lines

I understand that you prefer people use the latest version, but that is not always possible. Just keeping the old tags around like other projects seems the easiest solution to me.

I see you've added back the tags - Thanks!

Signature · 1 line
Bye, Peter Korsgaard