How to Install and Uninstall knockd Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 10,2024

1. Install "knockd" package

This tutorial shows how to install knockd on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install knockd

2. Uninstall "knockd" package

In this section, we are going to explain the necessary steps to uninstall knockd on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove knockd $ sudo apt autoclean && sudo apt autoremove

3. Information about the knockd package on Ubuntu 21.04 (Hirsute Hippo)

Package: knockd
Architecture: amd64
Version: 0.7-1ubuntu4
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Leo Antunes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 101
Depends: libc6 (>= 2.4), libpcap0.8 (>= 0.9.8), logrotate, lsb-base (>= 3.0-6)
Filename: pool/universe/k/knockd/knockd_0.7-1ubuntu4_amd64.deb
Size: 24740
MD5sum: 4114c68f192ef416d321526ea5534f30
SHA1: 017a7f25ecb06511a77016e77e8e666bb3e185b8
SHA256: b7358e3d6c74b31098ddbf5a21f33f1a6a5c4cecf38610d410cc94e8fd8bb2ae
SHA512: a0e8158fc54e5c831f40efed6cf89a8de6ee952a96a1d14bf552856b6bf5c5f1757d49f31838d38d7c65852cac0412838b486dff2d467eccd8711aeb959d3942
Homepage: http://www.zeroflux.org/projects/knock
Description-en: small port-knock daemon
A port-knock server that listens to all traffic on a given network
interface (only Ethernet and PPP are currently supported), looking for
a special "knock" sequences of port-hits. A remote system
makes these port-hits by sending a TCP (or UDP) packet to a port on the
server. 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.
Description-md5: 299f4f026135628095f21e7271283e1f