aboutsummaryrefslogtreecommitdiffstats
path: root/src/router/workers.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-07Fixed outbound unittestMathias Hall-Andersen4-24/+22
2019-09-07Write inbound packets to TUN deviceMathias Hall-Andersen9-138/+306
2019-09-05Added outbound benchmarkMathias Hall-Andersen5-89/+126
Decent performance (~1.5Gb/s on old XPS laptop from 2014), biggest bottleneck seems to be the heap allocator, swapping with jemalloc yields 2x performance.
2019-09-04Output test number and parameters to debugMathias Hall-Andersen1-1/+3
2019-09-04More extensive outbound testMathias Hall-Andersen6-116/+231
2019-09-04Expanded outbound testMathias Hall-Andersen6-21/+44
2019-09-04Simply passing of JobBuffer ownershipMathias Hall-Andersen7-299/+274
2019-09-02Wake workers when submitting workMathias Hall-Andersen6-155/+190
2019-09-02Reconsider inorder queueingMathias Hall-Andersen6-17/+85
2019-09-01Outbound cryptkey routingMathias Hall-Andersen9-35/+602
2019-08-31Added Bind trait to routerMathias Hall-Andersen6-60/+70
2019-08-31Reduce number of type parameters in routerMathias Hall-Andersen8-72/+137
Merge multiple related type parameters into trait, allowing for easier refactoring and better maintainability.
2019-08-31Explicitly clear t0 in KDF macroMathias Hall-Andersen1-3/+8
2019-08-31Fix race condition on response processingMathias Hall-Andersen1-28/+52
2019-08-31Better management of key materialMathias Hall-Andersen7-223/+234
2019-08-30Move to RustCrypto AEAD crate for handshakeMathias Hall-Andersen6-271/+163
2019-08-28Join with worker threads on device dropMathias Hall-Andersen6-30/+91
2019-08-28Renamed confirmed -> initator on keypairMathias Hall-Andersen5-11/+13
Done to reflect that the property is immutable, unlike the "confirmed" field on the decryption state.
2019-08-28Start worker threads for deviceMathias Hall-Andersen2-26/+53
2019-08-27Add confirm_key stubMathias Hall-Andersen2-6/+16
2019-08-27Use confirmation status from keypair in dec-stateMathias Hall-Andersen1-6/+7
2019-08-27Work on inbound/outbound consume codeMathias Hall-Andersen3-8/+69
2019-08-27Added sealing/opening to the router workerMathias Hall-Andersen6-22/+326
2019-08-27Removed unused sub-moduleMathias Hall-Andersen1-52/+0
2019-08-27Removed unused sub-moduleMathias Hall-Andersen2-88/+2
2019-08-27Unbox callback closuresMathias Hall-Andersen5-60/+77
Accepted the more verbose type signatures and added a callback to request new key-material.
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.