Koozali.org: home of the SME Server

Traffic Shaper

jesus

Traffic Shaper
« on: August 08, 2001, 08:17:00 AM »
Can I use the traffic shaper in the e-smith server?

Sorry my english, is poor

Craig Foster

Re: Traffic Shaper
« Reply #1 on: August 09, 2001, 04:32:28 AM »
I've got a half-finished RPM sitting on my computer that should take care of traffic shaping in an admin web-page.

In short, yes, you can use traffic shaping, but you also have to modify the /etc/init.d/masq templates to assign traffic types their categories.

What were you looking for in particular?

Regards

Craig Foster

jesus

Re: Traffic Shaper
« Reply #2 on: August 09, 2001, 05:34:04 AM »
how can i limit the bandwidth; this is, for example, assing to 192.168.1.11/255.255.255.0 --> 64 kbps, 192.168.0.12/255.255.255.0 --> 128 kbps and others ip's.
This is Because I have an wireless lan, and I have seen  this link: http://linux-br.conectiva.com.br/arquivo/2001/05/msg04104.html and i wonder if is this possible in the Smith Server.


Tanks

Jesus

Nameguy

Re: Traffic Shaper
« Reply #3 on: August 09, 2001, 08:41:35 PM »
Do you say your name like "Jeez-us" or like "Hey-Zoos"?

Just wondering.

Craig Foster

Re: Traffic Shaper
« Reply #4 on: August 12, 2001, 09:00:05 PM »
The deal is:-

The I've got an e-smith management module, but I'm stuck deciding between too flexible or easy to use :-) I've think this is the easiest layout though



Choose the closest inbound links speed (in kps)   [56, 128, 256,512,1000,1500, 2000]

Note: DNS and ICMP will only ever be given a maximum of 5% of the total inbound bandwidth. This should help stop the majority of ping-flood style DoS attacks.

Bandwidth Allocation (in %)

HTTP and HTTPS             [10,20,30,40,50,60,70,80]     [Hard Limit, Soft Limit]
Mail (POP & SMTP)         [10,20,30,40,50,60,70,80]     [Hard Limit, Soft Limit]
FTP File Transfers            [10,20,30,40,50,60,70,80]     [Hard Limit, Soft Limit]
SSH Administration          [10,20,30,40,50,60,70,80]     [Hard Limit, Soft Limit]
Game Servers                  [10,20,30,40,50,60,70,80]     [Hard Limit, Soft Limit]
NAT Communications       [10,20,30,40,50,60,70,80]     [Hard Limit, Soft Limit]
     (masqueraded connections above port 1024)



The page then calculates the Hard and Soft Bandwidth limits to give you an idea of how much traffic each should do. I've got a friend working on a horizontal compound bar graph showing these limits.

The main problems are:-

Other networks (eg 192.168.1.*)
Other inbound traffic speeds
Time
Flexibility further down the track such as other protocols or server daemons
Other e-smith official and contrib ipmasq RPMs toes
Time
Coding for good perl
Time


Regards,

Craig Foster

steve

Re: Traffic Shaper
« Reply #5 on: August 12, 2001, 09:09:26 PM »
Sounds good, when, where & how ?