Gentoo Archives: gentoo-user

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tc filter add ... fails
Date: Wed, 09 Dec 2015 08:57:09
Message-Id: 20151209115639.b28e06c59e4fa04e2fa3015f@gentoo.org
In Reply to: [gentoo-user] tc filter add ... fails by lee
1 Hi,
2
3 On Thu, 26 Nov 2015 13:52:20 +0100 lee wrote:
4 > it seems I might be missing some kernel modules:
5 >
6 >
7 > ,----
8 > | heimdali ~ # tc filter add dev ppp0 parent ffff: protocol all prio 10 basic police mpu 64 rate 16000kbit burst 10kb action drop
9 > | RTNETLINK answers: Invalid argument
10 > | We have an error talking to the kernel
11 > | heimdali ~ #
12 > `----
13 >
14 >
15 > This is a filter shorewall would add. I have enabled options as shown
16 > in [1]. How can I find out which modules I'm missing, or what else went
17 > wrong?
18
19 See your dmesg after such command, it usually contains a hint on
20 what is wrong. Also it is much better to write iptables / iproute /
21 tc rules manually then using high level generators like shorewall —
22 this will give you a good understanding on what is going on and how
23 to optimize or tighten your setup.
24
25 Best regards,
26 Andrew Savchenko

Replies

Subject Author
Re: [gentoo-user] tc filter add ... fails Peter Humphrey <peter@××××××××××××.uk>