How to Install and Uninstall knockd Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 13,2024

1. Install "knockd" package

Please follow the guidance below to install knockd on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install knockd

2. Uninstall "knockd" package

Please follow the guidance below to uninstall knockd on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the knockd package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: knockd
Priority: optional
Section: universe/net
Installed-Size: 172
Maintainer: Ubuntu MOTU Developers
Original-Maintainer: Leo Costela
Architecture: amd64
Version: 0.5-3ubuntu1
Depends: libc6 (>= 2.4), libpcap0.8 (>= 1.0.0-1~exp1), logrotate
Filename: pool/universe/k/knockd/knockd_0.5-3ubuntu1_amd64.deb
Size: 28890
MD5sum: 504f6e279a88351e084a5aafeeb35ed9
SHA1: 271f7691b1d23a16ffe9149891598f5204cebf7d
SHA256: 987062013108efd4f05879e749d8bb457d38e7b553b046049e76e9569ab2e5ee
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
Homepage: http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu