path: root/src/wireguard/router (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-13Allows for erroneous Clippy lintsHEADmasterMathias Hall-Andersen2-0/+5
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
2020-10-08Fix some clippy warningsQuang Luong6-37/+39
Signed-off-by: Quang Luong <quangio@outlook.com>
2020-06-19Replace RwLock<HashMap> with DashMap in handshakeMathias Hall-Andersen1-1/+0
2020-06-14Added architecture illustration.Mathias Hall-Andersen2-43/+36
2020-05-22Enable wireguard-rs to build on stable.Mathias Hall-Andersen2-1/+11
WireGuard Rust targets the latest nightly compiler, primarily for security and speed reasons. The recommended way to build WireGuard Rust is still with latest nightly.
2020-05-13Remove "list_peers" and "lookup_peer".Mathias Hall-Andersen1-0/+2
2020-05-10Refactoring timer code:Mathias Hall-Andersen1-0/+31
- Remove the Events struct - Implement Callbacks on the PeerInner, elimiting an Arc.
2020-03-29Restructuring and dependency version bump.Mathias Hall-Andersen13-97/+501
2020-03-16Upgraded treebitmap dependencytestsMathias Hall-Andersen1-1/+1
2020-02-26Additional in-order queue test for routerMathias Hall-Andersen1-7/+74
2020-02-21Fixed unit testsMathias Hall-Andersen5-51/+57
2020-02-20More comprehensive unit tests for routerMathias Hall-Andersen9-563/+625
2020-02-16Simplified router codeMathias Hall-Andersen13-822/+633
2020-02-12Bumped crate versions.Mathias Hall-Andersen2-1/+14
2020-02-01Squashed commit of the following:Mathias Hall-Andersen2-2/+2
commit 1e26a0bef44e65023a97a16ecf3b123e688d19f7 Author: Mathias Hall-Andersen <mathias@hall-andersen.dk> Date: Sat Feb 1 14:36:50 2020 +0100 Initial version of sticky sockets for Linux commit 605cc656ad235d09ba6cd12d03dee2c5e0a9a80a Author: Mathias Hall-Andersen <mathias@hall-andersen.dk> Date: Thu Jan 30 14:57:00 2020 +0100 Clear src when sendmsg fails with EINVAL commit dffd2b228af70f681e2a161642bbdaa348419bf3 Author: Mathias Hall-Andersen <mathias@hall-andersen.dk> Date: Sun Jan 26 14:01:28 2020 +0100 Fix typoes commit 2015663706fbe15ed1ac443a31de86b3e6c643c7 Author: Mathias Hall-Andersen <mathias@hall-andersen.dk> Date: Sun Jan 26 13:51:59 2020 +0100 Restructure of public key -> peer state Restructured the mapping of public keys to peer state in the project. The handshake device is now generic over an opaque type, which enables it to be the sole place where public keys are mapped to the peer states. This gets rid of the "peer" map in the WireGuard devices and avoids having to include the public key in the handshake peer state. commit bbcfaad4bcc5cf16bacdef0cefe7d29ba1519a23 Author: Mathias Hall-Andersen <mathias@hall-andersen.dk> Date: Fri Jan 10 21:10:27 2020 +0100 Fixed bind6 also binding on IPv4 commit acbca236b70598c20c24de474690bcad883241d4 Author: Mathias Hall-Andersen <mathias@hall-andersen.dk> Date: Thu Jan 9 11:24:13 2020 +0100 Work on sticky sockets
2019-12-27Fixed typo in under load codecleanMathias Hall-Andersen1-6/+12
2019-12-26Make under_load global for WireGuard deviceMathias Hall-Andersen2-259/+2
2019-12-21Remove unused test code.Mathias Hall-Andersen2-36/+1
- make naming consistent with the kernel module. - better distribution of functionality from src/wireguard.rs - more consistent "import pattern" throughout the project. - remove unused test code.
2019-12-16Constant renamed to be consistent with kernel WGMathias Hall-Andersen3-6/+7
2019-12-16Clean dead codeMathias Hall-Andersen5-32/+30
2019-12-16Revert to crossbeamMathias Hall-Andersen4-9/+7
2019-12-14Added profiler featureMathias Hall-Andersen5-32/+84
2019-12-10Remove crossbeam dependencyMathias Hall-Andersen3-52/+4
2019-12-09FormattingMathias Hall-Andersen9-42/+45
2019-12-09Move to run queueMathias Hall-Andersen8-250/+477
2019-12-06Fixed inbound job bug (add to sequential queue)Mathias Hall-Andersen9-168/+239
2019-12-03Moving away from peer threadsMathias Hall-Andersen8-405/+635
2019-11-25Enable up/down from configuration interfaceMathias Hall-Andersen1-4/+4
2019-11-24Make IO traits suitable for Tun events (up/down)Mathias Hall-Andersen4-20/+20
2019-11-21Clean dependencies and importsMathias Hall-Andersen2-11/+10
2019-11-18Better compartmentalization of cryptokey routerMathias Hall-Andersen6-185/+395
2019-11-18Bug fixes from compliance tests with WireGuardMathias Hall-Andersen4-12/+35
2019-11-06Implement disable/enable timersMathias Hall-Andersen3-23/+29
2019-11-04Work on Up/Down operation on WireGuard deviceMathias Hall-Andersen3-46/+57
2019-11-02Work on configuration interfaceMathias Hall-Andersen2-7/+7
2019-10-31Work on timer semanticsMathias Hall-Andersen5-32/+40
2019-10-30Remove unused dependenciesMathias Hall-Andersen2-4/+17
2019-10-30Change router job to accommodate keep_key_freshMathias Hall-Andersen4-135/+139
2019-10-29Unified use of make_packet during testsMathias Hall-Andersen5-111/+122
2019-10-28First full test of pure WireGuardMathias Hall-Andersen4-20/+14
2019-10-23Moved IO traits into platform moduleMathias Hall-Andersen4-10/+10
2019-10-16Work on porting timer semantics and linux platformMathias Hall-Andersen4-31/+31
2019-10-13Work on Linux platform codeMathias Hall-Andersen10-0/+1881