On Sunday 2010-08-08 22:20, Yossi Weihs wrote: >Hi List, > >I have been working on a custom netfilter target to help with some in-house >testing. I?m running Fedora 13 and building within xtables-addons v 1.2.6 ; >I have gotten both the kernel module and library to build correctly within >the xtables-addons build enviroment, and am inserting the kernel module with >no errors. When trying to create a rule with my target, I get the cryptic >error: > >iptables --verbose --table filter --insert INPUT --protocol TCP -m state >--state ESTABLISHED --jump TAP --device TAPPY >TAP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 state ESTABLISHED TAP >dev:TAPPY >iptables: No chain/target/match by that name. When you want iptables to recognize (the user portion) of Xt-a's extra modules, you need to point to it via the XTABLES_LIBDIR environment variable. XTABLES_LIBDIR=$HOME/xta/extensions:/usr/lib(64)/xtables iptables -S Don't forget usr/lib/xtables otherwise it won't find the tcp match and all the ones that already ship with iptables. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html