macOS
brew install knocklocal Homebrew formula metadata
sudo port install knockMacPorts ports tree · net/knock/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de knock pour les workflows d'agents IA.
installation
brew install knocklocal Homebrew formula metadata
sudo port install knockMacPorts ports tree · net/knock/Portfile · Source: api.github.com
sudo apk add knockAlpine Linux edge package indexes · knock · Source: dl-cdn.alpinelinux.org
sudo dnf install knockFedora Rawhide package metadata · knock · Source: dl.fedoraproject.org
sudo zypper install knockopenSUSE Tumbleweed package metadata · knock · Source: download.opensuse.org
sudo apt install knockdDebian stable package indexes · knockd · Source: deb.debian.org
sudo pacman -S knockdArch Linux sync databases · knockd · Source: geo.mirror.pkgbuild.com
aperçu
Port-knock server
historique
knock is Judd Vinet's port-knocking server and client. It watches network traffic with libpcap for a configured sequence of port hits and runs commands, commonly firewall changes, when the sequence matches.
The README carries a 2004 copyright notice and describes the core design that still defines the package: closed ports can receive a secret sequence because knockd sniffs link-layer traffic rather than listening on those ports. The bundled ChangeLog lists 0.1 as the initial release and shows later work adding TCP flag handling, reload behavior, timeouts, kernel-space BPF filtering, one-time sequences, interface selection, and IPv6 support.
Version 0.8 was published on 2021-04-24 with multiple fixes and IPv6 support. The GitHub repository retained a small C codebase, an example `knockd.conf`, and manpage documentation rather than growing into a larger access-control framework.
knock spread through Unix-like distributions because it solved a specific sysadmin problem with a small daemon and client. Package names vary between `knock`, `knockd`, and distribution-specific formula names, but the underlying model stayed close to the original README example: a knock sequence opens SSH, and another sequence closes it.
A server runs `knockd` with a configuration file such as `/etc/knockd.conf`; a client runs `knock` to send TCP or UDP packets to the configured sequence. Commands usually add or remove firewall rules, so the tool is operationally simple but security-sensitive: the sequence should be treated like a shared secret and firewall commands must be written carefully.
knock is a memorable package because it embodies a whole security pattern in a tiny Unix daemon. It is also a reminder of the early-2000s sysadmin style: libpcap, iptables commands, config files, and a tiny client were enough to make a practical layer around SSH exposure.
posture de sécurité
broad file, network, media, or database tool signal.
risque blue · confiance moyen · tool
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/knockd.confexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
knock | cli | exécutable global | |
knock_helper_ipt.sh | cli | exécutable global | |
knockd | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/jvinet/knock
métadonnées d'installation
| Clé du paquet | brew:knock |
|---|---|
| Version | 0.8 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/knock |
| Page d'accueil | https://github.com/jvinet/knock |
| Dépôt | https://github.com/jvinet/knock |
| Docs amont | https://github.com/jvinet/knock#readme |
| Licence | GPL-2.0-or-later |
| Archive source | https://github.com/jvinet/knock/releases/download/v0.8/knock-0.8.tar.gz |
| Bibliothèques fournies par macOS | libpcap |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | knock |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
knock 0.8.2-r2
A simple port-knocking daemon
https://github.com/TDFKAOlli/knock
sudo apk add knockknock-doc 0.8.2-r2
A simple port-knocking daemon (documentation)
https://github.com/TDFKAOlli/knock
sudo apk add knock-docknock-openrc 0.8.2-r2
A simple port-knocking daemon (OpenRC init scripts)
https://github.com/TDFKAOlli/knock
sudo apk add knock-openrcknock 0.8-13.fc44
A port-knocking server/client
http://www.zeroflux.org/projects/knock
sudo dnf install knockknock-server 0.8-13.fc44
A port-knocking server/client
http://www.zeroflux.org/projects/knock
sudo dnf install knock-serverknock 0.8-4.4
A Port-Knocking Client
http://www.zeroflux.org/knock/
sudo zypper install knockknockd 0.8-4.4
A port-knocking server
http://www.zeroflux.org/knock/
sudo zypper install knockdknock
sudo port install knockknockd 0.8-2+b6
small port-knock daemon
http://www.zeroflux.org/projects/knock
sudo apt install knockdknockd 0.8-2build2
small port-knock daemon
http://www.zeroflux.org/projects/knock
sudo apt install knockdknockd 0.8-2
A simple port-knocking daemon
https://github.com/jvinet/knock
sudo pacman -S knockdpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.