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
9270b9662a
meta: cargo update
2022-02-05 04:16:50 +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
a7f7204bd7
meta: cargo update
2022-02-03 01:55:34 +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
b6ce16bc00
server: add better validation to the associations endpoint ( #194 )
2022-02-01 13:53:31 +09:00
Jake McGinty
54131b4447
actions: use Swatinem/rust-cache for simpler build caching
2022-01-31 22:42:26 -06:00
Jake McGinty
110bace5c7
client: enable IPv6 NAT candidate reporting ( #192 )
2022-02-01 12:21:31 +09:00
Jake McGinty
55222fa3b6
meta: optimize release binary for size
...
saves over 2MB of total post-strip binary size on linux
2022-02-01 12:00:29 +09:00
Jake McGinty
3055eb7a78
netlink-request: remove unused dependency
2022-02-01 06:34:29 +09:00
Jake McGinty
2cb530762c
wireguard-control: go back to using upstream netlink
2022-02-01 05:40:49 +09:00
Jake McGinty
061c6539e1
actions: remove RPM build step
...
It seems to be broken, and I'm not sure if anyone's actually using it.
2022-02-01 05:08:55 +09:00
Jake McGinty
4715cd0c87
meta: release v1.5.3
2022-02-01 04:56:11 +09:00
Jake McGinty
49aaa3907a
meta: cargo update
2022-02-01 04:27:24 +09:00
Jake McGinty
050ce1362a
meta: fix new cargo clippy warnings
2022-02-01 04:20:21 +09:00
Jake McGinty
ddac328ae5
client: make more commands automation-friendly
...
Fixes #190
2022-01-31 06:10:45 +00:00
Jake McGinty
e11b73972c
client: stop uninstall from prompting if network doesn't exist
2022-01-24 01:46:37 +00:00
Jake McGinty
4000d84648
meta: release v1.5.3-beta.5
2022-01-22 18:08:31 +00:00
Jake McGinty
9585289344
meta: cargo update
2022-01-22 18:07:12 +00:00
Jake McGinty
d796cb54bf
hostsfile: safely overwrite hosts file instead of clobbering ( #186 )
...
fixes #183
2022-01-22 16:24:44 +09:00
Jake McGinty
d8cda216c8
meta: cargo update
2022-01-21 17:26:24 -05:00
Jake McGinty
f7e19e686c
shared: remove structopt dependency
2022-01-18 12:42:09 -06:00
Jake McGinty
7d5ad8e078
wireguard-control: style tweak
2022-01-18 12:40:01 -06:00
Jake McGinty
16ac280807
meta: release v1.5.3-beta.4
2022-01-18 15:56:36 +09:00
Jake McGinty
9829b4b3e9
wireguard-control: correctness fix in ApplyPayload
...
fixes #188
2022-01-18 15:55:19 +09:00
Jake McGinty
b53376b9c8
meta: release v1.5.3-beta.3
2022-01-18 15:19:53 +09:00
Jake McGinty
4a682f8adc
wireguard-control: cargo fmt
2022-01-18 15:19:40 +09:00
Jake McGinty
c80fe23e1c
meta: cargo update
2022-01-18 15:19:16 +09:00
Jake McGinty
b09d12225b
wireguard-control: gracefully handle multiple Peers NLAs
...
Fixes #187
2022-01-18 15:12:22 +09:00
Jake McGinty
ce23bbdf63
meta: release v1.5.3-beta.2
2022-01-12 16:31:31 -06:00
Jake McGinty
cf72456484
meta: cargo update
2022-01-12 16:31:03 -06:00
Jake McGinty
44aceb109c
wireguard-control: cargo fmt
2022-01-12 16:26:11 -06:00
Jake McGinty
dc40e20fcf
wireguard-control: support multipart wireguard responses
...
previously, any messages beyond the first were ignored, so
innernet wouldn't be aware of all peers on the interface.
fixes #187
2022-01-12 16:22:02 -06:00
Jake McGinty
6541605319
wireguard-control: add log crate dependency to allow debug output
2022-01-12 16:15:05 -06:00
Jake McGinty
fa24aedd1f
netlink-request: don't include Done and Ack messages in response
2022-01-12 15:56:56 -06:00
Jake McGinty
b15b541669
meta: release v1.5.3-beta.1
2022-01-11 14:18:19 -06:00
Matěj Laitl
1b260823f9
client, server systemd units: make Restart=always truly respected ( #184 )
...
Surprisingly, Restart=always may not _always_ restart the unit if it restarts too fast.
Set a combination of options which should make systemd truly restart innernet always.
See https://unix.stackexchange.com/q/289629/352972 .
The `RestartSec=60` is the main and important one which would prevent systemd from ever failing
to restart innernet in the default settings (because with it it would never exceed the default
limit of 5 restarts in 10 seconds).
`StartLimitIntervalSec=0` option is a complementary one for explicitly disabling the logic, and
may be removed from this PR if deemed unnecessary.
2022-01-12 04:58:28 +09:00
Jake McGinty
160451c8e5
meta: cargo update
2022-01-11 02:02:05 -06:00
Jake McGinty
0423e78683
server: cargo fmt
2022-01-11 01:54:59 -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
97a49c5c0e
netlink-request: match semver with rest of the project
2022-01-11 01:17:24 -06:00
Jake McGinty
a919a7ff52
release: update release.toml for latest cargo-release
2022-01-11 01:14:15 -06:00
Jake McGinty
e04bd26743
wireguard-control: correct the target genl payload length
2022-01-11 01:04:14 -06:00
Jake McGinty
9fbc0c5f1b
netlink-request: print out packet that was oversized for debugging
2022-01-11 00:25:19 -06:00