Hi Pablo, I am using kernel version 2.6.18 fedora core 6 ( kernel 2.6.18-1.2869.fc6 ). Do I need to patch the kernel ? I suppose it should already be supported in the recent kernel verion like 2.6.18 ? Hear from you again. Many thanks. Regards, Arthur. On 1/19/07, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
Arthur Liew wrote: > I don't seem to be able to set max queue len of libnetfilter. The > error I keep getting is > > NFNETLINK answers: Invalid argument > > Any idea why ? The code snippet that cause this is > > u_int32_t qlen = 1024; > if (nfq_set_queue_maxlen(qh, qlen) < 0) > > The version of library I use is > > libnetfilter_queue-0.0.13 > libnfnetlink-0.0.25 > > I have use the test code from libnetfilter_queue-0.0.13/utils with > additional nfq_set_queue_maxlen function Kernel version? -- The dawn of the fourth age of Linux firewalling is coming; a time of great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris