Tomasz W <tomaszw104@xxxxxxxxx> wrote: > Good Morning, > > can anyone, pretty please, guide me or provide me with a decent tutorial on marking packets? Documents and example files are not very helpful. I am trying to integrate netfilter_queue with my software that capture packets with libpcap and analyse those with nDPI. netfilter_queue is only applicable if you queue/capture packets with 'nft queue' or the iptables NFQUEUE target. It can't be used to 'mark' arbitrary packets coming from a different source.