https://bugzilla.novell.com/show_bug.cgi?id=406995
User marrob@people.it added comment
https://bugzilla.novell.com/show_bug.cgi?id=406995#c4
Marco Montanari changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marrob@people.it
--- Comment #4 from Marco Montanari 2008-08-19 01:49:22 MDT ---
You should test the specific distro before closing a bug.
First of all extended matched in default kernel are not enabled. We need to
config and rebuild the kernel. It's easy to verify: shorewall show capabilities
and look to Policy Match. I can't understand why: these are not experimental
features.
Than, I mean applying the patch, flowid error disappears (of course: the
warning is taken off from code), but tc shaping doesn't work anyway.
This is messagge error:
ERROR: Command "tc filter add dev eth0 parent ffff: protocol ip prio 50 u32
match ip src 0.0.0.0/0 police rate 2000kbit burst 10k drop flowid :1" Failed
This is the iproute's patch applyed:
spec.file
..
+ Patch8:%name-2-2.6.23-tc.diff
..
%patch7
+ %patch8
..
iproute2-2.6.23-tc.diff
--- tc/m_police.c 2007-10-16 23:27:42.000000000 +0200
+++ tc/m_police.c 2008-08-13 00:31:08.000000000 +0200
@@ -37,7 +37,7 @@
fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu
BYTES[/BYTES] ]\n");
fprintf(stderr, " [ peakrate BPS ] [ avrate BPS ]\n");
fprintf(stderr, " [ ACTIONTERM ]\n");
- fprintf(stderr, "Old Syntax ACTIONTERM := <EXCEEDACT>[/NOTEXCEEDACT]
\n");
+ fprintf(stderr, "Old Syntax ACTIONTERM := action
<EXCEEDACT>[/NOTEXCEEDACT] \n");
fprintf(stderr, "New Syntax ACTIONTERM := conform-exceed
<EXCEEDACT>[/NOTEXCEEDACT] \n");
fprintf(stderr, "Where: *EXCEEDACT := pipe | ok | reclassify | drop |
continue \n");
fprintf(stderr, "Where: pipe is only valid for new syntax \n");
@@ -237,8 +237,7 @@
} else if (strcmp(*argv, "help") == 0) {
usage();
} else {
- fprintf(stderr, "What is \"%s\"?\n", *argv);
- return -1;
+ break;
}
ok++;
argc--; argv++;
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.