Dynamic Adaptive Firewall for GNU/Linux (fwupd)

The fwupd application is an intrusion prevention system that dynamic updates the packet filter rules (iptables) based on indications of an ongoing attack from information found in the system logs.

Chains

Each monitored service (i.e. SSH) get its own chain hooked into the INPUT and OUTPUT chain. When an intrusion is detected, the IP-address of the attacking computer gets added to that service blacklist and iptables chain, thus preventing further attacks from that IP-address.

Whitelist/blacklist

Each monitored service has an associated whitelist and blacklist. Computers on the whitelist are always allowed to connect to the monitored service, while computers on the blacklist are nuked.

Trusted hosts

Always trusted computers are defined in the global configuration /etc/fwupd.conf. Connections from these hosts are always accepted and no service access control is ever performed.