From: Rob <rob00si@fastmail.fm>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: wondershaper kills eth0 :(
Date: Wed, 30 Oct 2002 21:35:14 +0000 [thread overview]
Message-ID: <marc-lartc-103601373730922@msgid-missing> (raw)
Hi,
So, I've isolated the problem to this piece of code from the script:
########## downlink #############
# slow downloads down to somewhat less than the real speed to prevent
# queuing at our ISP. Tune to see how high you can set it.
# ISPs tend to have *huge* queues to make sure big downloads are fast
#
# attach ingress policer:
tc qdisc add dev $DEV handle ffff: ingress
# filter *everything* to it (0.0.0.0/0), drop everything that's
# coming in too fast:
= HERE =
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
=====
and I really have no idea why this would cause the interface to drop all
packets (that's what it seems to be doing).
Anyone have any ideas??
BTW, wondershaper script is at:
http://lartc.org/wondershaper/
Thanks,
Rob
On Mon, 28 Oct 2002 13:43:35 -0500
Rob <rob00si@fastmail.fm> wrote:
> Hi,
>
> When i do 'wshaper start' the interface i have defined stops routing
> traffic for some reason. It resumes routing when i do 'wshaper stop'.
>
> I'm using debian stable (3.0 woody) with debian's default 2.4.18-686
> kernel.
>
> When I run the script I get no errors, and when I do a 'status',
> everything looks correct.
>
> Can ANYONE please give me a little insight as to what to do?
>
> I have the variables set as follows:
>
> DOWNLINK\x1450
> UPLINK\x180
> DEV=eth0
>
> The machine is a NAT machine. I'm using shorewall to handle the NAT
> stuff for me. But even with shorewall disabled, wshaper still fails.
>
> Thank you for your help.
>
> -Rob
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-10-30 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 21:35 Rob [this message]
2002-10-30 23:27 ` [LARTC] Re: wondershaper kills eth0 :( Kenneth Porter
2002-10-31 3:07 ` Rob
2002-10-31 3:34 ` Kenneth Porter
2002-10-31 4:46 ` Rob
2002-11-01 1:33 ` Kenneth Porter
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=marc-lartc-103601373730922@msgid-missing \
--to=rob00si@fastmail.fm \
--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.