Skip to contentSkip to conversation

after setting verdict in netfilter_queue packet is not reaching udp server daemon

DISCUSSION Arif Hossain 1 participant 1 message Mar 13, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

I'm receiving packets from NFQUEUE target. after making modifications to it i'm setting verdict with nfq_set_verdict. nfq_set_verdict() is returning nonzero values indicating there is no problem with it. but my udp daemon which should receive the modified packet is not receiving it. is there is any way to trace it packet from nfq_set_verdict() to udp_server?.

During development i have seen sometimes it does not work. if i restart the udp daemon it starts working again. during development we were using a simple echo udp server. it worked there more or less. This is not happening in a full blown udp server(which is udp packet relay server). if there is a way to tell what happens to the packet after nfq_set_verdict()(i mean after returning from the registered callback function) i can find out what's wrong with the thing.

Thanks in advance.