Skip to content

Commit

Permalink
meta: release v1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mcginty committed Sep 24, 2022
1 parent f36eb30 commit eac6071
Show file tree
Hide file tree
Showing 17 changed files with 124 additions and 26 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 client
cargo install --git https://github.com/tonarino/innernet --tag v1.5.5 client

# to install innernet-server:
cargo install --git https://github.com/tonarino/innernet --tag v1.5.4 server
cargo install --git https://github.com/tonarino/innernet --tag v1.5.5 server
```

Note that you'll be responsible for updating manually.
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
name = "client"
publish = false
repository = "https://github.com/tonarino/innernet"
version = "1.5.4"
version = "1.5.5"

[[bin]]
name = "innernet"
Expand Down
18 changes: 13 additions & 5 deletions doc/innernet-server.8
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH INNERNET-SERVER "8" "March 2022" "innernet-server 1.5.4" "System Administration Utilities"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
.TH INNERNET-SERVER "8" "September 2022" "innernet-server 1.5.5" "System Administration Utilities"
.SH NAME
innernet-server \- manual page for innernet-server 1.5.4
innernet-server \- manual page for innernet-server 1.5.5
.SH DESCRIPTION
innernet\-server 1.5.4
innernet\-server 1.5.5
Jake McGinty <[email protected]>
A server to coordinate innernet networks.
.SS "USAGE:"
Expand Down Expand Up @@ -40,14 +40,22 @@ new
Create a new network
.TP
uninstall
Permanently uninstall a created network, rendering it unusable. Use with care
Permanently uninstall a created network, rendering it unusable. Use with
.IP
care
.TP
serve
Serve the coordinating server for an existing network
.TP
add\-peer
Add a peer to an existing network
.TP
disable\-peer
Disable an enabled peer
.TP
enable\-peer
Enable a disabled peer
.TP
rename\-peer
Rename an existing peer
.TP
Expand Down
Binary file modified doc/innernet-server.8.gz
Binary file not shown.
42 changes: 38 additions & 4 deletions doc/innernet-server.completions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ _innernet-server() {
delete-cidr)
cmd+="__delete__cidr"
;;
disable-peer)
cmd+="__disable__peer"
;;
enable-peer)
cmd+="__enable__peer"
;;
help)
cmd+="__help"
;;
Expand All @@ -46,7 +52,7 @@ _innernet-server() {

case "${cmd}" in
innernet__server)
opts="-h -V -c -d --help --version --config-dir --data-dir --no-routing --backend --mtu new uninstall serve add-peer rename-peer add-cidr delete-cidr completions help"
opts="-h -V -c -d --help --version --config-dir --data-dir --no-routing --backend --mtu new uninstall serve add-peer disable-peer enable-peer rename-peer add-cidr delete-cidr completions help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand All @@ -69,7 +75,7 @@ _innernet-server() {
return 0
;;
--backend)
COMPREPLY=($(compgen -W "" -- "${cur}"))
COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}"))
return 0
;;
--mtu)
Expand Down Expand Up @@ -179,6 +185,34 @@ _innernet-server() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
innernet__server__disable__peer)
opts="-h --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
innernet__server__enable__peer)
opts="-h --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
innernet__server__help)
opts="<SUBCOMMAND>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
Expand Down Expand Up @@ -253,7 +287,7 @@ _innernet-server() {
fi
case "${prev}" in
--backend)
COMPREPLY=($(compgen -W "" -- "${cur}"))
COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}"))
return 0
;;
--mtu)
Expand All @@ -268,7 +302,7 @@ _innernet-server() {
return 0
;;
innernet__server__uninstall)
opts="-h --help <INTERFACE>"
opts="-h --yes --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down
11 changes: 11 additions & 0 deletions doc/innernet-server.completions.elvish
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ set edit:completion:arg-completer[innernet-server] = {|@words|
cand uninstall 'Permanently uninstall a created network, rendering it unusable. Use with care'
cand serve 'Serve the coordinating server for an existing network'
cand add-peer 'Add a peer to an existing network'
cand disable-peer 'Disable an enabled peer'
cand enable-peer 'Enable a disabled peer'
cand rename-peer 'Rename an existing peer'
cand add-cidr 'Add a new CIDR to an existing network'
cand delete-cidr 'Delete a CIDR'
Expand All @@ -49,6 +51,7 @@ set edit:completion:arg-completer[innernet-server] = {|@words|
cand --help 'Print help information'
}
&'innernet-server;uninstall'= {
cand --yes 'Bypass confirmation'
cand -h 'Print help information'
cand --help 'Print help information'
}
Expand All @@ -71,6 +74,14 @@ set edit:completion:arg-completer[innernet-server] = {|@words|
cand -h 'Print help information'
cand --help 'Print help information'
}
&'innernet-server;disable-peer'= {
cand -h 'Print help information'
cand --help 'Print help information'
}
&'innernet-server;enable-peer'= {
cand -h 'Print help information'
cand --help 'Print help information'
}
&'innernet-server;rename-peer'= {
cand --name 'Name of peer to rename'
cand --new-name 'The new name of the peer'
Expand Down
5 changes: 5 additions & 0 deletions doc/innernet-server.completions.fish
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ complete -c innernet-server -n "__fish_use_subcommand" -f -a "new" -d 'Create a
complete -c innernet-server -n "__fish_use_subcommand" -f -a "uninstall" -d 'Permanently uninstall a created network, rendering it unusable. Use with care'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "serve" -d 'Serve the coordinating server for an existing network'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "add-peer" -d 'Add a peer to an existing network'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "disable-peer" -d 'Disable an enabled peer'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "enable-peer" -d 'Enable a disabled peer'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "rename-peer" -d 'Rename an existing peer'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "add-cidr" -d 'Add a new CIDR to an existing network'
complete -c innernet-server -n "__fish_use_subcommand" -f -a "delete-cidr" -d 'Delete a CIDR'
Expand All @@ -20,6 +22,7 @@ complete -c innernet-server -n "__fish_seen_subcommand_from new" -l external-end
complete -c innernet-server -n "__fish_seen_subcommand_from new" -l listen-port -d 'Port to listen on (for the WireGuard interface)' -r
complete -c innernet-server -n "__fish_seen_subcommand_from new" -l auto-external-endpoint -d 'Auto-resolve external endpoint'
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" -l yes -d 'Bypass confirmation'
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: 1280)' -r
Expand All @@ -34,6 +37,8 @@ complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l invite-
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l auto-ip -d 'Auto-assign the peer the first available IP within the CIDR'
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l yes -d 'Bypass confirmation'
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_seen_subcommand_from disable-peer" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_seen_subcommand_from enable-peer" -s h -l help -d 'Print help information'
complete -c innernet-server -n "__fish_seen_subcommand_from rename-peer" -l name -d 'Name of peer to rename' -r
complete -c innernet-server -n "__fish_seen_subcommand_from rename-peer" -l new-name -d 'The new name of the peer' -r
complete -c innernet-server -n "__fish_seen_subcommand_from rename-peer" -l yes -d 'Bypass confirmation'
Expand Down
13 changes: 13 additions & 0 deletions doc/innernet-server.completions.powershell
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock {
[CompletionResult]::new('uninstall', 'uninstall', [CompletionResultType]::ParameterValue, 'Permanently uninstall a created network, rendering it unusable. Use with care')
[CompletionResult]::new('serve', 'serve', [CompletionResultType]::ParameterValue, 'Serve the coordinating server for an existing network')
[CompletionResult]::new('add-peer', 'add-peer', [CompletionResultType]::ParameterValue, 'Add a peer to an existing network')
[CompletionResult]::new('disable-peer', 'disable-peer', [CompletionResultType]::ParameterValue, 'Disable an enabled peer')
[CompletionResult]::new('enable-peer', 'enable-peer', [CompletionResultType]::ParameterValue, 'Enable a disabled peer')
[CompletionResult]::new('rename-peer', 'rename-peer', [CompletionResultType]::ParameterValue, 'Rename an existing peer')
[CompletionResult]::new('add-cidr', 'add-cidr', [CompletionResultType]::ParameterValue, 'Add a new CIDR to an existing network')
[CompletionResult]::new('delete-cidr', 'delete-cidr', [CompletionResultType]::ParameterValue, 'Delete a CIDR')
Expand All @@ -54,6 +56,7 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock {
break
}
'innernet-server;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
Expand All @@ -79,6 +82,16 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock {
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
break
}
'innernet-server;disable-peer' {
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
break
}
'innernet-server;enable-peer' {
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information')
break
}
'innernet-server;rename-peer' {
[CompletionResult]::new('--name', 'name', [CompletionResultType]::ParameterName, 'Name of peer to rename')
[CompletionResult]::new('--new-name', 'new-name', [CompletionResultType]::ParameterName, 'The new name of the peer')
Expand Down
27 changes: 27 additions & 0 deletions doc/innernet-server.completions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ _arguments "${_arguments_options[@]}" \
;;
(uninstall)
_arguments "${_arguments_options[@]}" \
'--yes[Bypass confirmation]' \
'-h[Print help information]' \
'--help[Print help information]' \
':interface:' \
Expand Down Expand Up @@ -78,6 +79,20 @@ _arguments "${_arguments_options[@]}" \
':interface:' \
&& ret=0
;;
(disable-peer)
_arguments "${_arguments_options[@]}" \
'-h[Print help information]' \
'--help[Print help information]' \
':interface:' \
&& ret=0
;;
(enable-peer)
_arguments "${_arguments_options[@]}" \
'-h[Print help information]' \
'--help[Print help information]' \
':interface:' \
&& ret=0
;;
(rename-peer)
_arguments "${_arguments_options[@]}" \
'--name=[Name of peer to rename]:NAME: ' \
Expand Down Expand Up @@ -132,6 +147,8 @@ _innernet-server_commands() {
'uninstall:Permanently uninstall a created network, rendering it unusable. Use with care' \
'serve:Serve the coordinating server for an existing network' \
'add-peer:Add a peer to an existing network' \
'disable-peer:Disable an enabled peer' \
'enable-peer:Enable a disabled peer' \
'rename-peer:Rename an existing peer' \
'add-cidr:Add a new CIDR to an existing network' \
'delete-cidr:Delete a CIDR' \
Expand Down Expand Up @@ -160,6 +177,16 @@ _innernet-server__delete-cidr_commands() {
local commands; commands=()
_describe -t commands 'innernet-server delete-cidr commands' commands "$@"
}
(( $+functions[_innernet-server__disable-peer_commands] )) ||
_innernet-server__disable-peer_commands() {
local commands; commands=()
_describe -t commands 'innernet-server disable-peer commands' commands "$@"
}
(( $+functions[_innernet-server__enable-peer_commands] )) ||
_innernet-server__enable-peer_commands() {
local commands; commands=()
_describe -t commands 'innernet-server enable-peer commands' commands "$@"
}
(( $+functions[_innernet-server__help_commands] )) ||
_innernet-server__help_commands() {
local commands; commands=()
Expand Down
8 changes: 4 additions & 4 deletions doc/innernet.8
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH INNERNET "8" "March 2022" "innernet 1.5.4" "System Administration Utilities"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
.TH INNERNET "8" "September 2022" "innernet 1.5.5" "System Administration Utilities"
.SH NAME
innernet \- manual page for innernet 1.5.4
innernet \- manual page for innernet 1.5.5
.SH DESCRIPTION
innernet 1.5.4
innernet 1.5.5
Jake McGinty <[email protected]>
A client to manage innernet network interfaces.
.SS "USAGE:"
Expand Down
Binary file modified doc/innernet.8.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion doc/innernet.completions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ _innernet() {
return 0
;;
--backend)
COMPREPLY=($(compgen -W "" -- "${cur}"))
COMPREPLY=($(compgen -W "kernel userspace" -- "${cur}"))
return 0
;;
--mtu)
Expand Down
2 changes: 1 addition & 1 deletion netlink-request/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "netlink-request"
version = "1.5.4"
version = "1.5.5"
edition = "2021"

[target.'cfg(target_os = "linux")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT"
name = "server"
publish = false
readme = "README.md"
version = "1.5.4"
version = "1.5.5"

[[bin]]
name = "innernet-server"
Expand Down
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ edition = "2021"
license = "MIT"
name = "shared"
publish = false
version = "1.5.4"
version = "1.5.5"

[dependencies]
anyhow = "1"
Expand Down
2 changes: 1 addition & 1 deletion wireguard-control/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
version = "1.5.5"

[dependencies]
base64 = "0.13"
Expand Down

0 comments on commit eac6071

Please sign in to comment.