testing the cbq how to
hello group,
i need some help in debugging my cbq work, i have the following
setup at my dorms,
i have 2 computers and a 10 mbit hub, i use the schools connection. we have a T1 connection( i think so...).
one of the machine is configured to be the firewall(p.q.r.s) and the other machine has a private address of (a.b.c.d)
i am running the following services on a.b.c.d
real server using 8080, 7070, 554, 26887
apache webserver 80,443
i want to allocate 70% for realserver and apache server, ssh,telnet,ftp,nntp 20%, smtp and pop 5% and ICMP and TCP-SYN traffic the remaining 5%
i want to limit some of friends from accessing and attacking my computer.
for better service, more over its a good learning experience i have written a firewall script and want to do some qos
can anyone tell me how if my script is right or wrong, i want to measure if the queuing is working fine or not. i downloaded monitor.pl from docum.org and put it on cgi-bin of my firewall(p.q.r.s) where i am currently running apache.
i am getting a internal error, i am not good at perl, so can anyone tell me how i can monitor the bandwidth and see if monitor.pl is working or not.
i am attaching my code to this mail, i will grateful to you if u can help me identify the problem in my shell script( it doesn't give me any error -- but i donot know what the errors are hidden :-))
thanks
gamesh
_________________________________________________________
There is always a better job for you at Monsterindia.com. Go now http://monsterindia.com/rediffin/
Quoted 3 lines
i am getting a internal error, i am not good at perl, so can anyone tell me how i can monitor the bandwidth and see if monitor.pl is working or not.
I have 2 versions of monitor.pl. One character based and one for in the cgi-bin. Did you download the good one?
Can you paste me the output of monitor.pl when you run it on the command line? You can also take a look in the error.log (for me that's /var/log/appache/error.log). If the monitor.pl generates errors, it will be logged in the logfile.
Quoted 3 lines
i am attaching my code to this mail, i will grateful to you if u can help me identify the problem in my shell script( it doesn't give me any error -- but i donot know what the errors are hidden
You never told us if it's working or not :)
The script looks ok.
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/