Home | History | Annotate | Line # | Download | only in altq.conf.samples
      1  1.1  thorpej #
      2  1.1  thorpej # cbq config for wide-camp (98 spring)
      3  1.1  thorpej #   384kbps line for more than 250 people
      4  1.1  thorpej #	
      5  1.1  thorpej interface sr0 bandwidth 384000 cbq
      6  1.1  thorpej class cbq sr0 root NULL priority 0 pbandwidth 100
      7  1.1  thorpej #
      8  1.1  thorpej # meta classes
      9  1.1  thorpej #
     10  1.1  thorpej class cbq sr0 ctl_class root priority 3 pbandwidth 4 maxburst 4 control
     11  1.1  thorpej class cbq sr0 def_class root borrow priority 2 pbandwidth 60 default
     12  1.1  thorpej #
     13  1.1  thorpej class cbq sr0 bulk def_class borrow priority 0 pbandwidth 20
     14  1.1  thorpej class cbq sr0 misc def_class borrow priority 0 pbandwidth 12
     15  1.1  thorpej class cbq sr0 intr def_class borrow priority 0 pbandwidth 24
     16  1.1  thorpej 
     17  1.1  thorpej #
     18  1.1  thorpej # leaf classes
     19  1.1  thorpej #
     20  1.1  thorpej 
     21  1.1  thorpej #
     22  1.1  thorpej #  bulk data classes
     23  1.1  thorpej #
     24  1.1  thorpej class cbq sr0 tcp bulk borrow priority 3 pbandwidth 4 maxburst 8 red
     25  1.1  thorpej 	filter sr0 tcp 0 0 0 0 6	# other tcp
     26  1.1  thorpej class cbq sr0 ftp bulk borrow priority 3 pbandwidth 4 maxburst 8 red
     27  1.1  thorpej 	filter sr0 ftp 0 0 0 20 6	# ftp-data
     28  1.1  thorpej 	filter sr0 ftp 0 20 0 0 6	# ftp-data
     29  1.1  thorpej class cbq sr0 http bulk borrow priority 3 pbandwidth 4 maxburst 8 red
     30  1.1  thorpej 	filter sr0 http 0 0 0 80 6	# http
     31  1.1  thorpej 	filter sr0 http 0 80 0 0 6	# http
     32  1.1  thorpej 	filter sr0 http 0 0 0 8080 6	# cache
     33  1.1  thorpej 	filter sr0 http 0 8080 0 0 6	# cache
     34  1.1  thorpej 	filter sr0 http 0 0 0 443 6	# https
     35  1.1  thorpej 	filter sr0 http 0 443 0 0 6	# https
     36  1.1  thorpej class cbq sr0 pop3 bulk borrow priority 3 pbandwidth 4 maxburst 8 red
     37  1.1  thorpej 	filter sr0 pop3 0 0 0 110 6	# pop3
     38  1.1  thorpej 	filter sr0 pop3 0 110 0 0 6	# pop3
     39  1.1  thorpej class cbq sr0 imap bulk borrow priority 3 pbandwidth 4 maxburst 8 red
     40  1.1  thorpej 	filter sr0 imap 0 0 0 143 6	# imap
     41  1.1  thorpej 	filter sr0 imap 0 143 0 0 6	# imap
     42  1.1  thorpej #
     43  1.1  thorpej # misc (udp) classes
     44  1.1  thorpej #
     45  1.1  thorpej class cbq sr0 udp misc borrow priority 3 pbandwidth 4 maxburst 8 red
     46  1.1  thorpej 	filter sr0 udp 0 0 0 0 17	# other udp
     47  1.1  thorpej class cbq sr0 cbq misc borrow priority 3 pbandwidth 4 maxburst 8 red
     48  1.1  thorpej 	filter sr0 cbq 224.8.8.0 0 0 0 17	# cbq traffic monitor
     49  1.1  thorpej class cbq sr0 rip misc borrow priority 3 pbandwidth 4 maxburst 8 red
     50  1.1  thorpej 	filter sr0 rip 0 520 0 0 17	# rip
     51  1.1  thorpej #
     52  1.1  thorpej # interactive classes
     53  1.1  thorpej #
     54  1.1  thorpej class cbq sr0 dns intr borrow priority 5 pbandwidth 4 maxburst 8 red
     55  1.1  thorpej 	filter sr0 dns 0 0 0 53 17
     56  1.1  thorpej 	filter sr0 dns 0 0 0 53 6
     57  1.1  thorpej class cbq sr0 telnet intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
     58  1.1  thorpej 	filter sr0 telnet 0 0 0 23 6	# telnet
     59  1.1  thorpej 	filter sr0 telnet 0 23 0 0 6	# telnet
     60  1.1  thorpej 	filter sr0 telnet 0 0 0 513 6	# rlogin
     61  1.1  thorpej 	filter sr0 telnet 0 513 0 0 6	# rlogin
     62  1.1  thorpej class cbq sr0 ssh intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
     63  1.1  thorpej 	filter sr0 ssh 0 0 0 22 6	# ssh
     64  1.1  thorpej 	filter sr0 ssh 0 22 0 0 6	# ssh
     65  1.1  thorpej class cbq sr0 ipv6 intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
     66  1.1  thorpej 	filter sr0 ipv6 0 0 0 0 41	# ipv6
     67  1.1  thorpej class cbq sr0 ipsec intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
     68  1.1  thorpej 	filter sr0 ipsec 0 0 0 0 50	# ipsec (ah)
     69  1.1  thorpej 	filter sr0 ipsec 0 0 0 0 51	# ipsec (esp)
     70  1.1  thorpej 
     71  1.1  thorpej ## irc for soi staff
     72  1.1  thorpej class cbq sr0 irc intr borrow priority 4 pbandwidth 4 maxburst 8 red
     73  1.1  thorpej 	filter sr0 irc 0 6667 0 0 6	# soi irc
     74  1.1  thorpej 	filter sr0 irc 0 0 0 6667 6	# soi irc
     75  1.1  thorpej #
     76  1.1  thorpej # fec
     77  1.1  thorpej #
     78  1.1  thorpej class cbq sr0 fec root borrow priority 0 pbandwidth 0 maxburst 8 # red
     79  1.1  thorpej 	filter sr0 fec 0 0 0 0 200	# fec
     80  1.1  thorpej #
     81  1.1  thorpej # soi video live
     82  1.1  thorpej #
     83  1.1  thorpej class cbq sr0 soi root priority 0 pbandwidth 32
     84  1.1  thorpej #
     85  1.1  thorpej class cbq sr0 video soi borrow priority 3 pbandwidth 16 maxburst 8 red
     86  1.1  thorpej 	filter sr0 video 0 7070 0 0 17	# soi video
     87  1.1  thorpej class cbq sr0 voice soi borrow priority 3 pbandwidth 16 maxburst 8 red
     88  1.1  thorpej 	filter sr0 voice 0 40034 0 0 17	# soi i-phone
     89  1.1  thorpej 
     90  1.1  thorpej #
     91  1.1  thorpej # protection against tunnel (including mbone tunnel)
     92  1.1  thorpej #
     93  1.1  thorpej class cbq sr0 ipip root borrow priority 0 pbandwidth 0
     94  1.1  thorpej 	filter sr0 ipip 0 0 0 0 4	# ip-ip
     95