modified wondershaper script causes hardlock in server

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I've modified my copy of the wondershaper script to add a few
filters that allow traffic to and from a few specific ips go through
with a speed of up to 100Mbits...

I increased the root from 10 to 100mbit, and added this bit of code a
bit further down the script;

# Real time hosts
for i in 62.101.244.63/32 216.74.158.11/32 216.74.158.3/32
216.74.158.57/32; do
  tc filter add dev $DEV parent 1:0 protocol ip prio 1 u32 match ip src
$i flowid 1:0
  tc filter add dev $DEV parent 1:0 protocol ip prio 1 u32 match ip dst
$i flowid 1:0
done

but after using this modified script, the server would at random
intervals cease to function, not answering ping, not showing anything in
the console. No pertinent log entries were made at the time either.

Am I doing something stupid with this?
-- 
Morten

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux