Hi, Le mercredi 31 juillet 2013 à 07:58 +0800, medialy a écrit : > I am developing an application base on libnetfilter_queue to filter http traffic(CentOS 5.5 x86_64). > In order to make full use of multi-CPU, I try to use a read thread(where recv and nfq_handle_packet > are called) and several verdict threads(where nfq_set_verdict2 is called). > > My questions are: > Can the parameter value in cb(qh, nfmsg, nfa, data) function used in verdict thread? No, the netlink message will be discarded at the end of the callback. > Can the packet be verdict without order? Yes. See https://home.regit.org/netfilter-en/using-nfqueue-and-libnetfilter_queue/ for more information. BR, -- Eric
Attachment:
signature.asc
Description: This is a digitally signed message part