All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] modified wondershaper script causes hardlock in server
@ 2004-05-30 19:21 Morten Nilsen
  2004-05-31  0:41 ` Damion de Soto
  2004-05-31 10:08 ` Morten Nilsen
  0 siblings, 2 replies; 3+ messages in thread
From: Morten Nilsen @ 2004-05-30 19:21 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

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 #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3170 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-31 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-30 19:21 [LARTC] modified wondershaper script causes hardlock in server Morten Nilsen
2004-05-31  0:41 ` Damion de Soto
2004-05-31 10:08 ` Morten Nilsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.