2 # cbq config for wide-camp (98 spring)
3 # 384kbps line for more than 250 people
5 interface sr0 bandwidth 384000 cbq
6 class cbq sr0 root NULL priority 0 pbandwidth 100
10 class cbq sr0 ctl_class root priority 3 pbandwidth 4 maxburst 4 control
11 class cbq sr0 def_class root borrow priority 2 pbandwidth 60 default
13 class cbq sr0 bulk def_class borrow priority 0 pbandwidth 20
14 class cbq sr0 misc def_class borrow priority 0 pbandwidth 12
15 class cbq sr0 intr def_class borrow priority 0 pbandwidth 24
24 class cbq sr0 tcp bulk borrow priority 3 pbandwidth 4 maxburst 8 red
25 filter sr0 tcp 0 0 0 0 6 # other tcp
26 class cbq sr0 ftp bulk borrow priority 3 pbandwidth 4 maxburst 8 red
27 filter sr0 ftp 0 0 0 20 6 # ftp-data
28 filter sr0 ftp 0 20 0 0 6 # ftp-data
29 class cbq sr0 http bulk borrow priority 3 pbandwidth 4 maxburst 8 red
30 filter sr0 http 0 0 0 80 6 # http
31 filter sr0 http 0 80 0 0 6 # http
32 filter sr0 http 0 0 0 8080 6 # cache
33 filter sr0 http 0 8080 0 0 6 # cache
34 filter sr0 http 0 0 0 443 6 # https
35 filter sr0 http 0 443 0 0 6 # https
36 class cbq sr0 pop3 bulk borrow priority 3 pbandwidth 4 maxburst 8 red
37 filter sr0 pop3 0 0 0 110 6 # pop3
38 filter sr0 pop3 0 110 0 0 6 # pop3
39 class cbq sr0 imap bulk borrow priority 3 pbandwidth 4 maxburst 8 red
40 filter sr0 imap 0 0 0 143 6 # imap
41 filter sr0 imap 0 143 0 0 6 # imap
45 class cbq sr0 udp misc borrow priority 3 pbandwidth 4 maxburst 8 red
46 filter sr0 udp 0 0 0 0 17 # other udp
47 class cbq sr0 cbq misc borrow priority 3 pbandwidth 4 maxburst 8 red
48 filter sr0 cbq 224.8.8.0 0 0 0 17 # cbq traffic monitor
49 class cbq sr0 rip misc borrow priority 3 pbandwidth 4 maxburst 8 red
50 filter sr0 rip 0 520 0 0 17 # rip
54 class cbq sr0 dns intr borrow priority 5 pbandwidth 4 maxburst 8 red
55 filter sr0 dns 0 0 0 53 17
56 filter sr0 dns 0 0 0 53 6
57 class cbq sr0 telnet intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
58 filter sr0 telnet 0 0 0 23 6 # telnet
59 filter sr0 telnet 0 23 0 0 6 # telnet
60 filter sr0 telnet 0 0 0 513 6 # rlogin
61 filter sr0 telnet 0 513 0 0 6 # rlogin
62 class cbq sr0 ssh intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
63 filter sr0 ssh 0 0 0 22 6 # ssh
64 filter sr0 ssh 0 22 0 0 6 # ssh
65 class cbq sr0 ipv6 intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
66 filter sr0 ipv6 0 0 0 0 41 # ipv6
67 class cbq sr0 ipsec intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
68 filter sr0 ipsec 0 0 0 0 50 # ipsec (ah)
69 filter sr0 ipsec 0 0 0 0 51 # ipsec (esp)
72 class cbq sr0 irc intr borrow priority 4 pbandwidth 4 maxburst 8 red
73 filter sr0 irc 0 6667 0 0 6 # soi irc
74 filter sr0 irc 0 0 0 6667 6 # soi irc
78 class cbq sr0 fec root borrow priority 0 pbandwidth 0 maxburst 8 # red
79 filter sr0 fec 0 0 0 0 200 # fec
83 class cbq sr0 soi root priority 0 pbandwidth 32
85 class cbq sr0 video soi borrow priority 3 pbandwidth 16 maxburst 8 red
86 filter sr0 video 0 7070 0 0 17 # soi video
87 class cbq sr0 voice soi borrow priority 3 pbandwidth 16 maxburst 8 red
88 filter sr0 voice 0 40034 0 0 17 # soi i-phone
91 # protection against tunnel (including mbone tunnel)
93 class cbq sr0 ipip root borrow priority 0 pbandwidth 0
94 filter sr0 ipip 0 0 0 0 4 # ip-ip