ipq_set_verdict gives errors for multicast packets but works
fine for unicast (kernel 2.6)
maarten.wijnants at pandora.be
Thu Jan 6 16:49:17 CET 2005
Hello Pablo (and rest of list),
Thanks for your reply,
> Maarten Wijnants wrote:
>> This all worked fine on kernel version 2.4. However, I have just upgraded
>> to kernel 2.6.6, and all of a sudden my application doesn't work anymore.
> Update to lastest kernel stable 2.6. Patrick McHardy pushed forward some
> patches which fixes some problems in ip_queue some time ago.
Well I tried a variety of kernels already. More specifically, I started out
with kernel 2.4.20. Everything works fine on this kernel version.
Afterwards, I have tried kernel 2.4.28, 2.6.6, 2.6.9 and 2.6.10. I even
patched 2.6.10 with the latest snapshot from kernel.org. On none of these
kernel versions the rule
ipq_set_verdict(ipq_handle, m->packet_id, NF_ACCEPT, m->data_len, packet);
works for an altered packet with a multicast destination. For unicast
destination packets, the rule works on any kernel version. On kernel 2.4.20,
this rule works perfectly correct in all situations (i.e. both unicast and
multicast destinations). I have absolutely no idea what is going wrong in
the other kernel versions. Any ideas?
Thanks in advance.
More information about the netfilter-devel