cbq.widecamp revision 1.1
11.1Sthorpej#
21.1Sthorpej# cbq config for wide-camp (98 spring)
31.1Sthorpej#   384kbps line for more than 250 people
41.1Sthorpej#	
51.1Sthorpejinterface sr0 bandwidth 384000 cbq
61.1Sthorpejclass cbq sr0 root NULL priority 0 pbandwidth 100
71.1Sthorpej#
81.1Sthorpej# meta classes
91.1Sthorpej#
101.1Sthorpejclass cbq sr0 ctl_class root priority 3 pbandwidth 4 maxburst 4 control
111.1Sthorpejclass cbq sr0 def_class root borrow priority 2 pbandwidth 60 default
121.1Sthorpej#
131.1Sthorpejclass cbq sr0 bulk def_class borrow priority 0 pbandwidth 20
141.1Sthorpejclass cbq sr0 misc def_class borrow priority 0 pbandwidth 12
151.1Sthorpejclass cbq sr0 intr def_class borrow priority 0 pbandwidth 24
161.1Sthorpej
171.1Sthorpej#
181.1Sthorpej# leaf classes
191.1Sthorpej#
201.1Sthorpej
211.1Sthorpej#
221.1Sthorpej#  bulk data classes
231.1Sthorpej#
241.1Sthorpejclass cbq sr0 tcp bulk borrow priority 3 pbandwidth 4 maxburst 8 red
251.1Sthorpej	filter sr0 tcp 0 0 0 0 6	# other tcp
261.1Sthorpejclass cbq sr0 ftp bulk borrow priority 3 pbandwidth 4 maxburst 8 red
271.1Sthorpej	filter sr0 ftp 0 0 0 20 6	# ftp-data
281.1Sthorpej	filter sr0 ftp 0 20 0 0 6	# ftp-data
291.1Sthorpejclass cbq sr0 http bulk borrow priority 3 pbandwidth 4 maxburst 8 red
301.1Sthorpej	filter sr0 http 0 0 0 80 6	# http
311.1Sthorpej	filter sr0 http 0 80 0 0 6	# http
321.1Sthorpej	filter sr0 http 0 0 0 8080 6	# cache
331.1Sthorpej	filter sr0 http 0 8080 0 0 6	# cache
341.1Sthorpej	filter sr0 http 0 0 0 443 6	# https
351.1Sthorpej	filter sr0 http 0 443 0 0 6	# https
361.1Sthorpejclass cbq sr0 pop3 bulk borrow priority 3 pbandwidth 4 maxburst 8 red
371.1Sthorpej	filter sr0 pop3 0 0 0 110 6	# pop3
381.1Sthorpej	filter sr0 pop3 0 110 0 0 6	# pop3
391.1Sthorpejclass cbq sr0 imap bulk borrow priority 3 pbandwidth 4 maxburst 8 red
401.1Sthorpej	filter sr0 imap 0 0 0 143 6	# imap
411.1Sthorpej	filter sr0 imap 0 143 0 0 6	# imap
421.1Sthorpej#
431.1Sthorpej# misc (udp) classes
441.1Sthorpej#
451.1Sthorpejclass cbq sr0 udp misc borrow priority 3 pbandwidth 4 maxburst 8 red
461.1Sthorpej	filter sr0 udp 0 0 0 0 17	# other udp
471.1Sthorpejclass cbq sr0 cbq misc borrow priority 3 pbandwidth 4 maxburst 8 red
481.1Sthorpej	filter sr0 cbq 224.8.8.0 0 0 0 17	# cbq traffic monitor
491.1Sthorpejclass cbq sr0 rip misc borrow priority 3 pbandwidth 4 maxburst 8 red
501.1Sthorpej	filter sr0 rip 0 520 0 0 17	# rip
511.1Sthorpej#
521.1Sthorpej# interactive classes
531.1Sthorpej#
541.1Sthorpejclass cbq sr0 dns intr borrow priority 5 pbandwidth 4 maxburst 8 red
551.1Sthorpej	filter sr0 dns 0 0 0 53 17
561.1Sthorpej	filter sr0 dns 0 0 0 53 6
571.1Sthorpejclass cbq sr0 telnet intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
581.1Sthorpej	filter sr0 telnet 0 0 0 23 6	# telnet
591.1Sthorpej	filter sr0 telnet 0 23 0 0 6	# telnet
601.1Sthorpej	filter sr0 telnet 0 0 0 513 6	# rlogin
611.1Sthorpej	filter sr0 telnet 0 513 0 0 6	# rlogin
621.1Sthorpejclass cbq sr0 ssh intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
631.1Sthorpej	filter sr0 ssh 0 0 0 22 6	# ssh
641.1Sthorpej	filter sr0 ssh 0 22 0 0 6	# ssh
651.1Sthorpejclass cbq sr0 ipv6 intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
661.1Sthorpej	filter sr0 ipv6 0 0 0 0 41	# ipv6
671.1Sthorpejclass cbq sr0 ipsec intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
681.1Sthorpej	filter sr0 ipsec 0 0 0 0 50	# ipsec (ah)
691.1Sthorpej	filter sr0 ipsec 0 0 0 0 51	# ipsec (esp)
701.1Sthorpej
711.1Sthorpej## irc for soi staff
721.1Sthorpejclass cbq sr0 irc intr borrow priority 4 pbandwidth 4 maxburst 8 red
731.1Sthorpej	filter sr0 irc 0 6667 0 0 6	# soi irc
741.1Sthorpej	filter sr0 irc 0 0 0 6667 6	# soi irc
751.1Sthorpej#
761.1Sthorpej# fec
771.1Sthorpej#
781.1Sthorpejclass cbq sr0 fec root borrow priority 0 pbandwidth 0 maxburst 8 # red
791.1Sthorpej	filter sr0 fec 0 0 0 0 200	# fec
801.1Sthorpej#
811.1Sthorpej# soi video live
821.1Sthorpej#
831.1Sthorpejclass cbq sr0 soi root priority 0 pbandwidth 32
841.1Sthorpej#
851.1Sthorpejclass cbq sr0 video soi borrow priority 3 pbandwidth 16 maxburst 8 red
861.1Sthorpej	filter sr0 video 0 7070 0 0 17	# soi video
871.1Sthorpejclass cbq sr0 voice soi borrow priority 3 pbandwidth 16 maxburst 8 red
881.1Sthorpej	filter sr0 voice 0 40034 0 0 17	# soi i-phone
891.1Sthorpej
901.1Sthorpej#
911.1Sthorpej# protection against tunnel (including mbone tunnel)
921.1Sthorpej#
931.1Sthorpejclass cbq sr0 ipip root borrow priority 0 pbandwidth 0
941.1Sthorpej	filter sr0 ipip 0 0 0 0 4	# ip-ip
95