View this package for all CentOS/RHEL versions →
How to install knock in CentOS/RHEL 7 (x86_64)
A port-knocking server/client
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install knock
Description
This is a port-knocking server/client. Port-knocking is a method where a server can sniff one of its interfaces for a special "knock" sequence of port-hits. When detected, it will run a specified event bound to that port knock sequence. These port-hits need not be on open ports, since we use libpcap to sniff the raw interface traffic. This package contains the knock client.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Changelog |
|---|---|---|
| knock-0.7.8-7.20151227git258a27e.el7.x86_64 | 21 KiB |
Danila Vershinin (2018-09-11) - Use LOG_AUTHPRIV |
| knock-0.7.8-6.20151227git258a27e.el7.x86_64 | 21 KiB |
Fedora Release Engineering (2018-07-13) - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |