Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133932

Summary: iproute2 ipt action not working cause of wrong ipt patch
Product: Gentoo Linux Reporter: Denys <nuclearcat>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Denys 2006-05-21 03:30:33 UTC
iproute2 contain file
include/iptables.h
...
#ifndef IPT_LIB_DIR
#define IPT_LIB_DIR "/usr/local/lib/iptables"
#endif
...
As i understand, on compilation time by default this variable not defined, as result path to iptables libraries wrong.

This is a command:
/sbin/tc filter add dev eth0 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

Output:
/usr/local/lib/iptables/libipt_mark.so: cannot open shared object file: No such file or directory
 failed to find target MARK

bad action parsing
parse_action: bad value (11:ipt)!
Illegal "action"


I think it require trivial, but important fix.
Comment 1 Denys 2006-06-03 14:26:39 UTC
Any news on that?
It is trivial, really.
Please give just 5 minutes to fix in next release of iproute2.
Comment 2 SpanKY gentoo-dev 2006-06-11 07:47:45 UTC
fixed in cvs