RAQCOP = IPCop + Cobalt Raq, Cobalt Raq Firewall Applicance Software, Velociraptor Software Upgrade.
      Home      How To Install      Rom Flash      Download Area      Support Forum     
QOS Range Generation Script For Raqcop and Ipcop
raqcop.com
May 19, 2012, 12:59:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: QOS Range Generation Script For Raqcop and Ipcop  (Read 946 times)
Davesworld
Administrator
Sr. Member
*****
Posts: 296


I'm the same Dave who patches and compiles raqcop.


View Profile WWW
« on: November 10, 2009, 09:47:28 PM »

Hello folks! I found a script on an Australian forum for adding a large range of ports to IPCop's wondershaper. It had errors such as location and it inserted a space that is not supposed to be there in /var/ipcop/shaping/config right after the priority and before the comma so I fixed them and now it works perfectly.

My motivation for using this is that my VOIP service Ooma, uses VPN for tunneling sip over and has three or so predefined udp ports and one tcp port but none of those carry the bulk during a phone call. When on a call, a random udp port between 10000 and 20000 is assigned for that call and it carries almost all of the bandwidth as seen by running iftop. 10000 entries is a lot to do one at a time in the web gui by hand.

With the script it prompted me for the beginning port, the ending port, and what type (udp, tcp, etc) and the priority explaining that 10 is high, 20 is medium and 30 is low.

My resultant conf file is about 156KB and the web gui really doesn't take that long to load and all the ports can be seen along with the priority I assigned.

I really shy away from using the level 7 kernel patching unless I am convinced otherwise but that's a separate subject. Here is the link:

http://downloads.raqcop.com/cobalt_ipco ... .sh.tar.gz

And the readme:

http://downloads.raqcop.com/cobalt_ipco ... me_qos.txt
Logged

Main Daily Firewall: Cobalt Raq 4i modded to use a low voltage K6-III 1.8v 256k cache 500mhz clocked at 550mhz, VFD display. Raqcop 1.4.21
 
Others: One additional 4i for development left stock and two Symantec Velociraptor 500's with the 550mhz low voltage processor mod. Raq550, Two Raq XTR units

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!