All of lore.kernel.org
 help / color / mirror / Atom feed
* tc ipt action bug
@ 2009-01-03 20:29 Yawhen Kasarzhewski
  2009-01-04 14:48 ` jamal
  0 siblings, 1 reply; 2+ messages in thread
From: Yawhen Kasarzhewski @ 2009-01-03 20:29 UTC (permalink / raw)
  To: netdev

iproute is still using old iptables so failing to work with new xt_tables:

warp:~# tc filter add dev ppp0 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
/lib/iptables/libipt_mark.so: cannot open shared object file: No such 
file or directory
failed to find target MARK
warp:~# find /lib -name "*mark.so"
/lib/ebtables/libebt_mark.so
/lib/xtables/libxt_connmark.so
/lib/xtables/libxt_mark.so
warp:~# iptables -V
iptables v1.4.1.1
warp:~# tc -V
tc utility, iproute2-ss080725
warp:~# uname -a
Linux warp 2.6.26 #2 Sun Jul 27 21:06:55 EEST 2008 i686 GNU/Linux


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tc ipt action bug
  2009-01-03 20:29 tc ipt action bug Yawhen Kasarzhewski
@ 2009-01-04 14:48 ` jamal
  0 siblings, 0 replies; 2+ messages in thread
From: jamal @ 2009-01-04 14:48 UTC (permalink / raw)
  To: Yawhen Kasarzhewski; +Cc: netdev

Upgrade to latest iproute2 - probably from git tree which should fix
this in the following commit:
-----

commit 53c017880b311d7d68926109d4248c900286f6b7
Author: Denys Fedoryshchenko <nuclearcat@nuclearcat.com>
Date:   Mon Dec 24 11:51:11 2007 -0500

    iptables compatiablity
    
    New iptables 1.4.0 has some library names changed from libipt to
libxt.
    It is prefferable also to open libxt_ first, as newer "style".
    
    Signed-off-by: Denys Fedoryshchenko <nuclearcat@nuclearcat.com>
    Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
    Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-------

cheers,
jamal

On Sat, 2009-01-03 at 22:29 +0200, Yawhen Kasarzhewski wrote:
> iproute is still using old iptables so failing to work with new xt_tables:
> 
> warp:~# tc filter add dev ppp0 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
> /lib/iptables/libipt_mark.so: cannot open shared object file: No such 
> file or directory
> failed to find target MARK
> warp:~# find /lib -name "*mark.so"
> /lib/ebtables/libebt_mark.so
> /lib/xtables/libxt_connmark.so
> /lib/xtables/libxt_mark.so
> warp:~# iptables -V
> iptables v1.4.1.1
> warp:~# tc -V
> tc utility, iproute2-ss080725
> warp:~# uname -a
> Linux warp 2.6.26 #2 Sun Jul 27 21:06:55 EEST 2008 i686 GNU/Linux
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-04 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-03 20:29 tc ipt action bug Yawhen Kasarzhewski
2009-01-04 14:48 ` jamal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.