aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* if_wg: remove M_WAITOK, check return codes on initMatt Dunwoodie2021-04-231-67/+90
* if_wg: check wg_module_init succeededMatt Dunwoodie2021-04-231-9/+15
* if_wg: set snd_tag to NULL after releasingJason A. Donenfeld2021-04-221-1/+3
* if_wg: destroy interfaces on module unloadJason A. Donenfeld2021-04-221-10/+4
* wg_cookie: import optional inet6 headersJason A. Donenfeld2021-04-221-0/+2
* wg_cookie: hash vnet into ratelimiter entryJason A. Donenfeld2021-04-224-59/+46
* if_wg: properly use rn_inithead and rn_detachheadJason A. Donenfeld2021-04-223-33/+59
* wg_cookie: allocate ratelimit table staticallyMatt Dunwoodie2021-04-232-34/+26
* wg_cookie: cleanup internal codeMatt Dunwoodie2021-04-232-70/+68
* wg_cookie: add cookie_valid boolMatt Dunwoodie2021-04-232-17/+22
* wg_cookie: make ratelimiter globalMatt Dunwoodie2021-04-234-113/+112
* if_wg: add more usual string concat spacingJason A. Donenfeld2021-04-221-14/+14
* if_wg: correct logic in tag clearingJason A. Donenfeld2021-04-221-1/+1
* global: add missing bracketsJason A. Donenfeld2021-04-222-2/+4
* if_wg: more thorough wg_mbuf_resetMatt Dunwoodie2021-04-221-6/+36
* if_wg: better loop detectionMatt Dunwoodie2021-04-221-3/+4
* selftests: fixup headersJason A. Donenfeld2021-04-223-11/+14
* wg_noise: add selftestMatt Dunwoodie2021-04-224-0/+100
* wg_cookie: add selftestMatt Dunwoodie2021-04-224-0/+303
* if_wg: port allowedips selftest from Linux code and fix bugsJason A. Donenfeld2021-04-222-64/+673
* wg_cookie: ensure gc is called regularlyMatt Dunwoodie2021-04-212-29/+44
* global: update timer-type commentsJason A. Donenfeld2021-04-202-5/+5
* global: cleanup openbsd lock definesJason A. Donenfeld2021-04-204-60/+26
* global: use ck for loads/stores, rather than macro mazeJason A. Donenfeld2021-04-203-85/+70
* global: move siphash helper out of supportJason A. Donenfeld2021-04-204-32/+24
* global: use sbintime_t consistentlyJason A. Donenfeld2021-04-204-48/+45
* wg_noise: inline noise_timer_expired to make expensive multiplication go awayJason A. Donenfeld2021-04-201-1/+1
* if_wg: minor code cleanup, improve readabilityMatt Dunwoodie2021-04-211-69/+75
* wg_noise: unify two state bools to an enumMatt Dunwoodie2021-04-211-14/+16
* global: use proper boolean typesJason A. Donenfeld2021-04-204-46/+49
* wg_noise: ensure we check peer count on hashtable insertMatt Dunwoodie2021-04-213-11/+19
* wg_noise: avoid handshake/keypair type confusionMatt Dunwoodie2021-04-203-7/+16
* wg_noise: insert/remove peer independent of alloc/destroyMatt Dunwoodie2021-04-203-34/+49
* wg_noise: assign index without lock then checkMatt Dunwoodie2021-04-201-1/+11
* wg_noise: remove duplicate peer checkMatt Dunwoodie2021-04-201-5/+1
* if_wg: remove unused loadMatt Dunwoodie2021-04-201-1/+0
* wg_noise: check keypair recvwith after nonceMatt Dunwoodie2021-04-203-38/+31
* wg_noise: use sbintime_t instead of timespecMatt Dunwoodie2021-04-201-23/+19
* wg_noise: no need to enter epoch hereMatt Dunwoodie2021-04-201-6/+1
* wg_noise: whitespace cleanupMatt Dunwoodie2021-04-201-5/+0
* wg_noise: lookup both keypair and handshake index at onceMatt Dunwoodie2021-04-202-9/+10
* if_wg: add missing return parens to follow style(9)Jason A. Donenfeld2021-04-191-25/+25
* if_wg: allow v4 xor v6 socket binding to fail with EADDRNOTAVAILJason A. Donenfeld2021-04-191-21/+40
* crypto: chacha and poly in same loopMatt Dunwoodie2021-04-191-92/+58
* if_wg: fixup wg_mbuf_resetMatt Dunwoodie2021-04-191-2/+0
* if_wg: replace %lu with PRIu64Matt Dunwoodie2021-04-191-14/+15
* if_wg: fix up bodged wg_mbuf_resetMatt Dunwoodie2021-04-191-3/+3
* if_wg: add wg_mbuf_reset to clear metadataMatt Dunwoodie2021-04-191-2/+14
* if_wg: replace timer lock with EPOCHMatt Dunwoodie2021-04-191-232/+194
* crypto: encrypt mbuf in placeMatt Dunwoodie2021-04-195-33/+150