summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-26Work on callback structure for cryptkey routerMathias Hall-Andersen6-59/+97
2019-08-26Update the blake2 crate to fix bug upstreamMathias Hall-Andersen3-119/+182
Included basic sanity check for the HKDF macroes, to avoid regression in future.
2019-08-24Move to hjul crateMathias Hall-Andersen8-199/+42
Moved timer code into seperate crate (`hjul').
2019-08-23Allow DoS mitigation to take any endpoint impl.Mathias Hall-Andersen1-5/+11
2019-08-22Derieve clone for timer (handle)Mathias Hall-Andersen1-38/+38
2019-08-22Added benchmarks for timer codeMathias Hall-Andersen3-6/+44
2019-08-22Initial version of timer frameworkMathias Hall-Andersen7-2/+158
2019-08-20Ensure peer threads are stopped on dropMathias Hall-Andersen3-100/+157
2019-08-20Removed platform modMathias Hall-Andersen1-2/+0
2019-08-20Restructure and job stealing work queueMathias Hall-Andersen9-416/+487
2019-08-18Implemented keypair_confirmMathias Hall-Andersen2-91/+173
2019-08-17Remove peer from cryptkey router on dropMathias Hall-Andersen9-100/+242
2019-08-16Begin drafting cross-platform interfaceMathias Hall-Andersen8-42/+77
2019-08-16Layout work on routerMathias Hall-Andersen9-110/+253
2019-08-13Implement add_keypair semanticsMathias Hall-Andersen5-28/+141
2019-08-12Port replay filter and sketch router stateMathias Hall-Andersen10-86/+298
2019-08-10Work on sketching router interfaceMathias Hall-Andersen4-0/+183
2019-08-10Kill GC thread on Ratelimiter dropMathias Hall-Andersen3-112/+209
2019-08-07Concurrent rate limiterMathias Hall-Andersen3-107/+636
The new rate limiter allows multiple simultaneous .allow calls. Also delegated GC to tokio.
2019-08-07Added initiation flood protectionMathias Hall-Andersen4-26/+53
2019-08-06Add rate limiter check to handshake messages.Mathias Hall-Andersen7-8/+194
2019-08-05Prepare for resuse of message buffers for responseMathias Hall-Andersen4-22/+31
2019-08-05Multiple mac2 can be checked concurrentlyMathias Hall-Andersen2-20/+17
2019-08-05Checking of mac2 fields on initiation & responseMathias Hall-Andersen5-76/+119
In addition, moved the rng out. This will allow allocating one instance per worker, rather than every call.
2019-08-03Validate mac2 fieldMathias Hall-Andersen3-14/+24
2019-08-03Added property-based test for full DoS interactionMathias Hall-Andersen5-39/+245
2019-08-02Remove rust-crypto, move to libsodium bindingsMathias Hall-Andersen5-64/+294
2019-08-01Unit test for mac1 validationMathias Hall-Andersen2-15/+61
2019-08-01Successfully validate mac1 fieldMathias Hall-Andersen4-27/+97
2019-08-01Make unit tests passMathias Hall-Andersen5-65/+84
2019-07-30Move to nested handshake message structureMathias Hall-Andersen14-1379/+254
Having the nested structure: Handshake Message: Noise part (zerocopy message) MAC footer part (zerocopy message) Greatly simplifies processing the MAC fields, since the MAC footer covers the noise part, which can be accessed as bytes using AsBytes.
2019-07-29Begin work on MAC field processingMathias Hall-Andersen8-0/+1378
2019-07-28Restructured for wireguard-rsMathias Hall-Andersen13-63/+119
2019-07-26Added ability to remove peer from deviceMathias Hall-Andersen2-33/+46
2019-07-26Only impl. fmt for messages in testMathias Hall-Andersen2-5/+13
2019-07-26Move parser code to zerocopyMathias Hall-Andersen5-151/+138
2019-07-25FormattingMathias Hall-Andersen7-381/+326
2019-07-25Fixed GenericArray versionMathias Hall-Andersen3-39/+24
2019-07-25Added opaque identity to outputMathias Hall-Andersen4-39/+49
2019-07-25Avoid race-condition when allocating a new identityMathias Hall-Andersen1-5/+23
2019-07-24Fix TAI64 epochMathias Hall-Andersen2-4/+3
2019-07-24Tested full handshakeMathias Hall-Andersen8-40/+168
2019-07-22Finish handshake exchangeMathias Hall-Andersen6-107/+247
2019-07-18Begin creation of responseMathias Hall-Andersen7-94/+164
2019-07-18Begin processing of initationMathias Hall-Andersen6-47/+223
2019-07-17Better seperation and introduction of timestampMathias Hall-Andersen6-39/+136
2019-07-16Use precomputed static-staticMathias Hall-Andersen1-1/+1
2019-07-16Create initiation messageMathias Hall-Andersen8-123/+324
2019-07-14Test precomputed valuesMathias Hall-Andersen2-14/+44
Sanity check
2019-07-13Begin work on creating initiationMathias Hall-Andersen6-86/+353