IntermediateNetworkingDefensiveLinux

Linux Firewalls

Attack Detection and Response with iptables, psad, and fwsnort

4 / 5

Michael Rash, author of psad and fwsnort, on building and operating Linux-native packet filtering and intrusion-response tooling. Pre-nftables in detail but conceptually durable.

Buy on Amazon

As an Amazon Associate we earn from qualifying purchases. The link above is sponsored.

Published
2007
Publisher
No Starch Press
Pages
336
Language
English

Read this if

Linux administrators and defensive practitioners who need to actually configure a firewall, not just understand the concept. Rash's iptables coverage remains the cleanest practical introduction; psad and fwsnort for the active-response side.

Skip this if

Readers fully on nftables / firewalld / cloud-native security groups, or anyone wanting an architecture-level treatise. The book is hands-on iptables rules and analysis, not a strategic frame.

Key takeaways

  • iptables remains the foundational mental model; even in nftables-or-eBPF environments, understanding match-and-target chains is required to read the rule sets the field still ships.
  • Active response is a real defensive option that's easy to overstate; the book's chapter on the trade-offs is appropriately cautious.
  • Port scanning detection (psad) and signature-based blocking (fwsnort) are still useful primitives that punch above their weight in budget-constrained environments.

Notes

Pair with The Practice of Network Security Monitoring (Bejtlich) for the strategic frame and Practical Linux Forensics (Nikkel) for the host-side context. For current iptables / nftables documentation, the kernel.org Wiki and netfilter documentation are authoritative. Rash's cipherdyne.org maintains the psad and fwknop projects he authored.