aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move all relevant functions to if_wg.cMatt Dunwoodie2019-10-131-1080/+0
* Update wireguard.c includesMatt Dunwoodie2019-10-091-1/+1
* Remove wg_peer_attach_sessionMatt Dunwoodie2019-10-091-37/+27
* Permission checks on keys probably don't belong hereMatt Dunwoodie2019-10-091-7/+5
* Move wg_device_make_cookie -> wg_device_tx_cookieMatt Dunwoodie2019-10-081-23/+21
* Fix a number of bugsMatt Dunwoodie2019-10-071-32/+54
* Use mutexes in wireguard rather than rwlocksMatt Dunwoodie2019-10-071-178/+196
* Move mutex and refcnt to fixedmapMatt Dunwoodie2019-10-061-91/+29
* Add notify to alert new session has been createdMatt Dunwoodie2019-10-051-0/+4
* New idea again. Please bear with meMatt Dunwoodie2019-10-031-33/+32
* A few small bugfixesMatt Dunwoodie2019-10-031-1/+4
* Further simplify the wireguard.h interfaceMatt Dunwoodie2019-10-031-33/+44
* Move wg_peer_ref to wg_device_new_peerMatt Dunwoodie2019-10-021-0/+4
* Add initiation attempt resetMatt Dunwoodie2019-10-021-0/+8
* Add debug messages to ref countingMatt Dunwoodie2019-10-021-1/+15
* Minor lock changesMatt Dunwoodie2019-10-021-5/+3
* Fix lock ordering in tx_initiation, not perfect though.Matt Dunwoodie2019-10-021-3/+5
* Fix lock bug in wg_peer cleanMatt Dunwoodie2019-10-021-1/+1
* Remove refcnt from fixedmapMatt Dunwoodie2019-10-021-50/+86
* BugfixesMatt Dunwoodie2019-10-021-13/+14
* I don't have a good commit message for thisMatt Dunwoodie2019-10-021-154/+204
* Big re-work of wireguard.cMatt Dunwoodie2019-09-301-517/+603
* Move antireplay to it's own headerMatt Dunwoodie2019-09-221-42/+3
* Fix bug in wireguard.cMatt Dunwoodie2019-09-211-1/+1
* Fix incorrect behaviour in wg_handshake_initiation_readyMatt Dunwoodie2019-09-181-3/+1
* Fix trivial TODOs in wireguard.cMatt Dunwoodie2019-09-181-13/+16
* Add documentation to wireguard.h, TODOs to correct wireguard.cMatt Dunwoodie2019-09-181-2/+10
* Rename *_clean to *_resetMatt Dunwoodie2019-09-181-2/+2
* Fix lock bug in wg_handshake_merge, cleanupMatt Dunwoodie2019-09-111-7/+1
* Check handshake state before preparing initiation packetMatt Dunwoodie2019-09-111-3/+10
* Abstract all handshake access to wireguard.cMatt Dunwoodie2019-09-101-13/+74
* Minor wireguard.c bugfixMatt Dunwoodie2019-09-101-1/+1
* Move handshake rate limiting to wireguard.cMatt Dunwoodie2019-09-091-12/+18
* Fix lock bugMatt Dunwoodie2019-08-271-2/+3
* bugfix: encrypt wouldn't return REKEY on first packet outMatt Dunwoodie2019-08-231-6/+6
* Move session confirmation to transport decryptMatt Dunwoodie2019-08-231-0/+11
* Add extra wg_session_confirmMatt Dunwoodie2019-08-221-6/+24
* Add bloombucket.h for ratelimiting.Matt Dunwoodie2019-08-221-1/+1
* Separate timers from cryptoMatt Dunwoodie2019-08-221-9/+19
* Add ID checks for incoming messagesMatt Dunwoodie2019-08-221-0/+9
* Split ID removal and cleaningMatt Dunwoodie2019-08-221-5/+15
* Fixup TODOMatt Dunwoodie2019-08-221-2/+8
* Ensure outgoing counter is incremented atomicallyMatt Dunwoodie2019-08-221-3/+7
* Simplify handshake and session structsMatt Dunwoodie2019-08-201-56/+8
* Start rework of cookiesMatt Dunwoodie2019-08-201-16/+25
* Simplify initiation timeoutMatt Dunwoodie2019-08-181-5/+5
* Move key normalisation to wg_keypair_from_bytesMatt Dunwoodie2019-08-141-5/+6
* Add check to prevent DOS attack against serverMatt Dunwoodie2019-08-141-2/+6
* Fix endianess bugsMatt Dunwoodie2019-08-141-3/+4
* Refactor wg_timers*Matt Dunwoodie2019-08-111-0/+11