Commit Graph

  • 9322303dd9 Add FreeBSD Foundation copyrights on files I've modified. jb-wip John Baldwin 2022-10-28 12:50:40 -0700
  • 9b3fe3054c if_wg.c: Correct SPDX license tag. John Baldwin 2022-10-26 13:53:04 -0700
  • aee9dbb13d Use atomic(9) instead of concurrency-kit atomics. John Baldwin 2022-09-12 01:02:18 -0700
  • cd3fd31d67 compat: Add shims for atomic_load/store_bool. John Baldwin 2022-08-12 10:52:20 -0700
  • 7b281ad37b Fix builds for kernels without INET and/or INET6. John Baldwin 2022-08-12 10:40:32 -0700
  • 20584d1c32 support: account for protosw change master Jason A. Donenfeld 2022-09-04 19:06:00 +0200
  • 3cc22b29d6 version: bump v0.0.20220615 Jason A. Donenfeld 2022-06-15 16:11:06 +0200
  • 11468c59f8 compat: update version to handle sbcreatecontrol() changes Joseph Mingrone 2022-06-14 16:15:26 -0300
  • 5ba28362fe crypto: inline blake2s convenience function Jason A. Donenfeld 2022-06-14 11:35:01 +0200
  • 5c58322798 wg_noise: import hmac from crypto Jason A. Donenfeld 2022-06-14 11:33:26 +0200
  • 7e3b50994e ci: add FreeBSD 12.3 and 13.1 Ed Maste 2022-06-03 17:06:23 -0400
  • a7d386f91e version: bump v0.0.20220614 Jason A. Donenfeld 2022-06-14 11:19:42 +0200
  • e519e8e44d compat: fix version stamp Jason A. Donenfeld 2022-06-14 01:26:13 +0200
  • 416c5dcf27 crypto: harmonize with compat and clean up Jason A. Donenfeld 2022-06-14 01:22:52 +0200
  • 613c964ee9 crypto: use curve25519 API from the kernel when available John Baldwin 2021-11-22 10:39:20 -0800
  • f59e60e369 crypto: use <crypto/chacha20_poly1305.h> when present John Baldwin 2021-11-11 16:40:04 -0800
  • a6354a1436 crypto: use OCF to encrypt/decrypt packets when supported John Baldwin 2021-10-11 11:27:16 -0700
  • b7441e3154 if_wg: wg_peer_alloc and wg_aip_add: Use M_WAITOK with malloc John Baldwin 2021-11-10 16:38:22 -0800
  • ccf37db6e6 build: include compat.h for all files Jason A. Donenfeld 2022-06-10 22:28:48 +0200
  • d0c75d8e7d version: bump v0.0.20220610 Jason A. Donenfeld 2022-06-10 19:21:17 +0200
  • c66627f1ea if_wg: account for added argument to sbcreatecontrol Jason A. Donenfeld 2022-06-10 19:14:49 +0200
  • 352883bb38 crypto: return an error code from mbuf crypt routines John Baldwin 2022-01-20 15:26:30 -0800
  • 7658a19cb6 if_wg: wg_module_init: clean up more if the self tests fail John Baldwin 2021-11-22 10:48:59 -0800
  • ddc22dade9 if_wg: avoid scheduling excessive tasks for encryption/decryption John Baldwin 2021-11-11 10:20:02 -0800
  • dad3e685f5 if_wg: wg_mbuf_reset: don't free send tags John Baldwin 2021-11-10 16:52:07 -0800
  • 60ac45234c wg_cookie: ratelimit_init: use callout_init_mtx John Baldwin 2021-11-10 16:41:10 -0800
  • 7196782c5d if_wg: wg_clone_create: Use M_WAITOK with malloc John Baldwin 2021-11-10 16:14:33 -0800
  • 8c2797b04a if_wg: wgc_get/set: use M_WAITOK with malloc() John Baldwin 2021-11-10 16:02:11 -0800
  • 1d5dd08074 if_wg: wg_queue_delist_staged: use more standard STAILQ_CONCAT John Baldwin 2021-11-10 15:28:22 -0800
  • a31339b25e if_wg: wg_queue_len: remove locking John Baldwin 2021-11-10 15:16:41 -0800
  • 54b2075e29 build: only include compat.h for if_wg.c and fix build with an obj directory John Baldwin 2021-08-27 14:59:42 -0700
  • b5cb87eebb if_wg: account for input function returning a boolean Jason A. Donenfeld 2022-06-10 17:18:11 +0200
  • 5043212a73 if_wg: do not use continue statement on \!VIMAGE Jason A. Donenfeld 2022-06-10 17:38:32 +0200
  • 8ed513557b version: bump v0.0.20211105 Jason A. Donenfeld 2021-11-05 15:40:17 +0100
  • 0c4dfbf209 if_wg: protect in6_mask2len with INET6 Jason A. Donenfeld 2021-10-29 16:20:16 +0200
  • 93bd2b17d6 if_wg: bump keepalive timers unconditionally on send Jason A. Donenfeld 2021-10-26 11:18:16 +0200
  • 64a507ad6b compat: taskqueue draining was backported to stable/13 Jason A. Donenfeld 2021-06-07 11:50:20 +0200
  • bf27d10262 version: bump v0.0.20210606 Jason A. Donenfeld 2021-06-06 15:35:25 +0200
  • 7855bfe930 if_wg: do not crash if deiniting before vnet is up Jason A. Donenfeld 2021-06-06 15:23:22 +0200
  • 0955fa72f5 global: replace rwlock with mtx if never rlocked Jason A. Donenfeld 2021-06-05 23:15:14 +0200
  • 5158e2c0f4 global: destroy rwlocks and mtxs Jason A. Donenfeld 2021-06-05 23:02:14 +0200
  • 0de29313dd ci: test on 12.1 and 12.2 Jason A. Donenfeld 2021-06-01 11:56:54 +0200
  • b4a0f872e6 compat: account for lack of CSUM_SND_TAG on ≤12.2 Jason A. Donenfeld 2021-06-01 12:49:46 +0200
  • 2265d72ca1 if_wg: add braces for 12.1 compiler warning Jason A. Donenfeld 2021-06-01 12:45:54 +0200
  • 395d925470 netns: use massive datagrams Jason A. Donenfeld 2021-06-01 12:30:35 +0200
  • 1fb21d1665 netns: account for FreeBSD 12 quirks Jason A. Donenfeld 2021-06-01 12:10:49 +0200
  • 3be23818a1 netns: trim test to working parts and rework jail logic Jason A. Donenfeld 2021-06-01 10:45:21 +0200
  • a554cedba4 if_wg: pass back result of selftests and enable in CI Jason A. Donenfeld 2021-05-19 01:02:43 +0200
  • 74b1ad5ffd ci: add a Cirrus-CI config file to build + smoke test Ed Maste 2021-05-17 20:37:33 -0400
  • f324db0677 netns: use `exit 0` for early exit Ed Maste 2021-05-17 21:38:42 -0400
  • 0f6950b07f version: bump v0.0.20210503 Jason A. Donenfeld 2021-05-06 11:19:05 +0200
  • 47f0fccb86 if_wg: destroy interfaces before uma zone Jason A. Donenfeld 2021-05-03 17:22:47 +0200
  • 31d3186a6d TODO: add note about excessive rw locks Jason A. Donenfeld 2021-05-03 17:09:09 +0200
  • 561f3a8f93 wg_noise: set handshake to dead before removing keypair Jason A. Donenfeld 2021-05-03 16:31:25 +0200
  • 280bee380d if_wg: put event notifiers in main loop Jason A. Donenfeld 2021-05-03 15:48:39 +0200
  • 1a515a5df1 version: bump v0.0.20210502 Jason A. Donenfeld 2021-05-03 09:57:39 +0200
  • c61c06a812 wg_noise: cleanup counter algorithm Jason A. Donenfeld 2021-05-02 20:56:16 +0200
  • de25b2aa73 wg_cookie: zero before init in selftest for witness Jason A. Donenfeld 2021-05-02 20:52:01 +0200
  • a41a7eb994 if_wg: don't double increment error counter Jason A. Donenfeld 2021-05-02 20:24:24 +0200
  • 24c418a7ad if_wg: ensure packet is not shared before writing Jason A. Donenfeld 2021-05-02 19:56:54 +0200
  • 9095d03409 if_wg: don't memcpy data for no reason Jason A. Donenfeld 2021-05-02 19:50:05 +0200
  • 350e95248f if_wg: pad packets properly Jason A. Donenfeld 2021-05-02 13:39:55 +0200
  • cad7ead734 if_wg: return to m temporary variable style Jason A. Donenfeld 2021-04-30 10:26:51 +0200
  • 9552bec02b if_wg: defragment mbufs early on Jason A. Donenfeld 2021-04-30 10:05:24 +0200
  • ab1c95731e version: bump v0.0.20210428 Jason A. Donenfeld 2021-04-28 21:49:46 -0400
  • 2d4075f006 if_wg: allocate entire mbuf all at once Jason A. Donenfeld 2021-04-28 21:38:05 -0400
  • a1fdf6646b if_wg: do not double-free after m_pullup Jason A. Donenfeld 2021-04-28 21:17:19 -0400
  • 753c36ef15 if_wg: enter net epoch for isr dispatch Jason A. Donenfeld 2021-04-28 20:51:45 -0400
  • a3e01095e2 if_wg: write data header directly Jason A. Donenfeld 2021-04-28 19:39:33 -0400
  • 57fcc8e52c if_wg: do not block for memory when sending buffer Jason A. Donenfeld 2021-04-28 19:11:28 -0400
  • c3b368a6e7 if_wg: use proper bool for is_retry Jason A. Donenfeld 2021-04-28 18:46:09 -0400
  • 708220dfc9 if_wg: simplify state setting flow Jason A. Donenfeld 2021-04-28 13:55:18 -0400
  • f0d2d14e83 netns: enable debug logging Jason A. Donenfeld 2021-04-28 13:44:10 -0400
  • 7c89703091 if_wg: pull up packet before checking aip on input Jason A. Donenfeld 2021-04-28 13:34:03 -0400
  • b785f617dd if_wg: unify xmit error path Jason A. Donenfeld 2021-04-28 13:07:26 -0400
  • 5810c2f54f wg_noise: fix remote refcount leak Matt Dunwoodie 2021-04-28 14:00:11 +1000
  • 307e552e62 if_wg: do not assume that IP header is pulled up Jason A. Donenfeld 2021-04-27 23:01:20 -0400
  • e2ea594774 if_wg: handle if_transmit and if_output properly Jason A. Donenfeld 2021-04-25 19:55:12 -0400
  • cb7cd32a7c if_wg: do not increment error counter when sc is null Jason A. Donenfeld 2021-04-25 10:45:39 -0400
  • dd04bc5aa4 wg_noise: compile on 32-bit Jason A. Donenfeld 2021-04-24 16:12:23 -0400
  • 2e5e8bd58f version: bump v0.0.20210424 Jason A. Donenfeld 2021-04-24 13:09:11 -0400
  • f5fa70e36b crypto: optimize out `if (encrypt)` Jason A. Donenfeld 2021-04-24 13:00:32 -0400
  • 2298409740 if_wg: count on peers always having a remote Jason A. Donenfeld 2021-04-24 12:51:12 -0400
  • 49c70643ce if_wg: ensure peer lifetime Matt Dunwoodie 2021-04-24 12:28:36 +1000
  • 9e98ee86f8 selftests: capitalise fail messages for readability Matt Dunwoodie 2021-04-23 15:34:54 +1000
  • 5a6c97af1e if_wg: zero out remaining mallocs Jason A. Donenfeld 2021-04-22 23:07:51 -0600
  • 0c91bf5f0b wg_noise: zero out new structures Jason A. Donenfeld 2021-04-22 22:49:57 -0600
  • a520a799ba compat: backport m_snd_tag_rele to 12 Jason A. Donenfeld 2021-04-22 22:39:08 -0600
  • 78dc3f1bd0 if_wg: remove M_WAITOK, check return codes on init Matt Dunwoodie 2021-04-23 14:23:08 +1000
  • 8f31763ff3 if_wg: check wg_module_init succeeded Matt Dunwoodie 2021-04-23 13:44:13 +1000
  • 96f33dfffd if_wg: set snd_tag to NULL after releasing Jason A. Donenfeld 2021-04-22 22:32:14 -0600
  • 04d0ba2839 if_wg: destroy interfaces on module unload Jason A. Donenfeld 2021-04-22 22:23:03 -0600
  • 62f21e8273 wg_cookie: import optional inet6 headers Jason A. Donenfeld 2021-04-22 22:00:14 -0600
  • 0c227d384b wg_cookie: hash vnet into ratelimiter entry Jason A. Donenfeld 2021-04-22 21:53:13 -0600
  • da78e26891 if_wg: properly use rn_inithead and rn_detachhead Jason A. Donenfeld 2021-04-22 21:10:53 -0600
  • 7a7eb567d7 wg_cookie: allocate ratelimit table statically Matt Dunwoodie 2021-04-23 13:15:49 +1000
  • 3959d12083 wg_cookie: cleanup internal code Matt Dunwoodie 2021-04-23 12:00:08 +1000
  • 69d65f583c wg_cookie: add cookie_valid bool Matt Dunwoodie 2021-04-23 11:31:35 +1000
  • 7ea3c638c7 wg_cookie: make ratelimiter global Matt Dunwoodie 2021-04-23 11:22:59 +1000
  • 47a6d9c35e TODO: more nits Jason A. Donenfeld 2021-04-21 21:33:38 -0600