2001-12-23 15:43:53

by Leigh Orf

[permalink] [raw]
Subject: port-based bandwidth throttling


Is it possible to throttle the bandwidth of traffic using a specific
port or range of ports? Say I want to limit the total outgoing traffic
on ports 12345-12456 to 100 kB/s. Or limit outgoing ftp-data (port
20) traffic to 200 kB/s (not using ftp software throttling). Is there
a kernel-based way to do tihs? I've looked at shapecfg but the docs
didn't help me much, and what I've seen of the QoS stuff goes over my
head. Some examples/pointers would be great.

Leigh Orf


2001-12-23 18:28:30

by Svein Ove Aas

[permalink] [raw]
Subject: Re: port-based bandwidth throttling

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 23. December 2001 16:43, Leigh Orf wrote:
> Is it possible to throttle the bandwidth of traffic using a specific
> port or range of ports? Say I want to limit the total outgoing traffic
> on ports 12345-12456 to 100 kB/s. Or limit outgoing ftp-data (port
> 20) traffic to 200 kB/s (not using ftp software throttling). Is there
> a kernel-based way to do tihs? I've looked at shapecfg but the docs
> didn't help me much, and what I've seen of the QoS stuff goes over my
> head. Some examples/pointers would be great.
>
> Leigh Orf

You want to read the Linux Advanced Routing & Traffic Control HOWTO, at
http://ds9a.nl/lartc/

- --
Svein Ove Aas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8JiIzV16YNKh+HBMRAs2SAJ46Tjnn0Gon+JS3NSj92Aa8FJBywwCeINMs
Pl2UhDJe6Z2jQxwqsSSTagY=
=uGbb
-----END PGP SIGNATURE-----