Jake McGinty
ebeac3db76
migrate from lazy_static to once_cell across project
2023-05-30 11:24:40 +02:00
Matěj Laitl
0dc92de722
Auto-apply clippy lint fixes from Rust 1.67
2023-02-05 03:13:54 +09:00
Jake McGinty
eac6071d7a
meta: release v1.5.5
2022-09-23 23:16:35 -05:00
Jake McGinty
eb5b5370df
meta: cargo update
2022-09-23 23:38:23 -04:00
Jake McGinty
e98c0659ef
meta: cargo fmt
2022-08-10 16:40:32 -06:00
Jake McGinty
1fb5874527
meta: appease clippy
2022-08-10 16:39:09 -06:00
Jake McGinty
c9dbeefaaa
shared: update nix to 0.24
2022-08-10 16:30:45 -06:00
Jake McGinty
55671ec80a
meta: cargo update
2022-08-10 15:58:46 -06:00
Richard Schneider
ca22927558
External endpoint IP prompt change ( #222 )
...
* Change phrasing of external IP address prompt
* Remove println! call in ask_endpoint
2022-08-11 06:16:12 +09:00
Ali MJ Al-Nasrawy
df3b4ae78f
avoid a rustc bug
...
context: https://github.com/rust-lang/rust/pull/98835
2022-08-01 13:43:43 +02:00
Jake McGinty
a6c918a581
meta: release v1.5.4
2022-03-16 18:17:37 +09:00
Jake McGinty
be8786a11c
meta: release v1.5.4-beta.5
2022-03-15 11:15:56 +09:00
Jake McGinty
bb6bac3964
meta: cargo fmt
2022-03-15 11:07:05 +09:00
Jake McGinty
5e645ef9f5
shared: set default mtu of 1280
2022-03-15 11:01:26 +09:00
Jake McGinty
e544391303
meta: update dependencies
2022-03-15 10:47:52 +09:00
Jake McGinty
3bfd81d8ed
meta: release v1.5.4-beta.4
2022-02-18 10:57:22 +09:00
Jake McGinty
c4c34d5c10
wireguard-control: {generate => get}_public()
2022-02-04 17:56:18 -06:00
Jake McGinty
80a070baae
meta: release v1.5.4-beta.3
2022-02-05 04:18:39 +09:00
Jake McGinty
9ba864be56
meta: cargo fmt
2022-02-05 04:18:05 +09:00
Jake McGinty
83e0750cde
client: set default MTU to 1412 for all interfaces
...
Since peer endpoints can be either IPv4 or IPv6, it doesn't make sense
to specify a default MTU that could only work with IPv4 based on only
the server's endpoint.
Setting to 1412 instead of 1420 in order to accomodate PPPoE peers,
which should fit most internet situations.
2022-02-05 04:15:28 +09:00
Jake McGinty
c7a2f7391c
meta: release v1.5.4-beta.2
2022-02-03 01:50:39 +09:00
Jake McGinty
6d26385ba3
client: re-attempt NAT traversal on all unconnected peers ( #195 )
...
fixes #173
2022-02-03 01:49:51 +09:00
Jake McGinty
f7df6bab01
meta: release v1.5.4-beta.1
2022-02-01 14:04:11 +09:00
Jake McGinty
a77cbb4f49
meta: switch from ipnetwork to ipnet ( #193 )
2022-02-01 14:01:21 +09:00
Jake McGinty
110bace5c7
client: enable IPv6 NAT candidate reporting ( #192 )
2022-02-01 12:21:31 +09:00
Jake McGinty
4715cd0c87
meta: release v1.5.3
2022-02-01 04:56:11 +09:00
Jake McGinty
ddac328ae5
client: make more commands automation-friendly
...
Fixes #190
2022-01-31 06:10:45 +00:00
Jake McGinty
4000d84648
meta: release v1.5.3-beta.5
2022-01-22 18:08:31 +00:00
Jake McGinty
f7e19e686c
shared: remove structopt dependency
2022-01-18 12:42:09 -06:00
Jake McGinty
16ac280807
meta: release v1.5.3-beta.4
2022-01-18 15:56:36 +09:00
Jake McGinty
b53376b9c8
meta: release v1.5.3-beta.3
2022-01-18 15:19:53 +09:00
Jake McGinty
ce23bbdf63
meta: release v1.5.3-beta.2
2022-01-12 16:31:31 -06:00
Jake McGinty
b15b541669
meta: release v1.5.3-beta.1
2022-01-11 14:18:19 -06:00
Jake McGinty
5c72592069
meta: rust edition 2018 -> 2021
2022-01-11 01:54:43 -06:00
Jake McGinty
8dd11977af
meta: structopt 0.3 -> clap 3
2022-01-11 01:51:32 -06:00
Jake McGinty
09e68c2c01
(linux) wireguard-control: migrate from `wireguard-control-sys` to `netlink` crates ( #177 )
...
also introduces a new `netlink-request` crate to help modularize the netlink code. this currently depends on a fork of the `netlink` project, but we should be able to use the official version soon.
2022-01-07 18:35:21 +09:00
Jake McGinty
6be3e61074
meta: release v1.5.2
2021-12-06 02:35:18 +09:00
Jake McGinty
ec754e60c4
client: non-interactive `set-listen-port` and `override-endpoint`
...
closes #158
2021-11-16 18:46:45 +09:00
Jake McGinty
ae2c554b23
{client, server}: make config/data directories configurable ( #172 )
...
* client: allow config/data dirs to be changed
* server: allow config/data dirs to be changed
* meta: cargo clippy & cargo fmt
* shared: use const for Duration instead of lazy_static
2021-11-15 18:11:13 +09:00
Jake McGinty
bce7af20ce
client: fix NAT traverse helptext
2021-11-14 10:24:25 +09:00
Jake McGinty
d7c491c8f3
client: granular control over NAT traversal
...
added to `innernet {up,fetch,install}`:
--no-nat-traversal: Doesn't attempt NAT traversal
(prevents long time delays in execution of command)
--exclude-nat-candidates: Exclude a list of CIDRs from being
considered candidates
--no-nat-candidates: Don't report NAT candidates.
(shorthand for '--exclude-nat-candidates 0.0.0.0/0')
Closes #160
2021-11-12 14:42:10 +09:00
Jake McGinty
9a59ac3094
meta: release v1.5.1
2021-11-11 18:42:21 +09:00
Jake McGinty
991c6435c1
client: wait after updating interface before attempting NAT traversal
...
otherwise, the server-reported IP itself won't have time to check
if a handshake succeeds or not.
2021-11-11 18:34:31 +09:00
Jake McGinty
b0d0ee8565
fix tests
2021-11-06 18:54:52 +09:00
Jake McGinty
d7cf24c63c
server: validate hostname in 'new'
...
fixes #164
2021-11-05 12:36:35 +09:00
Jake McGinty
17dd26921f
meta: update dependencies
2021-11-05 12:22:35 +09:00
Jake McGinty
c09d828414
shared: follow-up to bfa5d5e
, double- to single-quote in opt rustdocs
2021-09-21 12:50:21 +09:00
Jake McGinty
1b983d636d
meta: release v1.5.0
2021-09-17 14:18:09 +09:00
Jake McGinty
9b1315b079
meta: release v1.5.0-beta.5
2021-09-16 02:00:03 +09:00
Jake McGinty
cacd80b283
server: prompt for listen port before endpoint
...
also fix a logic bug if user cancels port selection in client
when trying to override endpoint.
fixes #148
2021-09-15 20:43:40 +09:00