parent
49aaa3907a
commit
4715cd0c87
|
@ -128,7 +128,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "client"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
@ -638,7 +638,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "netlink-request"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
dependencies = [
|
||||
"netlink-packet-core",
|
||||
"netlink-packet-generic",
|
||||
|
@ -924,7 +924,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "server"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bytes",
|
||||
|
@ -959,7 +959,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "shared"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"atty",
|
||||
|
@ -1333,7 +1333,7 @@ checksum = "11d95421d9ed3672c280884da53201a5c46b7b2765ca6faf34b0d71cf34a3561"
|
|||
|
||||
[[package]]
|
||||
name = "wireguard-control"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"curve25519-dalek",
|
||||
|
|
|
@ -214,10 +214,10 @@ brew install tonarino/innernet/innernet
|
|||
|
||||
```sh
|
||||
# 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:
|
||||
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.
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "client"
|
||||
publish = false
|
||||
repository = "https://github.com/tonarino/innernet"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
|
||||
[[bin]]
|
||||
name = "innernet"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
.\" 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
|
||||
innernet-server \- manual page for innernet-server 1.5.3-beta.5
|
||||
innernet-server \- manual page for innernet-server 1.5.3
|
||||
.SH DESCRIPTION
|
||||
innernet\-server 1.5.3\-beta.5
|
||||
innernet\-server 1.5.3
|
||||
Jake McGinty <me@jake.su>
|
||||
A server to coordinate innernet networks.
|
||||
.SS "USAGE:"
|
||||
|
|
Binary file not shown.
|
@ -1,9 +1,9 @@
|
|||
.\" 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
|
||||
innernet \- manual page for innernet 1.5.3-beta.5
|
||||
innernet \- manual page for innernet 1.5.3
|
||||
.SH DESCRIPTION
|
||||
innernet 1.5.3\-beta.5
|
||||
innernet 1.5.3
|
||||
Jake McGinty <jake@tonari.no>
|
||||
A client to manage innernet network interfaces.
|
||||
.SS "USAGE:"
|
||||
|
|
Binary file not shown.
|
@ -117,7 +117,7 @@ _innernet() {
|
|||
return 0
|
||||
;;
|
||||
innernet__add__association)
|
||||
opts="-h --help <INTERFACE> <CIDR1> <CIDR2>"
|
||||
opts="-h --yes --help <INTERFACE> <CIDR1> <CIDR2>"
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
|
@ -209,7 +209,7 @@ _innernet() {
|
|||
return 0
|
||||
;;
|
||||
innernet__delete__association)
|
||||
opts="-h --help <INTERFACE>"
|
||||
opts="-h --yes --help <INTERFACE> <CIDR1> <CIDR2>"
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
|
@ -453,7 +453,7 @@ _innernet() {
|
|||
return 0
|
||||
;;
|
||||
innernet__uninstall)
|
||||
opts="-h --help <INTERFACE>"
|
||||
opts="-h --yes --help <INTERFACE>"
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
|
|
|
@ -95,6 +95,7 @@ set edit:completion:arg-completer[innernet] = {|@words|
|
|||
cand --help 'Print help information'
|
||||
}
|
||||
&'innernet;uninstall'= {
|
||||
cand --yes 'Bypass confirmation'
|
||||
cand -h 'Print help information'
|
||||
cand --help 'Print help information'
|
||||
}
|
||||
|
@ -150,10 +151,12 @@ set edit:completion:arg-completer[innernet] = {|@words|
|
|||
cand --help 'Print help information'
|
||||
}
|
||||
&'innernet;add-association'= {
|
||||
cand --yes 'Bypass confirmation'
|
||||
cand -h 'Print help information'
|
||||
cand --help 'Print help information'
|
||||
}
|
||||
&'innernet;delete-association'= {
|
||||
cand --yes 'Bypass confirmation'
|
||||
cand -h 'Print help information'
|
||||
cand --help 'Print help information'
|
||||
}
|
||||
|
|
|
@ -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-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 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 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
|
||||
|
@ -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 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 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 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 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
|
||||
|
|
|
@ -102,6 +102,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock {
|
|||
break
|
||||
}
|
||||
'innernet;uninstall' {
|
||||
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
|
||||
break
|
||||
|
@ -166,11 +167,13 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock {
|
|||
break
|
||||
}
|
||||
'innernet;add-association' {
|
||||
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
|
||||
break
|
||||
}
|
||||
'innernet;delete-association' {
|
||||
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
|
||||
break
|
||||
|
|
|
@ -93,6 +93,7 @@ _arguments "${_arguments_options[@]}" \
|
|||
;;
|
||||
(uninstall)
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'--yes[Bypass confirmation]' \
|
||||
'-h[Print help information]' \
|
||||
'--help[Print help information]' \
|
||||
':interface:' \
|
||||
|
@ -175,6 +176,7 @@ _arguments "${_arguments_options[@]}" \
|
|||
;;
|
||||
(add-association)
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'--yes[Bypass confirmation]' \
|
||||
'-h[Print help information]' \
|
||||
'--help[Print help information]' \
|
||||
':interface:' \
|
||||
|
@ -184,9 +186,12 @@ _arguments "${_arguments_options[@]}" \
|
|||
;;
|
||||
(delete-association)
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'--yes[Bypass confirmation]' \
|
||||
'-h[Print help information]' \
|
||||
'--help[Print help information]' \
|
||||
':interface:' \
|
||||
'::cidr1 -- The first cidr to associate:' \
|
||||
'::cidr2 -- The second cidr to associate:' \
|
||||
&& ret=0
|
||||
;;
|
||||
(list-associations)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "netlink-request"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
edition = "2021"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
|||
name = "server"
|
||||
publish = false
|
||||
readme = "README.md"
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
|
||||
[[bin]]
|
||||
name = "innernet-server"
|
||||
|
|
|
@ -4,7 +4,7 @@ edition = "2021"
|
|||
license = "MIT"
|
||||
name = "shared"
|
||||
publish = false
|
||||
version = "1.5.3-beta.5"
|
||||
version = "1.5.3"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
|
|
|
@ -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.3-beta.5"
|
||||
version = "1.5.3"
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.13"
|
||||
|
|
Loading…
Reference in New Issue