Commit Graph
21 Commits
Author SHA1 Message Date
Jason A. DonenfeldandGitHub a69c4b73a9 wireguard: bump to release 0.0.20171001
Simple version bump.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-10-02 03:15:35 +02:00
Jason A. DonenfeldandGitHub a429215a7e wireguard: bump to release 0.0.20170918
Simple version bump.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-09-18 17:59:00 +02:00
Jason A. DonenfeldandGitHub 19e9fbaa70 wireguard: version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-07-31 18:45:59 +02:00
Jason A. Donenfeld 132287156d wireguard: version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-07-07 16:21:24 +02:00
Jason A. Donenfeld 4d0d9ac3f9 wireguard: assume /32 or /128 if no CIDR is given
This brings the route_allowed_ips option into parity with the addresses
option, which makes these same assumption. The parsing selection is made
to be identical between these two settings.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-07-07 16:19:50 +02:00
Jason A. DonenfeldandGitHub 404657ee8a wireguard: version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-06-29 21:37:14 +02:00
Jason A. DonenfeldandGitHub 09148df173 wireguard: version bump
From upstream's changelog:

  * main: annotate init/exit functions to save memory
  * selftest: remove antique siphash self test
  * haskell: re-add updated haskell example
  * socket: use ip_rt_put instead of dst_release
  * device: avoid double icmp send on routing loop
  * compat: clean up cruft
  * global: cleanup IP header checking
  * compat: do not export symbols unnecessarily
  
  Various cleanups and updates.
  
  * device: netdevice destruction logic change for 4.12
  
  When Linux 4.12 is released next week, we're good to go.
  
  * device: only use one sleep notifier
  
  Rather than have a separate sleep notification for every interface, we now
  have a single notifier for every interface. This improves performance,
  especially when creating many interfaces at once.
  
  * device: remove icmp conntrack hacks
  
  We're moving hacks upstream the proper way, and then backporting them to
  compat.
  
  * receive: extend rate limiting to 1 second after under load detection
  
  After we determine that we're under load, we now wait 1 second before not
  being under load again, a timer which is global across all interfaces on a
  given system.
  
  * curve25519: satisfy sparse and use short types
  * curve25519: keep certain sandy2x functions in C
  
  Certain functions have been made into C, which should improve stack frames and
  reliability.
  
  * ratelimiter: rewrite from scratch
  
  This is a big change. We no longer rely on x_tables or xt_hashlimit, instead
  using a super minimal and sleek token bucket ratelimiter. This works much
  better than the old cruft and should allow us to run more places. It also has
  the benefit of being global, so that it's possible to have thousands of
  interfaces without killing the system with separate GCs and vmallocs, which is
  what happened prior.
  
  * socket: verify saddr belongs to interface
  
  We now more quickly react to changes of the v4 routing table, by ensuring that
  the sticky source address is actually still valid.
  
  * wg-quick: properly match IPv6 endpoint
  
  wg-quick now works better with IPv6.
  
  * wg-quick: use printf -v instead of namerefs for bash 4.2
  
  This adds support for old bash, which means wg-quick should be generically
  "bash 4 and up". I'm not happy about this but EL7 uses old bash, so we're
  stuck with it.
  
  * compat: support EL7.3
  
  Support for RHEL, CentOS, ScientificLinux, and so forth.
  
  * compat: support Ubuntu 14.04
  
  An old crufty Ubuntu is now supported, since it's LTS.
2017-06-28 14:57:04 +02:00
Jason A. DonenfeldandGitHub de97e29328 wireguard: remove misspelled debugging line
There are no other "echo" debug lines in this file, and it seems
clear that this one was accidentally left as a debugging line,
since it misspelled "dependency". So, we just remove this line.

We don't bump the package version, though, because this is
pretty inconsequential.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-06-14 03:15:27 +02:00
Jason A. DonenfeldandGitHub c833b249a9 wireguard: version bump
From upstream's changelog:

  * timers: queue up killing ephemerals only if not already

  We fix up a small detail in the timer logic that changed during the last
  snapshot.

  * receive: trim incoming packets to IP header length

  Packets are now trimmed to their actual length, not their length+padding,
  before handing to the rest of the network subsystem, so that packets look
  pretty in tcpdump. This doesn't actually affect what userspace sees, since the
  kernel trims it at a later stage, but it does make pcaps a bit nicer to use.

  * curve25519: use more standard label convention in asm

  This ensures that perf(1) shows the function name instead of the label name.

  * compat: remove padata hotplug code

  Fixes building on kernels that have HOTPLUG enabled but no PADATA support.

  * config: add new line for style
  * device: do-while assignment style
  * peer: explicitly initialize atomic

  Style.

  * noise: fix race when replacing handshake

  Handle a situation in which three peers, all running on the same system, begin
  a handshake with all three of each other, at exactly the same time, on a
  multi-CPU system.

  * random: wait for random bytes when generating nonces and ephemerals

  We've been working with upstream to add a new API to the kernel for ensuring
  that the RNG actually is seeded. Until they merge it for 4.13, we provide a
  poly-fill to the compat code. This means that WireGuard will block during
  handshakes until the RNG has enough entropy, so that it's never in a
  circumstance in which ephemeral keys are generated from bad randomness.

  * go test: properly pad message
  * go test: correct tai64n and formatting
  * external-tests: add keepalive packet
  * go test: use x/crypto for blake2s now that we have 128-bit mac
  * external-tests: trim the fat

  Improvements for the external tests.

  * wg-quick: make sure we have empty table for both v6 and v4
  * wg-quick: match ipv6 default route more broadly

  Tiny nits with wg-quick, one of which should now allow multiple v6-only
  wg-quick instances running at the same time.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-06-13 15:35:26 +02:00
Jason A. Donenfeld 1eeea05307 wireguard: version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-17 20:21:36 +02:00
Jason A. Donenfeld 658ffbb3fd wireguard: preshared-key is now an attribute of the peer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-09 16:51:34 +02:00
Jason A. Donenfeld 39af272f36 net/wireguard: update to 0.0.20170421
Simple version bump.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-04-21 06:22:51 +02:00
Jason A. DonenfeldandGitHub ac90f93973 net/wireguard: version bump
Simple version bump to 20170409.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-04-09 16:37:55 +02:00
Jason A. DonenfeldandGitHub 056aeb26fc net/wireguard: version bump
Simple version bump to 20170324.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-03-24 05:03:56 +01:00
Jason A. DonenfeldandGitHub db983cc080 net/wireguard: version bump
Simple version bump to 20170320.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-03-20 04:19:58 +01:00
Jason A. Donenfeld fd8a7479cf net/wireguard: add stub install section
This is in response to the metapackage discussion in openwrt/luci#1030.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-02-21 12:37:22 +01:00
Jason A. DonenfeldandYousong Zhou d1564042ef wireguard: simple package bump to 0.0.20170214
While I'm at it, add myself as maintainer, since I'm doing many of the
bumps anyway.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-02-14 19:45:45 +08:00
Jason A. Donenfeld 37425e787e net/wireguard: update to 0.0.20161230
Simple version bump; no changes needed other than filename and hash.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-12-31 03:26:08 +01:00
Jason A. DonenfeldandYousong Zhou 52039ed443 net/wireguard: version bump
Update to a new wireguard version. Simple version bump.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-24 14:48:44 +08:00
Jason A. Donenfeld c3f5ca5683 net/wireguard: version bump
Update to new snapshot version. We also make IPV6 optional, and
conditionally selecting the udptunnel6 module, using the same trick that
the strongswan package also uses for this kind of dependency expression.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-12-18 18:36:54 +01:00
Jason A. Donenfeld f8916c2f33 net/wireguard: version bump
Update to new snapshot version.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-11-29 23:52:01 +01:00