All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] port policy
@ 2001-12-03 13:17 Thomas Goebel
  2001-12-03 13:33 ` bert hubert
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Thomas Goebel @ 2001-12-03 13:17 UTC (permalink / raw)
  To: lartc

Hello,

is it possible to setup a traffic shaper by ports.

This means, can shape the traffic like this

Upload from my server to every where:
ftp = 10kbit
ssh = 5kbit
www = 10kbit
....

Regards,
Thomas

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] port policy
  2001-12-03 13:17 [LARTC] port policy Thomas Goebel
@ 2001-12-03 13:33 ` bert hubert
  2001-12-03 13:36 ` s I n
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bert hubert @ 2001-12-03 13:33 UTC (permalink / raw)
  To: lartc

On Mon, Dec 03, 2001 at 02:17:16PM +0100, Thomas Goebel wrote:

> This means, can shape the traffic like this
> 
> Upload from my server to every where:
> ftp = 10kbit
> ssh = 5kbit
> www = 10kbit

Yes. This is very easy with HTB or even CBQ. Read all about it in chapter 9.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] port policy
  2001-12-03 13:17 [LARTC] port policy Thomas Goebel
  2001-12-03 13:33 ` bert hubert
@ 2001-12-03 13:36 ` s I n
  2001-12-03 13:46 ` Stef Coene
  2001-12-03 14:15 ` Martin Josefsson
  3 siblings, 0 replies; 5+ messages in thread
From: s I n @ 2001-12-03 13:36 UTC (permalink / raw)
  To: lartc


try to use cbq.init (search freshmeat) and compile the kernel with modules
for QoS.


On Mon, 3 Dec 2001, Thomas Goebel wrote:

> Hello,
>
> is it possible to setup a traffic shaper by ports.
>
> This means, can shape the traffic like this
>
> Upload from my server to every where:
> ftp = 10kbit
> ssh = 5kbit
> www = 10kbit
> ....
>
> Regards,
> Thomas
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
>


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] port policy
  2001-12-03 13:17 [LARTC] port policy Thomas Goebel
  2001-12-03 13:33 ` bert hubert
  2001-12-03 13:36 ` s I n
@ 2001-12-03 13:46 ` Stef Coene
  2001-12-03 14:15 ` Martin Josefsson
  3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2001-12-03 13:46 UTC (permalink / raw)
  To: lartc

> Hello,
>
> is it possible to setup a traffic shaper by ports.
>
> This means, can shape the traffic like this
>
> Upload from my server to every where:
> ftp = 10kbit
> ssh = 5kbit
> www = 10kbit
You can use the u32 filter or the fw filter (in combination with 
iptbables/ipchains).

Stef



-- 

stef.coene@docum.org        stef.coene@belgacom.net
More QOS info : http://docum.org/
Title : "Using Linux as bandwidth manager"


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] port policy
  2001-12-03 13:17 [LARTC] port policy Thomas Goebel
                   ` (2 preceding siblings ...)
  2001-12-03 13:46 ` Stef Coene
@ 2001-12-03 14:15 ` Martin Josefsson
  3 siblings, 0 replies; 5+ messages in thread
From: Martin Josefsson @ 2001-12-03 14:15 UTC (permalink / raw)
  To: lartc

On Mon, 3 Dec 2001, bert hubert wrote:

> On Mon, Dec 03, 2001 at 02:17:16PM +0100, Thomas Goebel wrote:
> 
> > This means, can shape the traffic like this
> > 
> > Upload from my server to every where:
> > ftp = 10kbit
> > ssh = 5kbit
> > www = 10kbit
> 
> Yes. This is very easy with HTB or even CBQ. Read all about it in chapter 9.

ssh and www are very easy, the problem is ftp which often uses dynamic
ports.

What we'd need is to be able to mark connections related to ftp with a
specific mark in iptables for this to work 100%... hmm why didn't I think
of that before... I'll se if I have the time to look into this today.

/Martin

Never argue with an idiot. They drag you down to their level, then beat you with experience.


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-03 14:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-03 13:17 [LARTC] port policy Thomas Goebel
2001-12-03 13:33 ` bert hubert
2001-12-03 13:36 ` s I n
2001-12-03 13:46 ` Stef Coene
2001-12-03 14:15 ` Martin Josefsson

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.