Commit graph

243 commits

Author SHA1 Message Date
Tilo Spannagel
af803ffc6a Update to smoltcp 0.8.0 2021-12-20 02:16:40 +00:00
Tilo Spannagel
40d7c18c85 Update pretty_env_logger to 0.4.0 2021-12-20 01:42:33 +00:00
Tilo Spannagel
67610929bc Remove build-binary feaure from boringtun 2021-12-20 01:41:02 +00:00
Tilo Spannagel
201d7c1ee6 Run cargo update 2021-12-20 01:39:23 +00:00
Tilo Spannagel
bc39fd6306 Pin smoltcp to commit 2021-12-20 01:28:58 +00:00
Tilo Spannagel
5ae1dca598 Pin boringtun to commit 2021-12-20 01:27:39 +00:00
ff97db3b44
Update README.md 2021-10-28 20:25:21 -04:00
c50fe8233a Wireguard -> WireGuard 2021-10-26 03:05:03 -04:00
83a5d01cc8 release: v0.2.1 2021-10-26 02:56:33 -04:00
23b651fb4b
Merge pull request #20 from aramperes/19-private-key-safety 2021-10-26 01:54:08 -05:00
75d6a0a11c Allow passing private key using file.
Adds warning about passing key directly in CLI.
On *nix systems, checks file permissions for warnings.

Fixes #19
2021-10-26 02:49:14 -04:00
7545c7a3a8 release: v0.2.0 2021-10-26 01:50:48 -04:00
1ed555a98c
Merge pull request #16 from aramperes/1-udp 2021-10-26 00:50:20 -05:00
4ecf16bc3f Update readme 2021-10-26 01:47:48 -04:00
1493feb184 Reduce udp client socket meta buffer 2021-10-26 01:20:02 -04:00
0da6fa51de udp: use tokio select instead of 1ms loop 2021-10-26 00:38:22 -04:00
faf157cfeb UDP port re-use during flooding 2021-10-26 00:03:44 -04:00
d975efefaf End-to-end UDP implementation
Port re-use still needs to be implemented to prevent exhaustion over
time, and flooding.
2021-10-25 19:05:42 -04:00
1bb1b448be
Merge pull request #18 from aramperes/logo 2021-10-20 21:49:38 -05:00
f40e1f8e53 Add logo
Co-authored-by: BorysSerbyn <borys.serbyn@gmail.com>
2021-10-20 22:48:35 -04:00
282d4f48eb Checkpoint 2021-10-20 19:04:56 -04:00
fb50ee7113 UDP virtual interface skeleton 2021-10-20 18:06:35 -04:00
cc91cce169 Basic UDP port pool 2021-10-20 16:49:24 -04:00
11c5ec99fd Replace lockfree with tokio::sync 2021-10-20 16:05:04 -04:00
5cec6d4943 Index ports with protocol in WG. Start writing UDP tunnel code with plans. 2021-10-19 01:55:04 -04:00
703f261344 Move TCP tunneling code to separate module 2021-10-19 01:00:05 -04:00
c2d0b9719a Refactor TCP virtual interface code out of main. Removed unused server socket buffer. 2021-10-19 00:43:59 -04:00
070c0f5162 Use Vec instead of static mut for socket storage. Update smoltcp to fix #17 2021-10-18 22:13:13 -04:00
dbced52070 Attempt reconnection in virtual client 2021-10-18 06:04:02 -04:00
ed835c47d3 Spawn tunnels in entirely separate threads 2021-10-18 03:54:13 -04:00
651ddaec49 Implement port-forwarder configuration parsing 2021-10-18 02:57:52 -04:00
cb09bb8857 WIP on UDP and multi-port-forward support 2021-10-17 21:57:45 -04:00
c4a5e634ab release: v0.1.11 2021-10-16 23:36:46 -04:00
9da88a0d46 Close interface after server FIN; no more data to send.
Potential fix for #14
2021-10-16 23:34:55 -04:00
87f3023f8b release: v0.1.10 2021-10-16 21:12:51 -04:00
5e6cfe8955 Don't break TCP connection until all data is flushed
Potential fix for #14
2021-10-16 21:12:14 -04:00
479297f64d release: v0.1.9 2021-10-16 20:53:43 -04:00
43c07c4691 Add simpler use-cast to README 2021-10-16 20:53:05 -04:00
fa92c75497 Attempt to not cause graceful shutdown too quickly 2021-10-16 20:45:17 -04:00
a70e57ff1d release: v0.1.8 2021-10-16 19:47:42 -04:00
ce3b23e562
Merge pull request #13 from aramperes/12-simultaneous 2021-10-16 19:47:05 -04:00
4b370b163c Reword readme 2021-10-16 19:46:53 -04:00
84fbcd4fad Clean-up unused code for TCP RST 2021-10-16 19:43:27 -04:00
2bcb9e714b Implement IP sink interface 2021-10-16 19:38:47 -04:00
cfdbdc8f51 Remove broadcasting logic to fix simultaneous connection issues. 2021-10-16 19:16:10 -04:00
b6739a5066 release: v0.1.7 2021-10-16 17:04:00 -04:00
07edf9d2da Remove unnecessary (and expensive) logic to stack packets together 2021-10-16 17:00:33 -04:00
0981888a1a release: v0.1.6 2021-10-16 16:39:33 -04:00
4c7a618fae Remove unused dependency 2021-10-16 16:36:51 -04:00
5debcca268 Fix numerous issues with fragmentation of large packets. 2021-10-16 16:34:19 -04:00