oremanj/python-netfilterqueue

The same packet is being caught twice

AidanFray opened this issue · 0 comments

The mode method is being called twice one when the packet is being pushed into the NFQUEUE and once when the packet is accepted.

For example is the 'mode' is a simple print method I will get two:

ICMP packet, 84 bytes
ICMP packet, 84 bytes

From a single ping run with:

ping 127.0.0.1 -c 1