Commit Graph

  • af9c76452f More extensive outbound test Mathias Hall-Andersen 2019-09-04 21:42:10 +02:00
  • 310be99fa6 Expanded outbound test Mathias Hall-Andersen 2019-09-04 19:22:47 +02:00
  • 6d11da441b Simply passing of JobBuffer ownership Mathias Hall-Andersen 2019-09-04 19:08:13 +02:00
  • f55014ef8f Wake workers when submitting work Mathias Hall-Andersen 2019-09-02 23:32:07 +02:00
  • 62d71a7a67 Reconsider inorder queueing Mathias Hall-Andersen 2019-09-02 20:22:47 +02:00
  • 929eadb651 Outbound cryptkey routing Mathias Hall-Andersen 2019-09-01 17:16:01 +02:00
  • d16521f4c7 Added Bind trait to router Mathias Hall-Andersen 2019-08-31 21:00:10 +02:00
  • 46d76b80c6 Reduce number of type parameters in router Mathias Hall-Andersen 2019-08-31 20:25:16 +02:00
  • c823af1a9c Explicitly clear t0 in KDF macro Mathias Hall-Andersen 2019-08-31 15:52:41 +02:00
  • 7e5852ec26 Fix race condition on response processing Mathias Hall-Andersen 2019-08-31 15:46:18 +02:00
  • 51179f5433 Better management of key material Mathias Hall-Andersen 2019-08-31 15:03:14 +02:00
  • 0520b28ac2 Move to RustCrypto AEAD crate for handshake Mathias Hall-Andersen 2019-08-30 19:46:00 +02:00
  • 6785aa4cb5 Join with worker threads on device drop Mathias Hall-Andersen 2019-08-28 16:27:26 +02:00
  • 8e1a2cabd3 Renamed confirmed -> initator on keypair Mathias Hall-Andersen 2019-08-28 12:14:32 +02:00
  • 10e6436e6b Start worker threads for device Mathias Hall-Andersen 2019-08-28 11:52:08 +02:00
  • a1b50aca26 Add confirm_key stub Mathias Hall-Andersen 2019-08-27 22:30:24 +02:00
  • 40533b9ffd Use confirmation status from keypair in dec-state Mathias Hall-Andersen 2019-08-27 22:21:31 +02:00
  • e5f515098a Work on inbound/outbound consume code Mathias Hall-Andersen 2019-08-27 22:20:22 +02:00
  • cdbcd55eda Added sealing/opening to the router worker Mathias Hall-Andersen 2019-08-27 21:17:55 +02:00
  • e28a9274d0 Removed unused sub-module Mathias Hall-Andersen 2019-08-27 11:37:20 +02:00
  • 3eb7f5e423 Removed unused sub-module Mathias Hall-Andersen 2019-08-27 11:36:33 +02:00
  • a80e64014c Unbox callback closures Mathias Hall-Andersen 2019-08-27 11:28:20 +02:00
  • e16151419d Work on callback structure for cryptkey router Mathias Hall-Andersen 2019-08-26 15:01:47 +02:00
  • 5f3c4d2e27 Update the blake2 crate to fix bug upstream Mathias Hall-Andersen 2019-08-26 15:00:14 +02:00
  • 2272e5250f Move to hjul crate Mathias Hall-Andersen 2019-08-24 23:41:05 +02:00
  • e88ed5d02d Allow DoS mitigation to take any endpoint impl. Mathias Hall-Andersen 2019-08-23 11:43:29 +02:00
  • 9528d19cc9 Derieve clone for timer (handle) Mathias Hall-Andersen 2019-08-22 15:46:34 +02:00
  • 543efad980 Added benchmarks for timer code Mathias Hall-Andersen 2019-08-22 15:29:02 +02:00
  • c5aba7183d Initial version of timer framework Mathias Hall-Andersen 2019-08-22 14:59:15 +02:00
  • 9cef264581 Ensure peer threads are stopped on drop Mathias Hall-Andersen 2019-08-20 21:19:53 +02:00
  • f4da998812 Removed platform mod Mathias Hall-Andersen 2019-08-20 14:34:41 +02:00
  • 7e727d120b Restructure and job stealing work queue Mathias Hall-Andersen 2019-08-20 14:33:11 +02:00
  • 31ef3e2871 Implemented keypair_confirm Mathias Hall-Andersen 2019-08-18 15:44:20 +02:00
  • 78ab1a93e6 Remove peer from cryptkey router on drop Mathias Hall-Andersen 2019-08-17 16:31:08 +02:00
  • 5aeea9b619 Begin drafting cross-platform interface Mathias Hall-Andersen 2019-08-16 22:00:48 +02:00
  • 726163b7f1 Layout work on router Mathias Hall-Andersen 2019-08-16 12:33:10 +02:00
  • 657a1ccb44 Implement add_keypair semantics Mathias Hall-Andersen 2019-08-13 19:42:05 +02:00
  • 723a1b8e85 Port replay filter and sketch router state Mathias Hall-Andersen 2019-08-12 21:04:19 +02:00
  • 0e16901261 Work on sketching router interface Mathias Hall-Andersen 2019-08-10 17:09:02 +02:00
  • a50079552a Kill GC thread on Ratelimiter drop Mathias Hall-Andersen 2019-08-10 16:01:56 +02:00
  • b33381331f Concurrent rate limiter Mathias Hall-Andersen 2019-08-07 22:51:58 +02:00
  • f7f1088123 Added initiation flood protection Mathias Hall-Andersen 2019-08-07 11:29:39 +02:00
  • a12e6e139c Add rate limiter check to handshake messages. Mathias Hall-Andersen 2019-08-06 13:02:13 +02:00
  • 8f488882be Prepare for resuse of message buffers for response Mathias Hall-Andersen 2019-08-05 22:08:18 +02:00
  • c62aca70a3 Multiple mac2 can be checked concurrently Mathias Hall-Andersen 2019-08-05 21:51:16 +02:00
  • abc8cacf44 Checking of mac2 fields on initiation & response Mathias Hall-Andersen 2019-08-05 21:37:31 +02:00
  • baebac5bec Validate mac2 field Mathias Hall-Andersen 2019-08-03 14:45:45 +02:00
  • fe0c1532d9 Added property-based test for full DoS interaction Mathias Hall-Andersen 2019-08-03 14:36:14 +02:00
  • 2bdcda067c Remove rust-crypto, move to libsodium bindings Mathias Hall-Andersen 2019-08-02 17:18:37 +02:00
  • d6e40f9ea6 Unit test for mac1 validation Mathias Hall-Andersen 2019-08-01 13:56:42 +02:00
  • 0f92468f69 Successfully validate mac1 field Mathias Hall-Andersen 2019-08-01 13:25:50 +02:00
  • ab98d9dced Make unit tests pass Mathias Hall-Andersen 2019-08-01 11:12:30 +02:00
  • 1cfd5aea1a Move to nested handshake message structure Mathias Hall-Andersen 2019-07-30 15:28:11 +02:00
  • f46f36ad29 Begin work on MAC field processing Mathias Hall-Andersen 2019-07-29 12:45:10 +02:00
  • 2c81abbe79 Restructured for wireguard-rs Mathias Hall-Andersen 2019-07-28 17:09:27 +02:00
  • 59190dff33 Added ability to remove peer from device Mathias Hall-Andersen 2019-07-26 22:36:24 +02:00
  • 97e5e1eacc Only impl. fmt for messages in test Mathias Hall-Andersen 2019-07-26 18:45:20 +02:00
  • 5efb318171 Move parser code to zerocopy Mathias Hall-Andersen 2019-07-26 15:46:24 +02:00
  • 43b56dfb58 Formatting Mathias Hall-Andersen 2019-07-25 22:04:35 +02:00
  • 27f8fd8e34 Fixed GenericArray version Mathias Hall-Andersen 2019-07-25 21:43:25 +02:00
  • 409ba51750 Added opaque identity to output Mathias Hall-Andersen 2019-07-25 18:23:30 +02:00
  • d2c4ad17fe Avoid race-condition when allocating a new identity Mathias Hall-Andersen 2019-07-25 13:06:11 +02:00
  • db8328bb3b Fix TAI64 epoch Mathias Hall-Andersen 2019-07-24 18:50:05 +02:00
  • 95080c870f Tested full handshake Mathias Hall-Andersen 2019-07-24 18:47:33 +02:00
  • c77697b8ed Finish handshake exchange Mathias Hall-Andersen 2019-07-22 23:40:04 +02:00
  • e0e95d9679 Begin creation of response Mathias Hall-Andersen 2019-07-18 19:52:23 +02:00
  • 14e9647afd Begin processing of initation Mathias Hall-Andersen 2019-07-18 13:20:03 +02:00
  • 4817ca7906 Better seperation and introduction of timestamp Mathias Hall-Andersen 2019-07-17 16:28:21 +02:00
  • 55418344ae Use precomputed static-static Mathias Hall-Andersen 2019-07-16 23:41:52 +02:00
  • 5a5d09bb41 Create initiation message Mathias Hall-Andersen 2019-07-16 23:37:25 +02:00
  • abf502f73c Test precomputed values Mathias Hall-Andersen 2019-07-14 19:04:59 +02:00
  • 7805fd9f59 Begin work on creating initiation Mathias Hall-Andersen 2019-07-13 23:15:01 +02:00
  • dfed3b448f Add peers and psks to device Mathias Hall-Andersen 2019-07-12 14:49:53 +02:00
  • 0c05104e8b Add unit tests Mathias Hall-Andersen 2019-07-11 21:53:44 +02:00
  • 9154c997fa Encoding / decoding of messages Mathias Hall-Andersen 2019-07-10 18:22:48 +02:00