Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhspetersson/nokku
Port-knocking client with multiple hosts support
https://github.com/jhspetersson/nokku
cli client firewall go golang port-knocker port-knocking portknocker portknocking tools
Last synced: about 1 month ago
JSON representation
Port-knocking client with multiple hosts support
- Host: GitHub
- URL: https://github.com/jhspetersson/nokku
- Owner: jhspetersson
- License: mit
- Created: 2019-08-01T07:06:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T13:01:40.000Z (about 5 years ago)
- Last Synced: 2023-03-02T13:02:21.026Z (over 1 year ago)
- Topics: cli, client, firewall, go, golang, port-knocker, port-knocking, portknocker, portknocking, tools
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nokku
Port-knocking client. Supports multiple hosts knocking.### Usage
nokku [OPTIONS] HOSTNAME[:PORT] [PROTO] [pause] [HOSTNAME2:]PORT2 [pause] [[HOSTNAME3:]PORT3 [[HOSTNAME4:]PORT4 [...]]]
Supply a hostname first, optionally with a port in the form of `host:port`.
Then goes any number of ports. Supply another hostname option to switch the target address.Insert `tcp` (default) or `udp` command to switch to the corresponding protocol.
To add a pause to the sequence use `pause` (defaults to 1 second).
### Options
| Option | Meaning | Example |
| --- | --- | --- |
| `-d` or `--delay` | Sets the delay duration between connections | `nokku -d 2 192.168.0.1 13652 12441 57936` |
| `-p` or `--pause` | Sets the pause duration | `nokku --pause 3 192.168.0.1 13652 pause 12441 pause pause 57936` |### Examples
Same host, several ports:
nokku 192.168.251.34 31785 23077 46254
nokku 192.168.251.34:31785 23077 46254Multiple hosts, several ports on each:
nokku 192.168.251.1 20100 20123 192.168.251.2 14500 14600
nokku 192.168.251.1:20100 20123 192.168.251.2:14500 14600Multiple hosts, one port on each:
nokku 192.168.251.1 20100 192.168.251.2 14500 192.168.251.3 33500
nokku 192.168.251.1:20100 192.168.251.2:14500 192.168.251.3:33500
Multiple hosts, same port:nokku 192.168.251.1 44555 192.168.251.2 192.168.251.3
nokku 192.168.251.1:44555 192.168.251.2 192.168.251.3
Switch to UDP and back to TCP:nokku 192.168.251.34 10100 udp 10200 tcp 10300
All UDP:nokku udp 192.168.251.1 20100 20123 192.168.251.2 14500 14600
Add pauses:nokku udp 192.168.251.1 20100 pause 20123 pause pause 192.168.251.2 14500 14600