summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Sunset repopre-merge-workJason A. Donenfeld2020-06-211-0/+4
* Replace sc_index_lock with sc_index_mtxMatt Dunwoodie2020-06-171-8/+8
* Replace hacky branch prediction with __predict_falseMatt Dunwoodie2020-06-171-14/+10
* Ensure failed cookie_checker_init cleans up properlyMatt Dunwoodie2020-06-161-12/+10
* A little comment cleanupMatt Dunwoodie2020-06-163-183/+70
* Litter the code with ifdef INET6, all applicable placesMatt Dunwoodie2020-06-163-4/+71
* Add #ifdef INET6 where necessaryMatt Dunwoodie2020-06-161-0/+2
* Move wg_{cookie,noise} from sys/crypto to sys/netMatt Dunwoodie2020-06-166-19/+22
* Revert "Simplify if_output to avoid queueing"Jason A. Donenfeld2020-06-021-13/+48
* Simplify if_output to avoid queueingJason A. Donenfeld2020-06-021-48/+13
* Separate wgtest.c into relevant filesMatt Dunwoodie2020-06-017-505/+640
* wg_ratelimit_pool should be of type ratelimit_entryMatt Dunwoodie2020-06-011-1/+1
* Align ratelimit constants with other implementationsMatt Dunwoodie2020-06-012-4/+5
* memcpy requires a header for chachaJason A. Donenfeld2020-05-301-3/+14
* Check the right pointer when validating response macsJason A. Donenfeld2020-05-301-2/+2
* Copy flow hash on encapsulating so fq_codel can do its thingJason A. Donenfeld2020-05-291-0/+5
* Keep nonces in native endian except for wire marshalling, and fix big endian cookiesJason A. Donenfeld2020-05-283-23/+25
* Change == to >= in mq_pushMatt Dunwoodie2020-05-281-1/+1
* Set IFF_NOARP by defaultMatt Dunwoodie2020-05-281-1/+1
* Add additional comments to clarify ioctl locksMatt Dunwoodie2020-05-282-1/+5
* Slight refactor to timersMatt Dunwoodie2020-05-281-13/+11
* Add handshake_last_sent check to wg_send_initiationMatt Dunwoodie2020-05-271-7/+34
* Remove function castsMatt Dunwoodie2020-05-271-71/+89
* Simple removal of WG_PEERS_FOREACH_*Matt Dunwoodie2020-05-271-15/+8
* We should use mq_push for the p_staged_queueMatt Dunwoodie2020-05-271-1/+1
* Remove unnecessary checks for integer overflowMatt Dunwoodie2020-05-271-4/+0
* Don't assume mbufs have 8-byte alignmentJason A. Donenfeld2020-05-271-3/+7
* Do not make unaligned writes on tai64nJason A. Donenfeld2020-05-271-2/+8
* Rename constants to match key typesJason A. Donenfeld2020-05-265-188/+190
* Remove __packed from print-wg, since structures are naturally alignedJason A. Donenfeld2020-05-261-4/+4
* Do not specify encoding in wg_noiseJason A. Donenfeld2020-05-264-101/+115
* Import newer blake2s code instead of old crufty oneJason A. Donenfeld2020-05-264-61/+38
* cookie_macs contain char arrays and therefore do not need to be packedJason A. Donenfeld2020-05-261-1/+1
* Use better names for ioctl labelsJason A. Donenfeld2020-05-261-10/+9
* Ensure list is initialisedMatt Dunwoodie2020-05-251-0/+2
* Fix typoMatt Dunwoodie2020-05-241-1/+1
* Setting port 0 makes senseMatt Dunwoodie2020-05-231-1/+1
* Refactor binding interface.Matt Dunwoodie2020-05-231-118/+103
* Use atomic counter operation when availableJason A. Donenfeld2020-05-201-1/+5
* Use codel limits for ooo counterJason A. Donenfeld2020-05-191-1/+1
* Mark as IFT_WIREGUARD rather than normal tunnelJason A. Donenfeld2020-05-199-23/+60
* Do not bring interface down and up on port/rtable changeJason A. Donenfeld2020-05-191-34/+55
* Update ifconfig.8 and wg.4Matt Dunwoodie2020-05-182-195/+170
* Use distinct hashtables for rate limiting v4/v6Matt Dunwoodie2020-05-182-17/+43
* Line up constants with LinuxMatt Dunwoodie2020-05-182-5/+5
* Restore Jason's original growwgdata function, still keep == NULLMatt Dunwoodie2020-05-181-11/+10
* Align handshake_touch to last_sentMatt Dunwoodie2020-05-181-11/+12
* Timer alignment with LinuxMatt Dunwoodie2020-05-182-76/+46
* Add padding limit to encrypted packet.Matt Dunwoodie2020-05-181-4/+7
* Fix mbuf leak in wg_queue_inMatt Dunwoodie2020-05-181-0/+1