ipfw
More info
- Released
- 1994
- Type
- Packet filter (kernel module)
- License
- BSD
FreeBSD's native firewall, built on numbered rules evaluated top to bottom until one matches.
ipfw shipped with FreeBSD 2.0 in 1994 and was rewritten from scratch as ipfw2 around 2002. Every rule carries a number from 1 to 65535, and the first match decides the packet's fate: ipfw add 100 allow tcp from any to me 22. Rule 65535 is the default and denies whatever nothing else let through — a lesson many admins learned by loading a fresh ruleset over SSH exactly once.
Much of ipfw's appeal came from dummynet, Luigi Rizzo's add-on that deliberately delays, throttles and drops traffic. It became the standard tool for simulating bad networks. FreeBSD now carries three firewalls side by side, and Apple shipped ipfw in Mac OS X until pf replaced it.