security/knock 0.8_1,1 FreeBSD
Flexible port-knocking server and client
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- security
- Package size
- 29.5 KiB, 68.6 KiB installed
Description
knockd is a port-knock server. It listens to all traffic on an ethernet (or PPP) interface, looking for special "knock" sequences of port-hits.
A client makes these port-hits by sending a TCP (or UDP) packet to a port on the server. This port need not be open -- since knockd listens at the link-layer level, it sees all traffic even if it's destined for a closed port. When the server detects a specific sequence of port-hits port-hits, it runs a command defined in its configuration file. This can be used to open up holes in a firewall for quick access.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/knock | 0.8_1,1 |
| NetBSD | net/knock | 0.8 |
| DragonFly | security/knock | 0.8_1,1 |
Install
Binary package:
pkg install knock
From the ports tree:
cd /usr/ports/security/knock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= knock>0:security/knock
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.8_1,1 | 0.8_1,1 | 0.5_1,1 | 0.8_1,1 | 0.8_1,1 |
| FreeBSD:14:quarterly | 0.8_1,1 | 0.8_1,1 | n/a | 0.8_1,1 | 0.8_1,1 |
| FreeBSD:15:latest | 0.8_1,1 | 0.8_1,1 | n/a | 0.8_1,1 | 0.8_1,1 |
| FreeBSD:15:quarterly | 0.8_1,1 | 0.8_1,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8_1,1 | 0.8_1,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
Options name: security_knock
| Option | Default | Description |
|---|---|---|
| CLIENT | on | Install knock client |
| SERVER | on | Install knockd server |
- Service scripts
- none
- Conflicts with
- doorman
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| knock-0.8.tar.gz | 377107 | 698d8c965624ea2ecb1e3df4524ed05afe387f6d20ded1e8a231209ad48169c7 |
Master sites 2
- https://github.com/jvinet/knock/releases/download/v0.8/
- LOCAL/sbz
Commit history 0
No commits in the history this site was built from.