Binary package “filtergen” in ubuntu intrepid

packet filter generator for various firewall systems

 filtergen is a packet filter generator. It compiles a fairly high-level
 description language into iptables, ipchains, or ipfilter scripts (and has
 bits of support for Cisco IOS access lists).