diff --git a/Cargo.lock b/Cargo.lock index 63beddf..f679eb4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -128,7 +128,7 @@ dependencies = [ [[package]] name = "client" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" dependencies = [ "anyhow", "clap", @@ -644,7 +644,7 @@ dependencies = [ [[package]] name = "netlink-request" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" dependencies = [ "netlink-packet-core", "netlink-packet-generic", @@ -929,7 +929,7 @@ dependencies = [ [[package]] name = "server" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" dependencies = [ "anyhow", "bytes", @@ -964,7 +964,7 @@ dependencies = [ [[package]] name = "shared" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" dependencies = [ "anyhow", "atty", @@ -1345,7 +1345,7 @@ checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" [[package]] name = "wireguard-control" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" dependencies = [ "base64", "curve25519-dalek", diff --git a/README.md b/README.md index 4f0e8a4..69f69ce 100644 --- a/README.md +++ b/README.md @@ -214,10 +214,10 @@ brew install tonarino/innernet/innernet ```sh # 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: -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. diff --git a/client/Cargo.toml b/client/Cargo.toml index 58decee..1922b3f 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT" name = "client" publish = false repository = "https://github.com/tonarino/innernet" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" [[bin]] name = "innernet" diff --git a/doc/innernet-server.8 b/doc/innernet-server.8 index 207504a..fa6d8f2 100644 --- a/doc/innernet-server.8 +++ b/doc/innernet-server.8 @@ -1,9 +1,9 @@ .\" 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 -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 -innernet\-server 1.5.4\-beta.4 +innernet\-server 1.5.4\-beta.5 Jake McGinty A server to coordinate innernet networks. .SS "USAGE:" @@ -27,8 +27,7 @@ auto\-select based on availability [default: kernel] [possible values: kernel, userspace] .TP \fB\-\-mtu\fR -Specify the desired MTU for your interface (default: 1420 for -IPv4 and 1400 for IPv6) +Specify the desired MTU for your interface (default: 1280) .TP \fB\-h\fR, \fB\-\-help\fR Print help information diff --git a/doc/innernet-server.8.gz b/doc/innernet-server.8.gz index 68e7101..60610b8 100644 Binary files a/doc/innernet-server.8.gz and b/doc/innernet-server.8.gz differ diff --git a/doc/innernet-server.completions.bash b/doc/innernet-server.completions.bash index 03df9be..720d6c9 100644 --- a/doc/innernet-server.completions.bash +++ b/doc/innernet-server.completions.bash @@ -69,7 +69,7 @@ _innernet-server() { return 0 ;; --backend) - COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}")) + COMPREPLY=($(compgen -W "" -- "${cur}")) return 0 ;; --mtu) @@ -253,7 +253,7 @@ _innernet-server() { fi case "${prev}" in --backend) - COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}")) + COMPREPLY=($(compgen -W "" -- "${cur}")) return 0 ;; --mtu) diff --git a/doc/innernet-server.completions.elvish b/doc/innernet-server.completions.elvish index 3d44813..f3967dc 100644 --- a/doc/innernet-server.completions.elvish +++ b/doc/innernet-server.completions.elvish @@ -23,7 +23,7 @@ set edit:completion:arg-completer[innernet-server] = {|@words| cand -d 'd' cand --data-dir 'data-dir' 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 --help 'Print help information' cand -V 'Print version information' @@ -54,7 +54,7 @@ set edit:completion:arg-completer[innernet-server] = {|@words| } &'innernet-server;serve'= { 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 -h 'Print help information' cand --help 'Print help information' diff --git a/doc/innernet-server.completions.fish b/doc/innernet-server.completions.fish index dd7dde2..b5577d9 100644 --- a/doc/innernet-server.completions.fish +++ b/doc/innernet-server.completions.fish @@ -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 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 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 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' @@ -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 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 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" -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 diff --git a/doc/innernet-server.completions.powershell b/doc/innernet-server.completions.powershell index 0ac5503..d1d916e 100644 --- a/doc/innernet-server.completions.powershell +++ b/doc/innernet-server.completions.powershell @@ -26,7 +26,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock { [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'd') [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('--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('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information') @@ -60,7 +60,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock { } '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('--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('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') diff --git a/doc/innernet-server.completions.zsh b/doc/innernet-server.completions.zsh index fe2894f..1747495 100644 --- a/doc/innernet-server.completions.zsh +++ b/doc/innernet-server.completions.zsh @@ -20,7 +20,7 @@ _innernet-server() { '-d+[]: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)' \ -'--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]' \ '--help[Print help information]' \ '-V[Print version information]' \ @@ -56,7 +56,7 @@ _arguments "${_arguments_options[@]}" \ (serve) _arguments "${_arguments_options[@]}" \ '--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]' \ '-h[Print help information]' \ '--help[Print help information]' \ diff --git a/doc/innernet.8 b/doc/innernet.8 index be366c5..fecefa1 100644 --- a/doc/innernet.8 +++ b/doc/innernet.8 @@ -1,9 +1,9 @@ .\" 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 -innernet \- manual page for innernet 1.5.4-beta.4 +innernet \- manual page for innernet 1.5.4-beta.5 .SH DESCRIPTION -innernet 1.5.4\-beta.4 +innernet 1.5.4\-beta.5 Jake McGinty A client to manage innernet network interfaces. .SS "USAGE:" @@ -30,8 +30,7 @@ auto\-select based on availability [default: kernel] [possible values: kernel, userspace] .TP \fB\-\-mtu\fR -Specify the desired MTU for your interface (default: 1420 for -IPv4 and 1400 for IPv6) +Specify the desired MTU for your interface (default: 1280) .TP \fB\-h\fR, \fB\-\-help\fR Print help information diff --git a/doc/innernet.8.gz b/doc/innernet.8.gz index 659e2a1..f101c19 100644 Binary files a/doc/innernet.8.gz and b/doc/innernet.8.gz differ diff --git a/doc/innernet.completions.bash b/doc/innernet.completions.bash index d25d6c2..5a22750 100644 --- a/doc/innernet.completions.bash +++ b/doc/innernet.completions.bash @@ -102,7 +102,7 @@ _innernet() { return 0 ;; --backend) - COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}")) + COMPREPLY=($(compgen -W "" -- "${cur}")) return 0 ;; --mtu) diff --git a/doc/innernet.completions.elvish b/doc/innernet.completions.elvish index 6416427..d088c18 100644 --- a/doc/innernet.completions.elvish +++ b/doc/innernet.completions.elvish @@ -23,7 +23,7 @@ set edit:completion:arg-completer[innernet] = {|@words| cand -d 'd' cand --data-dir 'data-dir' 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 --help 'Print help information' cand -V 'Print version information' diff --git a/doc/innernet.completions.fish b/doc/innernet.completions.fish index 124bbdb..fbac7ad 100644 --- a/doc/innernet.completions.fish +++ b/doc/innernet.completions.fish @@ -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 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 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 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' diff --git a/doc/innernet.completions.powershell b/doc/innernet.completions.powershell index 7395da1..c6e2de7 100644 --- a/doc/innernet.completions.powershell +++ b/doc/innernet.completions.powershell @@ -26,7 +26,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock { [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'd') [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('--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('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information') diff --git a/doc/innernet.completions.zsh b/doc/innernet.completions.zsh index 854d3e4..81a3c0d 100644 --- a/doc/innernet.completions.zsh +++ b/doc/innernet.completions.zsh @@ -20,7 +20,7 @@ _innernet() { '-d+[]: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)' \ -'--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]' \ '--help[Print help information]' \ '-V[Print version information]' \ diff --git a/netlink-request/Cargo.toml b/netlink-request/Cargo.toml index 3877963..cf202d6 100644 --- a/netlink-request/Cargo.toml +++ b/netlink-request/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "netlink-request" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" edition = "2021" [target.'cfg(target_os = "linux")'.dependencies] diff --git a/server/Cargo.toml b/server/Cargo.toml index ec932c3..aeaea4d 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" name = "server" publish = false readme = "README.md" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" [[bin]] name = "innernet-server" diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 155c12e..9cee3d8 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT" name = "shared" publish = false -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" [dependencies] anyhow = "1" diff --git a/wireguard-control/Cargo.toml b/wireguard-control/Cargo.toml index e976ef8..f36c73c 100644 --- a/wireguard-control/Cargo.toml +++ b/wireguard-control/Cargo.toml @@ -7,7 +7,7 @@ license = "LGPL-2.1-or-later" name = "wireguard-control" readme = "README.md" repository = "https://github.com/tonarino/innernet" -version = "1.5.4-beta.4" +version = "1.5.4-beta.5" [dependencies] base64 = "0.13"