Mathias Hall-Andersen
d4f5d5b723
Fixed typo in under load code
2019-12-27 18:01:11 +01:00
Mathias Hall-Andersen
956c3f02d4
Remove unused under_load code
2019-12-26 23:45:34 +01:00
Mathias Hall-Andersen
bb0a8acea3
Make under_load global for WireGuard device
2019-12-26 22:55:33 +01:00
Mathias Hall-Andersen
aabefa5043
Remove unused test code.
...
- 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-21 00:17:31 +01:00
Mathias Hall-Andersen
f8f404c871
Constant renamed to be consistent with kernel WG
2019-12-16 16:53:23 +01:00
Mathias Hall-Andersen
22f978f014
Clean dead code
2019-12-16 16:37:16 +01:00
Mathias Hall-Andersen
fd3ba63e80
Revert to crossbeam
2019-12-16 15:26:15 +01:00
Mathias Hall-Andersen
c873528a55
Removed unused atexit
2019-12-14 13:40:00 +01:00
Mathias Hall-Andersen
e0db9861bc
Added profiler feature
2019-12-14 13:37:51 +01:00
Mathias Hall-Andersen
6566796387
Remove crossbeam dependency
2019-12-10 18:17:48 +01:00
Mathias Hall-Andersen
3b376cd6fb
Formatting
2019-12-09 13:38:08 +01:00
Mathias Hall-Andersen
d1350620be
Merge branch 'runq' of ssh://git.zx2c4.com/wireguard-rs into runq
2019-12-09 13:21:42 +01:00
Mathias Hall-Andersen
115fa574a8
Move to run queue
2019-12-09 13:21:12 +01:00
Mathias Hall-Andersen
00c1ea17d5
Remove futures from dependencies
2019-12-06 21:58:01 +01:00
Mathias Hall-Andersen
74e576a9c2
Fixed inbound job bug (add to sequential queue)
2019-12-06 21:45:21 +01:00
Mathias Hall-Andersen
5a7f762d6c
Moving away from peer threads
2019-12-03 21:49:08 +01:00
Mathias Hall-Andersen
549b2cf5d0
Close socket fd after getmtu ioctl
2019-11-28 09:52:59 +01:00
Mathias Hall-Andersen
68b04e8074
Fetch updated MTU on linux
2019-11-27 22:39:52 +01:00
Mathias Hall-Andersen
04f507556b
Work on netlink IF event code for Linux
2019-11-27 16:59:54 +01:00
Mathias Hall-Andersen
f228b6f98b
Enable up/down from configuration interface
2019-11-25 13:33:00 +01:00
Mathias Hall-Andersen
3bff078e3f
Make IO traits suitable for Tun events (up/down)
2019-11-24 18:41:43 +01:00
Mathias Hall-Andersen
dee23969f5
Daemonization
2019-11-21 17:12:00 +01:00
Mathias Hall-Andersen
92dbb4c46a
Clean dependencies and imports
2019-11-21 11:43:16 +01:00
Mathias Hall-Andersen
3ba0247634
Better compartmentalization of cryptokey router
2019-11-18 13:13:55 +01:00
Mathias Hall-Andersen
b1fbd7fbba
Bug fixes from compliance tests with WireGuard
2019-11-18 12:04:20 +01:00
Mathias Hall-Andersen
64707b0471
Update configuration API
2019-11-17 19:52:40 +01:00
Mathias Hall-Andersen
05710c455f
Update UAPI semantics for remove
2019-11-15 15:32:36 +01:00
Mathias Hall-Andersen
a85725eede
Initial version of full UAPI parser
2019-11-13 15:30:16 +01:00
Mathias Hall-Andersen
5b555a2e17
Work on UAPI serialize device
2019-11-11 23:13:46 +01:00
Mathias Hall-Andersen
2ff044dda9
Implemented UAPI "get" line-parser
2019-11-10 17:57:39 +01:00
Mathias Hall-Andersen
dd85201c15
Removal of secret key in the handshake module
2019-11-08 19:00:12 +01:00
Mathias Hall-Andersen
293914e47b
Implement disable/enable timers
2019-11-06 13:50:38 +01:00
Mathias Hall-Andersen
6ba40f17cb
Work on Up/Down operation on WireGuard device
2019-11-04 13:19:27 +01:00
Mathias Hall-Andersen
a0fa261a8a
Work on UAPI parser
2019-11-03 18:33:49 +01:00
Mathias Hall-Andersen
027d3d24d9
Work on configuration interface
2019-11-02 21:58:04 +01:00
Mathias Hall-Andersen
38cbe50223
Add derived_session
2019-10-31 19:17:20 +01:00
Mathias Hall-Andersen
b25c21885b
Work on timer semantics
2019-10-31 17:11:09 +01:00
Mathias Hall-Andersen
c413417196
Remove unused dependencies
2019-10-30 16:29:31 +01:00
Mathias Hall-Andersen
afc96611a5
Change router job to accommodate keep_key_fresh
2019-10-30 12:01:12 +01:00
Mathias Hall-Andersen
e04a11a8ca
Unified use of make_packet during tests
2019-10-29 16:53:59 +01:00
Mathias Hall-Andersen
4ff328b7da
First full test of pure WireGuard
2019-10-28 14:48:24 +01:00
Mathias Hall-Andersen
3e829c04d1
Fixed Ordering::Acquire -> Ordering::SeqCst typo
2019-10-23 14:14:08 +02:00
Mathias Hall-Andersen
8107973342
Work on pure WireGuard test
2019-10-23 14:00:21 +02:00
Mathias Hall-Andersen
ee3599d550
Moved IO traits into platform module
2019-10-23 12:08:35 +02:00
Mathias Hall-Andersen
3fa928b315
Work on platform specific code (Linux)
2019-10-23 10:32:18 +02:00
Mathias Hall-Andersen
2f3ceab036
Work on porting timer semantics and linux platform
2019-10-16 13:40:40 +02:00
Mathias Hall-Andersen
a08fd4002b
Work on Linux platform code
2019-10-13 22:26:12 +02:00
Mathias Hall-Andersen
6000cbf7e4
Port timer.c from WireGuard
2019-10-11 14:34:16 +02:00
Mathias Hall-Andersen
3d6e8f08a7
Enable adding TUN reader to WG interface
2019-10-11 12:57:24 +02:00
Mathias Hall-Andersen
7ce5415169
Start porting kernel timer semantics
2019-10-09 20:22:16 +02:00