Re: bandwidth for bkbits.net (good news)

From: Andrea Arcangeli
Date: Sun Aug 31 2003 - 09:52:01 EST


On Sun, Aug 31, 2003 at 03:47:17PM +0200, Pascal Schmidt wrote:
> On Sun, 31 Aug 2003, Andrea Arcangeli wrote:
>
> > This is what I use normally to limit my brother downloads, and it works
> > fine for me (though I don't often place calls through adsl myself, it's
> > basically useless since people only uses cellphones here, and last time
> > I chekced voip wasn't free for cellphones with my isp).
> >
> > this is the script:
>
> Mine is similar, though I use tc filters instead of firewalling
> rules (my machine is on 192.168.2.0/24, rest of the house is
> on 192.168.3.0/24) I'm using the imq device on a 2.2 kernel to
> have all traffic go through that device for shaping:

the main reason I choosen to mark the packets through netfilter is that
I don't find `tc` very intuitive (the most annoying thing is that it
misses a flush command), so it'll be quicker to add future tweaks this
way (like adding more ips or port/ip combinations into the "shaped"
channel)

thanks,
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/