TC is unable to find shared iptables libs. Iptables actions won't work. This is because they are searched in the wrong place. Solution: change ./iproute2-2.6.16-060323/tc/m_ipt.c at line 51 from hardcoded path #define IPT_LIB_DIR "/usr/local/lib/iptables" to #define IPT_LIB_DIR "/usr/lib/iptables" Reproducible: Always Steps to Reproduce: 1.Just follow the typical usage howto: http://linux-net.osdl.org/index.php/IFB 2. 3.
I have to add that it's the same on all ebuild: iproute2-2.6.19-061214 too.
> This is because they are searched in the wrong place. Solution: > change > ./iproute2-2.6.16-060323/tc/m_ipt.c at line 51 > from hardcoded path > #define IPT_LIB_DIR "/usr/local/lib/iptables" > to > #define IPT_LIB_DIR "/usr/lib/iptables" OOps sorry, gentoo path is /lib/iptables !
After further investigation I found that this SHOULD be solved yet, but it isn't! > OOps sorry, gentoo path is /lib/iptables ! # Use correct iptables dir, #144265. sed -i "s:/usr/local/lib/iptables:/$(get_libdir)/iptables:g" \ include/iptables.h /sbin/tc filter add dev eth1 parent ffff: protocol ip prio 10 u32 match u32 0 0 flowid 1:1 action ipt -j MARK --set-mark 1 action mirred egress redirect dev ifb0 /usr/lib/iptables/libipt_mark.so: cannot open shared object file: No such file or directory failed to find target MARK Do I need to rebuild iproute2? I will try
(In reply to comment #3) > Do I need to rebuild iproute2? I will try No, that does not help.
Reopen if you have problems w/ >=2.6.18.20061002