BSD Ports

net/knock 0.8 NetBSD

Port knocking server

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
net
Package size
35.9 KiB, 96.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, 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

SystemPortVersion
NetBSDnet/knock0.8
FreeBSDsecurity/knock0.8_1,1
DragonFlysecurity/knock0.8_1,1
HardenedBSDsecurity/knock0.8_1,1
GhostBSDsecurity/knock0.8_1,1

Install

Binary package:

pkgin install knock

From pkgsrc:

cd /usr/pkgsrc/net/knock && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.8
NetBSD 10.1 aarch640.8
SmartOS / illumos x86_64-
macOS 15 arm640.8

Dependencies

No port depends on this one.