demo code of packet check use netfilter