Some iptables parsing code.