meta: release v1.5.3

pull/192/head v1.5.3
Jake McGinty 2022-02-01 04:56:11 +09:00
parent 49aaa3907a
commit 4715cd0c87
16 changed files with 35 additions and 21 deletions

10
Cargo.lock generated
View File

@ -128,7 +128,7 @@ dependencies = [
[[package]] [[package]]
name = "client" name = "client"
version = "1.5.3-beta.5" version = "1.5.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -638,7 +638,7 @@ dependencies = [
[[package]] [[package]]
name = "netlink-request" name = "netlink-request"
version = "1.5.3-beta.5" version = "1.5.3"
dependencies = [ dependencies = [
"netlink-packet-core", "netlink-packet-core",
"netlink-packet-generic", "netlink-packet-generic",
@ -924,7 +924,7 @@ dependencies = [
[[package]] [[package]]
name = "server" name = "server"
version = "1.5.3-beta.5" version = "1.5.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes", "bytes",
@ -959,7 +959,7 @@ dependencies = [
[[package]] [[package]]
name = "shared" name = "shared"
version = "1.5.3-beta.5" version = "1.5.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"atty", "atty",
@ -1333,7 +1333,7 @@ checksum = "11d95421d9ed3672c280884da53201a5c46b7b2765ca6faf34b0d71cf34a3561"
[[package]] [[package]]
name = "wireguard-control" name = "wireguard-control"
version = "1.5.3-beta.5" version = "1.5.3"
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.3-beta.5 client cargo install --git https://github.com/tonarino/innernet --tag v1.5.3 client
# to install innernet-server: # to install innernet-server:
cargo install --git https://github.com/tonarino/innernet --tag v1.5.3-beta.5 server cargo install --git https://github.com/tonarino/innernet --tag v1.5.3 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.3-beta.5" version = "1.5.3"
[[bin]] [[bin]]
name = "innernet" name = "innernet"

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH INNERNET-SERVER "8" "January 2022" "innernet-server 1.5.3-beta.5" "System Administration Utilities" .TH INNERNET-SERVER "8" "February 2022" "innernet-server 1.5.3" "System Administration Utilities"
.SH NAME .SH NAME
innernet-server \- manual page for innernet-server 1.5.3-beta.5 innernet-server \- manual page for innernet-server 1.5.3
.SH DESCRIPTION .SH DESCRIPTION
innernet\-server 1.5.3\-beta.5 innernet\-server 1.5.3
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:"

Binary file not shown.

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH INNERNET "8" "January 2022" "innernet 1.5.3-beta.5" "System Administration Utilities" .TH INNERNET "8" "February 2022" "innernet 1.5.3" "System Administration Utilities"
.SH NAME .SH NAME
innernet \- manual page for innernet 1.5.3-beta.5 innernet \- manual page for innernet 1.5.3
.SH DESCRIPTION .SH DESCRIPTION
innernet 1.5.3\-beta.5 innernet 1.5.3
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:"

Binary file not shown.

View File

@ -117,7 +117,7 @@ _innernet() {
return 0 return 0
;; ;;
innernet__add__association) innernet__add__association)
opts="-h --help <INTERFACE> <CIDR1> <CIDR2>" opts="-h --yes --help <INTERFACE> <CIDR1> <CIDR2>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0 return 0
@ -209,7 +209,7 @@ _innernet() {
return 0 return 0
;; ;;
innernet__delete__association) innernet__delete__association)
opts="-h --help <INTERFACE>" opts="-h --yes --help <INTERFACE> <CIDR1> <CIDR2>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0 return 0
@ -453,7 +453,7 @@ _innernet() {
return 0 return 0
;; ;;
innernet__uninstall) innernet__uninstall)
opts="-h --help <INTERFACE>" opts="-h --yes --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0 return 0

View File

@ -95,6 +95,7 @@ set edit:completion:arg-completer[innernet] = {|@words|
cand --help 'Print help information' cand --help 'Print help information'
} }
&'innernet;uninstall'= { &'innernet;uninstall'= {
cand --yes 'Bypass confirmation'
cand -h 'Print help information' cand -h 'Print help information'
cand --help 'Print help information' cand --help 'Print help information'
} }
@ -150,10 +151,12 @@ set edit:completion:arg-completer[innernet] = {|@words|
cand --help 'Print help information' cand --help 'Print help information'
} }
&'innernet;add-association'= { &'innernet;add-association'= {
cand --yes 'Bypass confirmation'
cand -h 'Print help information' cand -h 'Print help information'
cand --help 'Print help information' cand --help 'Print help information'
} }
&'innernet;delete-association'= { &'innernet;delete-association'= {
cand --yes 'Bypass confirmation'
cand -h 'Print help information' cand -h 'Print help information'
cand --help 'Print help information' cand --help 'Print help information'
} }

View File

@ -52,6 +52,7 @@ complete -c innernet -n "__fish_seen_subcommand_from fetch" -l no-write-hosts -d
complete -c innernet -n "__fish_seen_subcommand_from fetch" -l no-nat-traversal -d 'Don\'t attempt NAT traversal. Note that this still will report candidates unless you also specify to exclude all NAT candidates' complete -c innernet -n "__fish_seen_subcommand_from fetch" -l no-nat-traversal -d 'Don\'t attempt NAT traversal. Note that this still will report candidates unless you also specify to exclude all NAT candidates'
complete -c innernet -n "__fish_seen_subcommand_from fetch" -l no-nat-candidates -d 'Don\'t report any candidates to coordinating server. Shorthand for --exclude-nat-candidates \'0.0.0.0/0\'' complete -c innernet -n "__fish_seen_subcommand_from fetch" -l no-nat-candidates -d 'Don\'t report any candidates to coordinating server. Shorthand for --exclude-nat-candidates \'0.0.0.0/0\''
complete -c innernet -n "__fish_seen_subcommand_from fetch" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from fetch" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from uninstall" -l yes -d 'Bypass confirmation'
complete -c innernet -n "__fish_seen_subcommand_from uninstall" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from uninstall" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from down" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from down" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from add-peer" -l name -d 'Name of new peer' -r complete -c innernet -n "__fish_seen_subcommand_from add-peer" -l name -d 'Name of new peer' -r
@ -79,7 +80,9 @@ complete -c innernet -n "__fish_seen_subcommand_from list-cidrs" -s t -l tree -d
complete -c innernet -n "__fish_seen_subcommand_from list-cidrs" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from list-cidrs" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from disable-peer" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from disable-peer" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from enable-peer" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from enable-peer" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from add-association" -l yes -d 'Bypass confirmation'
complete -c innernet -n "__fish_seen_subcommand_from add-association" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from add-association" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from delete-association" -l yes -d 'Bypass confirmation'
complete -c innernet -n "__fish_seen_subcommand_from delete-association" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from delete-association" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from list-associations" -s h -l help -d 'Print help information' complete -c innernet -n "__fish_seen_subcommand_from list-associations" -s h -l help -d 'Print help information'
complete -c innernet -n "__fish_seen_subcommand_from set-listen-port" -s l -l listen-port -d 'The listen port you\'d like to set for the interface' -r complete -c innernet -n "__fish_seen_subcommand_from set-listen-port" -s l -l listen-port -d 'The listen port you\'d like to set for the interface' -r

View File

@ -102,6 +102,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock {
break break
} }
'innernet;uninstall' { 'innernet;uninstall' {
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[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')
break break
@ -166,11 +167,13 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock {
break break
} }
'innernet;add-association' { 'innernet;add-association' {
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[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')
break break
} }
'innernet;delete-association' { 'innernet;delete-association' {
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[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')
break break

View File

@ -93,6 +93,7 @@ _arguments "${_arguments_options[@]}" \
;; ;;
(uninstall) (uninstall)
_arguments "${_arguments_options[@]}" \ _arguments "${_arguments_options[@]}" \
'--yes[Bypass confirmation]' \
'-h[Print help information]' \ '-h[Print help information]' \
'--help[Print help information]' \ '--help[Print help information]' \
':interface:' \ ':interface:' \
@ -175,6 +176,7 @@ _arguments "${_arguments_options[@]}" \
;; ;;
(add-association) (add-association)
_arguments "${_arguments_options[@]}" \ _arguments "${_arguments_options[@]}" \
'--yes[Bypass confirmation]' \
'-h[Print help information]' \ '-h[Print help information]' \
'--help[Print help information]' \ '--help[Print help information]' \
':interface:' \ ':interface:' \
@ -184,9 +186,12 @@ _arguments "${_arguments_options[@]}" \
;; ;;
(delete-association) (delete-association)
_arguments "${_arguments_options[@]}" \ _arguments "${_arguments_options[@]}" \
'--yes[Bypass confirmation]' \
'-h[Print help information]' \ '-h[Print help information]' \
'--help[Print help information]' \ '--help[Print help information]' \
':interface:' \ ':interface:' \
'::cidr1 -- The first cidr to associate:' \
'::cidr2 -- The second cidr to associate:' \
&& ret=0 && ret=0
;; ;;
(list-associations) (list-associations)

View File

@ -1,6 +1,6 @@
[package] [package]
name = "netlink-request" name = "netlink-request"
version = "1.5.3-beta.5" version = "1.5.3"
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.3-beta.5" version = "1.5.3"
[[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.3-beta.5" version = "1.5.3"
[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.3-beta.5" version = "1.5.3"
[dependencies] [dependencies]
base64 = "0.13" base64 = "0.13"