Kernel-level packet filter
At the very first point of the network stack: SYN floods, null/xmas scans, invalid flag combinations, ICMP floods, per-IP TLS handshake rate (20/s), concurrent connection count and port-80 new-connection rate. A banned address never reaches the application layer.