aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-13Allows for erroneous Clippy lintsHEADmasterMathias Hall-Andersen6-14/+25
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
2021-01-05Upgrade dependenciesMathias Hall-Andersen4-30/+34
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
2020-10-08Fix some clippy warningsQuang Luong16-88/+66
Signed-off-by: Quang Luong <quangio@outlook.com>
2020-06-19Replace RwLock<HashMap> with DashMap in handshakeMathias Hall-Andersen3-29/+36
2020-06-14Added architecture illustration.Mathias Hall-Andersen2-43/+36
2020-06-11Prevent lock guard from being dropped prematurelyJanito Vaqueiro Ferreira Filho1-2/+2
Signed-off-by: Janito Vaqueiro Ferreira Filho <janito@mullvad.net>
2020-05-22Enable wireguard-rs to build on stable.Mathias Hall-Andersen3-5/+14
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-Andersen4-51/+31
2020-05-10Refactoring timer code:Mathias Hall-Andersen7-160/+171
- Remove the Events struct - Implement Callbacks on the PeerInner, elimiting an Arc.
2020-03-29Added checks for zero shared-secretMathias Hall-Andersen3-12/+41
To mirror the behavior from the kernel module, as per private correspondence with Jason.
2020-03-29Restructuring and dependency version bump.Mathias Hall-Andersen16-130/+510
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-Andersen6-64/+77
2020-02-20More comprehensive unit tests for routerMathias Hall-Andersen9-563/+625
2020-02-16Simplified router codeMathias Hall-Andersen15-826/+638
2020-02-16Fixed EINVAL on read4/6 from invalid namelenMathias Hall-Andersen4-12/+15
2020-02-12Bumped crate versions.Mathias Hall-Andersen6-23/+58
2020-02-01Squashed commit of the following:Mathias Hall-Andersen11-246/+277
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-Andersen4-24/+64
2019-12-26Remove unused under_load codeMathias Hall-Andersen2-18/+10
2019-12-26Make under_load global for WireGuard deviceMathias Hall-Andersen9-323/+61
2019-12-21Remove unused test code.Mathias Hall-Andersen9-459/+478
- 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-Andersen14-86/+43
2019-12-16Revert to crossbeamMathias Hall-Andersen5-45/+18
2019-12-14Added profiler featureMathias Hall-Andersen9-42/+92
2019-12-10Remove crossbeam dependencyMathias Hall-Andersen7-71/+84
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-Andersen10-207/+289
2019-12-03Moving away from peer threadsMathias Hall-Andersen11-407/+638
2019-11-27Work on netlink IF event code for LinuxMathias Hall-Andersen3-85/+157
2019-11-25Enable up/down from configuration interfaceMathias Hall-Andersen3-13/+15
2019-11-24Make IO traits suitable for Tun events (up/down)Mathias Hall-Andersen9-53/+77
2019-11-21DaemonizationMathias Hall-Andersen3-4/+4
2019-11-21Clean dependencies and importsMathias Hall-Andersen4-15/+21
2019-11-18Better compartmentalization of cryptokey routerMathias Hall-Andersen6-185/+395
2019-11-18Bug fixes from compliance tests with WireGuardMathias Hall-Andersen11-230/+291
2019-11-17Update configuration APIMathias Hall-Andersen5-16/+25
2019-11-15Update UAPI semantics for removeMathias Hall-Andersen2-8/+5
2019-11-11Work on UAPI serialize deviceMathias Hall-Andersen2-1/+4
2019-11-08Removal of secret key in the handshake moduleMathias Hall-Andersen6-169/+190
2019-11-06Implement disable/enable timersMathias Hall-Andersen6-88/+138
2019-11-04Work on Up/Down operation on WireGuard deviceMathias Hall-Andersen7-143/+261
2019-11-03Work on UAPI parserMathias Hall-Andersen2-16/+10
2019-11-02Work on configuration interfaceMathias Hall-Andersen5-9/+43
2019-10-31Add derived_sessionMathias Hall-Andersen2-8/+19
2019-10-31Work on timer semanticsMathias Hall-Andersen10-80/+181
2019-10-30Remove unused dependenciesMathias Hall-Andersen3-5/+18