betolj / ndpi-netfilter

GNU General Public License v2.0
126 stars 69 forks source link

skb->nfct is NULL every time inside ndpi_mt #35

Open subhedarnikhil opened 7 years ago

subhedarnikhil commented 7 years ago

Hi, I am using ndpi-netfilter for openwrt based wireless ACCESS Point . I am trying to capture the traffic using PREROUTING chain for that purpose i am using following iprule.

iptables -t raw -A PREROUTING -m ndpi --youtube -j ACCEPT

And after this when i am connecting my wireless client to access point and trying to capture the youtube or some other traffic , inside ndpi_mt, nf_ft_get() returns NULL . When i trying to check why it is NULL i found that skb->nfct pointer which is coming inside ndpi_mt is NULL.

Can any onme please help me to resolve this issue.????/

AlbertXie0304 commented 3 years ago

I encountered the same issure, have you found the reason?