alex wrote:
>     I try use setup traffic shaping with Shorewall-4.0.2 and have fault.
> When i start Shorewall with tc-files configured i get follow messages:
> 
> ...
> RTNETLINK answers: No such file or directory
> We have an error talking to the kernel
>     ERROR: Command "tc filter add dev eth2 parent ffff: protocol ip prio 
> 50 u32 match ip src 0.0.0.0/0 police rate 500kbit burst 10k drop flowid 
> :1" Failed
> Processing /etc/shorewall/stop ...
> IP Forwarding Enabled
> Processing /etc/shorewall/stopped ...
> /sbin/shorewall: line 375: 28072 Завершено      ${VARDIR}/.start 
> $debugging start
> 
>     If i run Shorewall's tc-command from shell i get:
> 
> gate / # tc filter add dev eth2 parent ffff: protocol ip prio 50 u32 match 
> ip src 0.0.0.0/0 police rate 500kbit burst 10k drop flowid :1
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
> 
>     What's wrong?

Looks like your kernel doesn't have 'traffic policing' support
(CONFIG_NET_ACT_POLICE).

You can work around the problem temporarily by specifying zero (0) as the
IN-BANDWIDTH.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to