Commit graph

104 commits

Author SHA1 Message Date
0e93a6435a chore: udpate to smoltcp 0.12 2024-12-01 15:22:37 -05:00
88ce124544 formatting 2024-12-01 12:03:51 -05:00
c86784ed70 log a better error regarding smoltcp max interface limit 2024-12-01 11:33:53 -05:00
56c950d159 Use bail when possible 2023-12-24 15:23:12 -05:00
ce40f85efa Cleanup usage of anyhow with_context 2023-12-24 15:06:22 -05:00
1d703facc0 Implement locking of Tunn in WireGuardTunnel 2023-12-24 14:42:34 -05:00
e23cfc3e7e Update to new x25519 primitives 2023-12-24 11:52:07 -05:00
10b88ccc60 cleanup: SockSet can be owned by static
ref: https://github.com/smoltcp-rs/smoltcp/pull/813
2023-12-24 11:23:58 -05:00
32f189e53a Revert virtual port for server socket 2023-12-23 21:01:35 -05:00
488a0e0807 remove AnyIP; fix IPv6 virtual addresses 2023-12-23 21:01:00 -05:00
ssrlive
38fc217a29 smoltcp version 0.10 applied 2023-12-23 20:22:01 -05:00
Luca Barbato
1613d2bb5c Bump clap version 2023-12-21 15:24:44 -05:00
731218d943 Fix new clippy warnings 2023-12-21 15:16:57 -05:00
1333ea8a7c Rename option to --preshared-key and add to README 2023-10-02 17:21:32 -04:00
6f143280d1 Pin older version of base64 for now 2023-10-02 17:07:37 -04:00
George Hopkins
653c314409 Support pre-shared key 2023-10-02 16:24:37 +02:00
fa634a08dc Fix a clippy warning 2023-01-12 01:43:32 -05:00
76b6a6e346 Use bytes 2023-01-12 01:40:04 -05:00
Jovan Gerodetti
fbc76e3fb0 Handle WireGuardError::ConnectionExpired #44 2022-09-25 22:34:03 +02:00
85195d8aba
Merge pull request #41 from samhug/stackoverflow
Fix stack overflow on windows
2022-08-20 09:17:14 -04:00
Kian-Meng Ang
074e1b430c Fix typos and markdowns
Found via these commands:

    codespell -L crate
    markdownlint -f README.md --disable MD013 MD033 MD041
2022-08-12 18:45:14 +08:00
Sam Hug
cea343c2c9 heap alloc WireGuardTunnel::consume_task() future 2022-08-11 15:32:24 -07:00
8cee210ccb Expose boringtun x25519 primitives 2022-06-25 14:38:08 -04:00
48eaf0f840 Allow onetun to be used as a library 2022-06-25 10:33:37 -04:00
f85692950f Split dependencies that are only used for the binary version of onetun 2022-06-24 01:45:31 -04:00
Jackson Coxson
4162f62ae6 Change the error message from host to bind 2022-06-23 23:14:57 -06:00
Jackson Coxson
9bd7ec2cca Simplify IP version detection 2022-06-23 23:11:45 -06:00
Jackson Coxson
1680b17c47 Correct binding terminoligy IP version detection 2022-06-23 23:10:48 -06:00
Jackson Coxson
96e18edd19 Invert logic for IP version mismatch 2022-06-23 23:10:11 -06:00
Jackson Coxson
c647bc9a96 Rename host_addr to endpoint_bind_addr 2022-06-23 23:01:32 -06:00
Jackson Coxson
3ab108ad04 Move host address resolution logic to config 2022-06-23 22:59:19 -06:00
Jackson Coxson
b108b5f404 Clarify help instructions for host binding 2022-06-23 22:47:33 -06:00
Jackson Coxson
5e94a0f31e Add host address binding option 2022-06-22 23:06:16 -06:00
73671a4d07 Add argument and env variable for remote port forwarding.
Part of #6
2022-06-21 18:38:55 -04:00
52aba0115d Fix new clippy lint 2022-03-27 17:14:18 -04:00
47c6c588d2 udp: remove extra socket iteration in virtual iface 2022-01-10 00:46:52 -05:00
782f5e74bf Apply TcpStream fix to UdpSocket as well 2022-01-10 00:35:14 -05:00
11f86c49d6 Ensure all bytes are written to TcpStream
Fixes #22
2022-01-09 22:52:48 -05:00
e06b6526b7 Process more than one UDP socket per poll 2022-01-08 17:49:07 -05:00
ff0f5b967e Add optional IP packet capture for WireGuard tunnel 2022-01-08 17:30:10 -05:00
953bc18279 Remove some clippy suppressions for udp files 2022-01-08 15:20:21 -05:00
d9bccb79e5 Process all TCP virtual client sockets in one poll 2022-01-08 15:11:59 -05:00
025c001abb Remove event tracing when reading from bus 2022-01-08 14:48:04 -05:00
2b18bd4ec3 Remove unused dependency. Improve trace logging perf. 2022-01-08 14:41:12 -05:00
abd9df6be4 Implement event-based UDP interface 2022-01-08 03:40:20 -05:00
51788c9557 Improve reliability using event-based synchronization 2022-01-08 02:18:51 -05:00
7b6229ca1e
Merge pull request #25 from tilosp/mtu 2021-12-20 15:02:37 -05:00
Tilo Spannagel
ce9cfce8fc Fix ipv6 endpoints 2021-12-20 17:39:01 +00:00
Tilo Spannagel
23af49dde5 Allow configuration of max transmission unit 2021-12-20 17:21:43 +00:00
d51144b693 Formatting 2021-12-20 02:19:54 -05:00