All of lore.kernel.org
 help / color / mirror / Atom feed
From: Morten Nilsen <morten@nilsen.com>
To: lartc@vger.kernel.org
Subject: [LARTC] modified wondershaper script causes hardlock in server
Date: Sun, 30 May 2004 19:21:25 +0000	[thread overview]
Message-ID: <40BA3435.7070307@nilsen.com> (raw)

[-- 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 --]

             reply	other threads:[~2004-05-30 19:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-30 19:21 Morten Nilsen [this message]
2004-05-31  0:41 ` [LARTC] modified wondershaper script causes hardlock in server Damion de Soto
2004-05-31 10:08 ` Morten Nilsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40BA3435.7070307@nilsen.com \
    --to=morten@nilsen.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.