meta: release v1.5.4-beta.5

pull/202/head v1.5.4-beta.5
Jake McGinty 2022-03-15 11:15:56 +09:00
parent bb6bac3964
commit be8786a11c
21 changed files with 35 additions and 37 deletions

10
Cargo.lock generated
View File

@ -128,7 +128,7 @@ dependencies = [
[[package]] [[package]]
name = "client" name = "client"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -644,7 +644,7 @@ dependencies = [
[[package]] [[package]]
name = "netlink-request" name = "netlink-request"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
dependencies = [ dependencies = [
"netlink-packet-core", "netlink-packet-core",
"netlink-packet-generic", "netlink-packet-generic",
@ -929,7 +929,7 @@ dependencies = [
[[package]] [[package]]
name = "server" name = "server"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes", "bytes",
@ -964,7 +964,7 @@ dependencies = [
[[package]] [[package]]
name = "shared" name = "shared"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"atty", "atty",
@ -1345,7 +1345,7 @@ checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316"
[[package]] [[package]]
name = "wireguard-control" name = "wireguard-control"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
dependencies = [ dependencies = [
"base64", "base64",
"curve25519-dalek", "curve25519-dalek",

View File

@ -214,10 +214,10 @@ brew install tonarino/innernet/innernet
```sh ```sh
# to install innernet: # to install innernet:
cargo install --git https://github.com/tonarino/innernet --tag v1.5.4-beta.4 client cargo install --git https://github.com/tonarino/innernet --tag v1.5.4-beta.5 client
# to install innernet-server: # to install innernet-server:
cargo install --git https://github.com/tonarino/innernet --tag v1.5.4-beta.4 server cargo install --git https://github.com/tonarino/innernet --tag v1.5.4-beta.5 server
``` ```
Note that you'll be responsible for updating manually. Note that you'll be responsible for updating manually.

View File

@ -7,7 +7,7 @@ license = "MIT"
name = "client" name = "client"
publish = false publish = false
repository = "https://github.com/tonarino/innernet" repository = "https://github.com/tonarino/innernet"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
[[bin]] [[bin]]
name = "innernet" name = "innernet"

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH INNERNET-SERVER "8" "February 2022" "innernet-server 1.5.4-beta.4" "System Administration Utilities" .TH INNERNET-SERVER "8" "March 2022" "innernet-server 1.5.4-beta.5" "System Administration Utilities"
.SH NAME .SH NAME
innernet-server \- manual page for innernet-server 1.5.4-beta.4 innernet-server \- manual page for innernet-server 1.5.4-beta.5
.SH DESCRIPTION .SH DESCRIPTION
innernet\-server 1.5.4\-beta.4 innernet\-server 1.5.4\-beta.5
Jake McGinty <me@jake.su> Jake McGinty <me@jake.su>
A server to coordinate innernet networks. A server to coordinate innernet networks.
.SS "USAGE:" .SS "USAGE:"
@ -27,8 +27,7 @@ auto\-select based on availability [default: kernel] [possible
values: kernel, userspace] values: kernel, userspace]
.TP .TP
\fB\-\-mtu\fR <MTU> \fB\-\-mtu\fR <MTU>
Specify the desired MTU for your interface (default: 1420 for Specify the desired MTU for your interface (default: 1280)
IPv4 and 1400 for IPv6)
.TP .TP
\fB\-h\fR, \fB\-\-help\fR \fB\-h\fR, \fB\-\-help\fR
Print help information Print help information

Binary file not shown.

View File

@ -69,7 +69,7 @@ _innernet-server() {
return 0 return 0
;; ;;
--backend) --backend)
COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}")) COMPREPLY=($(compgen -W "" -- "${cur}"))
return 0 return 0
;; ;;
--mtu) --mtu)
@ -253,7 +253,7 @@ _innernet-server() {
fi fi
case "${prev}" in case "${prev}" in
--backend) --backend)
COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}")) COMPREPLY=($(compgen -W "" -- "${cur}"))
return 0 return 0
;; ;;
--mtu) --mtu)

View File

@ -23,7 +23,7 @@ set edit:completion:arg-completer[innernet-server] = {|@words|
cand -d 'd' cand -d 'd'
cand --data-dir 'data-dir' cand --data-dir 'data-dir'
cand --backend 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' cand --backend 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability'
cand --mtu 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)' cand --mtu 'Specify the desired MTU for your interface (default: 1280)'
cand -h 'Print help information' cand -h 'Print help information'
cand --help 'Print help information' cand --help 'Print help information'
cand -V 'Print version information' cand -V 'Print version information'
@ -54,7 +54,7 @@ set edit:completion:arg-completer[innernet-server] = {|@words|
} }
&'innernet-server;serve'= { &'innernet-server;serve'= {
cand --backend 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' cand --backend 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability'
cand --mtu 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)' cand --mtu 'Specify the desired MTU for your interface (default: 1280)'
cand --no-routing 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld' cand --no-routing 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld'
cand -h 'Print help information' cand -h 'Print help information'
cand --help 'Print help information' cand --help 'Print help information'

View File

@ -1,7 +1,7 @@
complete -c innernet-server -n "__fish_use_subcommand" -s c -l config-dir -r complete -c innernet-server -n "__fish_use_subcommand" -s c -l config-dir -r
complete -c innernet-server -n "__fish_use_subcommand" -s d -l data-dir -r complete -c innernet-server -n "__fish_use_subcommand" -s d -l data-dir -r
complete -c innernet-server -n "__fish_use_subcommand" -l backend -d 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' -r -f -a "{kernel ,userspace }" complete -c innernet-server -n "__fish_use_subcommand" -l backend -d 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' -r -f -a "{kernel ,userspace }"
complete -c innernet-server -n "__fish_use_subcommand" -l mtu -d 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)' -r complete -c innernet-server -n "__fish_use_subcommand" -l mtu -d 'Specify the desired MTU for your interface (default: 1280)' -r
complete -c innernet-server -n "__fish_use_subcommand" -s h -l help -d 'Print help information' complete -c innernet-server -n "__fish_use_subcommand" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_use_subcommand" -s V -l version -d 'Print version information' complete -c innernet-server -n "__fish_use_subcommand" -s V -l version -d 'Print version information'
complete -c innernet-server -n "__fish_use_subcommand" -l no-routing -d 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld' complete -c innernet-server -n "__fish_use_subcommand" -l no-routing -d 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld'
@ -22,7 +22,7 @@ complete -c innernet-server -n "__fish_seen_subcommand_from new" -l auto-externa
complete -c innernet-server -n "__fish_seen_subcommand_from new" -s h -l help -d 'Print help information' complete -c innernet-server -n "__fish_seen_subcommand_from new" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_seen_subcommand_from uninstall" -s h -l help -d 'Print help information' complete -c innernet-server -n "__fish_seen_subcommand_from uninstall" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_seen_subcommand_from serve" -l backend -d 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' -r -f -a "{kernel ,userspace }" complete -c innernet-server -n "__fish_seen_subcommand_from serve" -l backend -d 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' -r -f -a "{kernel ,userspace }"
complete -c innernet-server -n "__fish_seen_subcommand_from serve" -l mtu -d 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)' -r complete -c innernet-server -n "__fish_seen_subcommand_from serve" -l mtu -d 'Specify the desired MTU for your interface (default: 1280)' -r
complete -c innernet-server -n "__fish_seen_subcommand_from serve" -l no-routing -d 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld' complete -c innernet-server -n "__fish_seen_subcommand_from serve" -l no-routing -d 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld'
complete -c innernet-server -n "__fish_seen_subcommand_from serve" -s h -l help -d 'Print help information' complete -c innernet-server -n "__fish_seen_subcommand_from serve" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l name -d 'Name of new peer' -r complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l name -d 'Name of new peer' -r

View File

@ -26,7 +26,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock {
[CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'd') [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'd')
[CompletionResult]::new('--data-dir', 'data-dir', [CompletionResultType]::ParameterName, 'data-dir') [CompletionResult]::new('--data-dir', 'data-dir', [CompletionResultType]::ParameterName, 'data-dir')
[CompletionResult]::new('--backend', 'backend', [CompletionResultType]::ParameterName, 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability') [CompletionResult]::new('--backend', 'backend', [CompletionResultType]::ParameterName, 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability')
[CompletionResult]::new('--mtu', 'mtu', [CompletionResultType]::ParameterName, 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)') [CompletionResult]::new('--mtu', 'mtu', [CompletionResultType]::ParameterName, 'Specify the desired MTU for your interface (default: 1280)')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information') [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information')
@ -60,7 +60,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock {
} }
'innernet-server;serve' { 'innernet-server;serve' {
[CompletionResult]::new('--backend', 'backend', [CompletionResultType]::ParameterName, 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability') [CompletionResult]::new('--backend', 'backend', [CompletionResultType]::ParameterName, 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability')
[CompletionResult]::new('--mtu', 'mtu', [CompletionResultType]::ParameterName, 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)') [CompletionResult]::new('--mtu', 'mtu', [CompletionResultType]::ParameterName, 'Specify the desired MTU for your interface (default: 1280)')
[CompletionResult]::new('--no-routing', 'no-routing', [CompletionResultType]::ParameterName, 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld') [CompletionResult]::new('--no-routing', 'no-routing', [CompletionResultType]::ParameterName, 'Whether the routing should be done by innernet or is done by an external tool like e.g. babeld')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')

View File

@ -20,7 +20,7 @@ _innernet-server() {
'-d+[]:DATA_DIR: ' \ '-d+[]:DATA_DIR: ' \
'--data-dir=[]:DATA_DIR: ' \ '--data-dir=[]:DATA_DIR: ' \
'--backend=[Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability]:BACKEND:(kernel userspace)' \ '--backend=[Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability]:BACKEND:(kernel userspace)' \
'--mtu=[Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)]:MTU: ' \ '--mtu=[Specify the desired MTU for your interface (default: 1280)]:MTU: ' \
'-h[Print help information]' \ '-h[Print help information]' \
'--help[Print help information]' \ '--help[Print help information]' \
'-V[Print version information]' \ '-V[Print version information]' \
@ -56,7 +56,7 @@ _arguments "${_arguments_options[@]}" \
(serve) (serve)
_arguments "${_arguments_options[@]}" \ _arguments "${_arguments_options[@]}" \
'--backend=[Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability]:BACKEND:(kernel userspace)' \ '--backend=[Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability]:BACKEND:(kernel userspace)' \
'--mtu=[Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)]:MTU: ' \ '--mtu=[Specify the desired MTU for your interface (default: 1280)]:MTU: ' \
'--no-routing[Whether the routing should be done by innernet or is done by an external tool like e.g. babeld]' \ '--no-routing[Whether the routing should be done by innernet or is done by an external tool like e.g. babeld]' \
'-h[Print help information]' \ '-h[Print help information]' \
'--help[Print help information]' \ '--help[Print help information]' \

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH INNERNET "8" "February 2022" "innernet 1.5.4-beta.4" "System Administration Utilities" .TH INNERNET "8" "March 2022" "innernet 1.5.4-beta.5" "System Administration Utilities"
.SH NAME .SH NAME
innernet \- manual page for innernet 1.5.4-beta.4 innernet \- manual page for innernet 1.5.4-beta.5
.SH DESCRIPTION .SH DESCRIPTION
innernet 1.5.4\-beta.4 innernet 1.5.4\-beta.5
Jake McGinty <jake@tonari.no> Jake McGinty <jake@tonari.no>
A client to manage innernet network interfaces. A client to manage innernet network interfaces.
.SS "USAGE:" .SS "USAGE:"
@ -30,8 +30,7 @@ auto\-select based on availability [default: kernel] [possible
values: kernel, userspace] values: kernel, userspace]
.TP .TP
\fB\-\-mtu\fR <MTU> \fB\-\-mtu\fR <MTU>
Specify the desired MTU for your interface (default: 1420 for Specify the desired MTU for your interface (default: 1280)
IPv4 and 1400 for IPv6)
.TP .TP
\fB\-h\fR, \fB\-\-help\fR \fB\-h\fR, \fB\-\-help\fR
Print help information Print help information

Binary file not shown.

View File

@ -102,7 +102,7 @@ _innernet() {
return 0 return 0
;; ;;
--backend) --backend)
COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}")) COMPREPLY=($(compgen -W "" -- "${cur}"))
return 0 return 0
;; ;;
--mtu) --mtu)

View File

@ -23,7 +23,7 @@ set edit:completion:arg-completer[innernet] = {|@words|
cand -d 'd' cand -d 'd'
cand --data-dir 'data-dir' cand --data-dir 'data-dir'
cand --backend 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' cand --backend 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability'
cand --mtu 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)' cand --mtu 'Specify the desired MTU for your interface (default: 1280)'
cand -h 'Print help information' cand -h 'Print help information'
cand --help 'Print help information' cand --help 'Print help information'
cand -V 'Print version information' cand -V 'Print version information'

View File

@ -1,7 +1,7 @@
complete -c innernet -n "__fish_use_subcommand" -s c -l config-dir -r complete -c innernet -n "__fish_use_subcommand" -s c -l config-dir -r
complete -c innernet -n "__fish_use_subcommand" -s d -l data-dir -r complete -c innernet -n "__fish_use_subcommand" -s d -l data-dir -r
complete -c innernet -n "__fish_use_subcommand" -l backend -d 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' -r -f -a "{kernel ,userspace }" complete -c innernet -n "__fish_use_subcommand" -l backend -d 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability' -r -f -a "{kernel ,userspace }"
complete -c innernet -n "__fish_use_subcommand" -l mtu -d 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)' -r complete -c innernet -n "__fish_use_subcommand" -l mtu -d 'Specify the desired MTU for your interface (default: 1280)' -r
complete -c innernet -n "__fish_use_subcommand" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_use_subcommand" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_use_subcommand" -s V -l version -d 'Print version information' complete -c innernet -n "__fish_use_subcommand" -s V -l version -d 'Print version information'
complete -c innernet -n "__fish_use_subcommand" -s v -l verbose -d 'Verbose output, use -vv for even higher verbositude' complete -c innernet -n "__fish_use_subcommand" -s v -l verbose -d 'Verbose output, use -vv for even higher verbositude'

View File

@ -26,7 +26,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock {
[CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'd') [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'd')
[CompletionResult]::new('--data-dir', 'data-dir', [CompletionResultType]::ParameterName, 'data-dir') [CompletionResult]::new('--data-dir', 'data-dir', [CompletionResultType]::ParameterName, 'data-dir')
[CompletionResult]::new('--backend', 'backend', [CompletionResultType]::ParameterName, 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability') [CompletionResult]::new('--backend', 'backend', [CompletionResultType]::ParameterName, 'Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability')
[CompletionResult]::new('--mtu', 'mtu', [CompletionResultType]::ParameterName, 'Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)') [CompletionResult]::new('--mtu', 'mtu', [CompletionResultType]::ParameterName, 'Specify the desired MTU for your interface (default: 1280)')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information') [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information')

View File

@ -20,7 +20,7 @@ _innernet() {
'-d+[]:DATA_DIR: ' \ '-d+[]:DATA_DIR: ' \
'--data-dir=[]:DATA_DIR: ' \ '--data-dir=[]:DATA_DIR: ' \
'--backend=[Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability]:BACKEND:(kernel userspace)' \ '--backend=[Specify a WireGuard backend to use. If not set, innernet will auto-select based on availability]:BACKEND:(kernel userspace)' \
'--mtu=[Specify the desired MTU for your interface (default: 1420 for IPv4 and 1400 for IPv6)]:MTU: ' \ '--mtu=[Specify the desired MTU for your interface (default: 1280)]:MTU: ' \
'-h[Print help information]' \ '-h[Print help information]' \
'--help[Print help information]' \ '--help[Print help information]' \
'-V[Print version information]' \ '-V[Print version information]' \

View File

@ -1,6 +1,6 @@
[package] [package]
name = "netlink-request" name = "netlink-request"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
edition = "2021" edition = "2021"
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]

View File

@ -6,7 +6,7 @@ license = "MIT"
name = "server" name = "server"
publish = false publish = false
readme = "README.md" readme = "README.md"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
[[bin]] [[bin]]
name = "innernet-server" name = "innernet-server"

View File

@ -4,7 +4,7 @@ edition = "2021"
license = "MIT" license = "MIT"
name = "shared" name = "shared"
publish = false publish = false
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"

View File

@ -7,7 +7,7 @@ license = "LGPL-2.1-or-later"
name = "wireguard-control" name = "wireguard-control"
readme = "README.md" readme = "README.md"
repository = "https://github.com/tonarino/innernet" repository = "https://github.com/tonarino/innernet"
version = "1.5.4-beta.4" version = "1.5.4-beta.5"
[dependencies] [dependencies]
base64 = "0.13" base64 = "0.13"