Matěj Laitl
103896dd88
Fix rand_core dependency, cargo update
...
Should fix #242 .
We depend on `getrandom` feature of `rand_core`, but we weren't specifying that.
It worked because `curve25519-dalek 4.0.0-pre.2` was pulling the `getrandom` feature of `rand_core`, but after updating it to `4.0.0-pre.5` it stopped pulling `rand_core` altogether.
After the cargo-update, all out dependencies are on their newest version, sans clap 3.2, which could be updated to 4.0. It has quite some breaking API changes, so I'll leave that for a separate PR.
2023-01-13 14:31:45 +09:00
Matěj Laitl
90c03de835
Update Ubuntu dependencies to fix CI
...
I was not sure what version to use as Ubuntu jammy has clang 11, 12, 13 and 14 (!). I stayed conservative.
2023-01-03 22:42:50 +01:00
Matěj Laitl
2859684864
cargo clippy --fix --all-targets (clippy 1.66)
...
This is exclusively (if I look correctly) redundant referencing.
2023-01-03 22:42:50 +01:00
Matěj Laitl
0062421426
README: clarify that we're no longer building .deb and RPM
...
...and say that we're looking for help.
Relates to #203 (main issue), #197 , #202 , #212 , #227 , #236 , #237 .
2022-12-01 12:18:09 +01:00
Matěj Laitl
00c2b3c6a1
CI: use stable clippy
...
Using nightly one leads to having to resolve lints more frequently than rust releases, which is
getting inconvenient.
It also leads to a small compatibility issue with stable clippy: if we need to #[allow] a lint that
is only present in nightly clippy, then stable clippy complains about unknown ling in the `allow`.
2022-12-01 10:29:48 +01:00
Jake McGinty
eac6071d7a
meta: release v1.5.5
2022-09-23 23:16:35 -05:00
Jake McGinty
f36eb301ce
server: fix clippy nit in linux-only code
2022-09-23 23:07:57 -05:00
Jake McGinty
1aa16c84f5
actions: add missing clippy component for nightly
2022-09-24 13:01:56 +09:00
Jake McGinty
f0fe19674c
actions: use nightly clippy
...
Doing this alongside nightly fmt makes sense to me, anyway.
2022-09-24 12:55:06 +09:00
Jake McGinty
b39b77aa5a
meta: appease clippy
2022-09-23 23:43:33 -04: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
Jakob-Niklas See
15594d4458
server: Implement disable-peer and enable-peer commands ( #226 )
...
* client: Update enable_or_disable_peer exit message to be more accurate
* server: Implement disable-peer and enable-peer commands
* server: Immediately apply enable- and disable-peer to device
2022-08-11 06:13:55 +09:00
Jake McGinty
047660733b
server: add link in comment for rusqlite musl workaround
2022-08-10 14:21:11 -06:00
P Stark
0fb0ac7ab1
server: statically link to sqlite3 when targeting musl ( #231 )
...
- fix #228
- the musl libc is used on Alpine, a minimal linux distribution commonly
used in docker images. It's also used on OpenWRT which might be of
interest to innernet.
2022-08-11 05:16:31 +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
Matěj Laitl
144c2f654e
Fix clippy warnings
...
Especially https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string was a bit
more involved, review requested.
2022-08-01 10:57:11 +02:00
Matěj Laitl
986a47fab3
Update sqlite dependencies + cargo update
...
Let's see if that helps with #228 .
2022-08-01 10:57:11 +02:00
Jon Prentice
43a9d51091
Added missing --yes flag to innernet-server uninstall command ( #221 )
2022-05-20 11:02:17 +09:00
Jake McGinty
50a4360746
meta: cargo update
2022-05-05 07:52:40 -05:00
Jake McGinty
0e75704538
meta: cargo update
2022-04-17 12:27:27 +09: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
65e556b517
wireguard-control: use latest curve25519-dalek
2022-02-18 10:56:53 +09:00
Jake McGinty
123977be34
meta: cargo update
2022-02-17 09:53:59 +09:00
Jake McGinty
ed4c6ea495
wireguard-control: use netlink-packet-wireguard 0.2
2022-02-15 02:34:21 +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
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