A netfilter module for fast and flexible deep packet inspection