Added support for dns, udp, icmp protocols.
Changed the way that the filter is applied.