Skip to contentSkip to conversation

Limit traffic per session

LARTC Navarro Martínez, Juan Antonio 4 participants 4 messages Dec 19, 2001

lore
Share & tools
lore
#0 lore raw

Dear All:

I have readed the FAQ, and I would like to limit per session
bandwidth, I means:

Let us suppose that I have an FTP and I want to give for each
session established a rate of 5 kbps.

Then from any IP I connect to my FTP and I get 5 kbps, I establish a
new session and I get 5 kbps, and again, but any session has a maximum of 5 kbps.

It's possible to do this with tc and ip commands? how?

I have readed docs about tc and ip, and I found that I can put QoS
with classifiers, but nothing similar to this based on a per session settings.

Greetings

Juan Antonio Navarro

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#1 lore raw

hi!

Quoted 1 line

It's possible to do this with tc and ip commands? how?

Isn't it easier to realize this with your ftp-daemon?

just a guess
Sebastian

Signature · 9 lines
Sebastian 'spax' Pape          | Second place is first loser!   
mailto: [email protected]   | 
pgp: http://p-a-p-e.de/pgp.asc | 
         --- Do you want to know more? http://www.p-a-p-e.de/ ---


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#2 lore raw
In reply to Navarro Martínez, Juan Antonio
Quoted 5 lines · Juan Antonio

Dear All:

I have readed the FAQ, and I would like to limit per session
bandwidth, I means:

Quoted 8 lines

Let us suppose that I have an FTP and I want to give for each
session established a rate of 5 kbps.

Then from any IP I connect to my FTP and I get 5 kbps, I establish a
new session and I get 5 kbps, and again, but any session has a maximum of 5 kbps.

It's possible to do this with tc and ip commands? how?

This is the second most asked question on the list and on the IRC channel (go there, 11 people already!).

The first one is 'I have x internet connections and now I want to ftp at twice the speed'.

Perhaps people can figure out what they want *exactly* from this equaliser. Because you probably want exceptions. Also note that SFQ may do part of what you want.

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#3 lore raw
In reply to Navarro Martínez, Juan Antonio
Quoted 2 lines

This is the second most asked question on the list and on the IRC channel (go there, 11 people already!).

waar was dat ook al weer ?
Dan kom ik ook eens op bezoek

Stef

Signature · 8 lines
[email protected]
 More QOS info : http://docum.org/
 Title : "Using Linux as bandwidth manager"
     

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/