pkgs to monitor traffic

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have a 256kbit link where I have shaped 64kbit for downloading @ one ethernet. (eth1)

I am using mrtg to monior it. it works fine. In addition to that, I am looking for some other pkgs.

Are there good pkgs for that purpose?


below is my script for dowmloading. I am looking for pkgs that suit below script.
 
#traffic shaping on eth1 (Downloading)

INTERFAZ_DMZ=eth1
FULLBANDWIDTH=256
BANDWIDTH4DMZ=64

tc qdisc del root dev $INTERFAZ_DMZ

tc qdisc add dev $INTERFAZ_DMZ root handle 1: htb r2q 4
tc class add dev $INTERFAZ_DMZ parent 1: classid 1:1 htb rate "$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_DMZ parent 1:1 classid 1:10 htb rate "$BANDWIDTH4DMZ"Kbit
tc qdisc add dev $INTERFAZ_DMZ parent 1:10 handle 10: sfq perturb 10
tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip sport 80 0xffff match ip dst 192.168.100.0/24 classid 1:10
tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip sport 443 0xffff match ip dst 192.168.100.0/24 classid 1:10


HOPE TO HEAR FROM YOU



--
Thank you
Indunil Jayasooriya
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux