I need to capture multicast traffic with libipq. On my linux laptop i do it with iptables -t mangle -D PREROUTING -m pkttype --pkt-type multicast -j QUEUE. Now i need to port my app to the openwrt. Thus i installed kmod-ipt-queue_2.4.34-brcm-1_mipsel (for libipq) and kmod-ipt-extra_2.4.34-brcm-1_mipsel.ipk (which allows using of -m pkttype filter for iptables). I rebooted the my asus wl-500gp and checked those modules with lsmod:
root@OpenWrt:/lib/modules/2.4.34# lsmod
Module Size Used by Tainted: P
ftdi_sio 23480 0 (unused)
usb-storage 68240 1
usbserial 23484 0 [ftdi_sio]
acm 6172 0 (unused)
wlcompat 14944 0 (unused)
ehci-hcd 20556 0 (unused)
uhci 29060 0 (unused)
usb-ohci 19252 0 (unused)
sd_mod 12500 2
ip_queue 6304 0 (unused)
ip_conntrack_tftp 1712 0 (unused)
ip_nat_irc 2336 0 (unused)
ip_conntrack_irc 3128 1
ip_nat_ftp 2960 0 (unused)
ip_conntrack_ftp 4272 1
ipt_pkttype 288 0 (unused)
ipt_owner 1280 0 (unused)
ipt_LOG 3792 0 (unused)
ipt_condition 1360 0 (unused)
msdos 6028 0 (unused)
ppp_async 7884 0 (unused)
ppp_generic 22300 0 [ppp_async]
slhc 6064 0 [ppp_generic]
vfat 11340 1
fat 34448 0 [msdos vfat]
nfs 88712 0 (unused)
lockd 61804 0 [nfs]
sunrpc 76944 0 [nfs lockd]
ext3 71388 0
jbd 51152 0 [ext3]
ext2 40304 0
wl_mimo 710464 0 (unused)
nls_utf8 688 0 (unused)
usbcore 71296 1 [ftdi_sio usb-storage usbserial acm ehci-hcd uhci usb-ohci]
scsi_mod 66048 2 [usb-storage sd_mod]
switch-robo 4540 0 (unused)
switch-core 4864 0 [switch-robo]
diag 25520 0 (unused)
Obviously ipt_pkttype and ip_queue are loaded. But when i try to use my rule i am getting the following response
root@OpenWrt:/lib/modules/2.4.34# iptables -t mangle -A PREROUTING -m pkttype --pkt-type broadcast -j QUEUE
iptables v1.3.8: Couldn't load match `pkttype':File not found
Try `iptables -h' or 'iptables --help' for more information.
Does anybody know how to fix it? Maybe i miss some additional modules?