Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133932 - iproute2 ipt action not working cause of wrong ipt patch
Summary: iproute2 ipt action not working cause of wrong ipt patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-21 03:30 UTC by Denys
Modified: 2006-06-11 07:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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