Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 7e2c8cd482a693200e65db6fd339357b > files > 6

flow-tools-0.68-7mdv2010.0.x86_64.rpm

#
# tag format
#
# 0       7         15        23        31
# 0000 0000 0000 0000 0000 0000 0000 0000 (32 bits)
# RRRRRRRRRRRRRR TTTT NNNNNNNNNNNNNNNNNNN
#              |    |                   | Site name
#              |    | Site type
#              | Reserved
#
# BGP community 65000:X is site name (X -> N)
# BGP community 65001:Y is site type (Y -> T)
# 
# SITE_NAME_MASK = 0x0000FFFF 
# SITE_TYPE_MASK = 0x00FF0000
#
# ID             Name
#---------------------------------
# 0x0001         OSU
# 0x0002         CWRU
# 0x0003         BGSU
# 0x0004         UC
# 0x0005         UAKRON
# 0x0006         WRIGHT
# 0x0007         KENT
# 0x0008         DAYTON
# 0x0009         OBERLIN
# 0x000A         OHIOU
# 0x000B         MIAMI
# 0x000C         MCO
# 0x000D         CSU
# 0x000E         DENISON
# 0x000F         JCU
# 0x0010         HIRAM
# 0x0011         OHIO-GIGAPOP
# 0x0012         OHIO-ITEC
# 0x0013         OSC
# 0x0014         CHMCC
# 0x0015         BWC
# 0x0016         FINDLAY
# 0x0017         XAVIER
# 0x0018         RIO-GRANDE
# 0x0019         MULTICAST

# ID             Type
#------------------------
# 0x01         Participant
# 0x02         SEGP
# 0x03         Sponsored-Participant
# 0x04         Gigapop
# 0x05         MULTICAST

tag-action OHIO-GIGAPOP_DST
 type dst-prefix
# OSU
 match 128.146/16 set-dst     0x010001
 match 164.107/16 set-dst     0x010001
 match 140.254/16 set-dst     0x010001
 match 192.153.26/24 set-dst  0x010001
# CWRU
 match 129.22/16 set-dst      0x010002
 match 192.5.110/24 set-dst   0x010002 
# BGSU
 match 129.1/16 set-dst       0x010003
# UC
 match 129.137/16 set-dst     0x010004
# UAKRON
 match 130.101/16 set-dst     0x010005
# WRIGHT
 match 130.108/16 set-dst     0x010006
# KENT
 match 131.123/16 set-dst     0x010007
# DAYTON
 match 131.238/16 set-dst     0x020008
# OBERLIN
 match 132.162/16 set-dst     0x020009
# OHIOU
 match 132.235/16 set-dst     0x01000A
# MIAMI
 match 134.53/16 set-dst      0x02000B
# MCO
 match 136.247/16 set-dst     0x02000C
# CSU
 match 137.148/16 set-dst     0x01000D
# DENISON
 match 140.141/16 set-dst     0x02000E
# JCU
 match 143.105/16 set-dst     0x02000F
# HIRAM
 match 143.206/16 set-dst     0x020010
# OHIO-GIGAPOP
 match 192.88.191/24 set-dst  0x040011
 match 192.88.192/24 set-dst  0x040011
 match 192.88.194/24 set-dst  0x040011
 match 192.148.244/24 set-dst 0x040011
 match 192.153.36/24 set-dst  0x040011
# OHIO-ITEC
 match 192.148.251/24 set-dst 0x040012
# OSC
 match 192.138.88/24 set-dst  0x040013
 match 192.157.5/24 set-dst   0x040013
 match 192.153.41/24 set-dst  0x040013
 match 192.153.40/24 set-dst  0x040013
 match 192.148.246/24 set-dst 0x040013
 match 192.148.240/24 set-dst 0x040013
 match 192.148.248/24 set-dst 0x040013
 match 192.148.249/24 set-dst 0x040013
 match 192.148.250/24 set-dst 0x040013
 match 192.153.37/24  set-dst 0x040013
# CHMCC
 match 204.152.48/24  set-dst 0x030014
 match 204.152.49/24  set-dst 0x030014
 match 205.142.196/24 set-dst 0x030014
 match 205.142.197/24 set-dst 0x030014
 match 205.142.198/24 set-dst 0x030014
 match 205.142.199/24 set-dst 0x030014
# BWC
 match 198.30.10/24 set-dst   0x020015
 match 192.150.115/24 set-dst 0x020015
 match 206.244.152/22 set-dst 0x020015
# FINDLAY
 match 192.153.32/24 set-dst  0x020016
 match 206.244.84/22 set-dst  0x020016
 match 206.244.104/21 set-dst 0x020016
# XAVIER
 match 205.133.157/24 set-dst 0x020017
 match 205.133.158/24 set-dst 0x020017
 match 205.133.159/24 set-dst 0x020017
 match 205.133.160/21 set-dst 0x020017
 match 206.21.160/21 set-dst  0x020017
 match 206.21.168/22 set-dst  0x020017
# RIO-GRANDE
 match 199.218.101/24 set-dst 0x020018
 match 206.21.56/21 set-dst   0x020018
 match 206.244.164/22 set-dst 0x020018
# MULTICAST
 match 224/4 set-dst 0x050019

tag-action OHIO-GIGAPOP_SRC
 type src-prefix
# OSU
 match 128.146/16 set-src     0x010001
 match 164.107/16 set-src     0x010001
 match 140.254/16 set-src     0x010001
 match 192.153.26/24 set-src  0x010001
# CWRU
 match 129.22/16 set-src      0x010002
 match 192.5.110/24 set-src   0x010002 
# BGSU
 match 129.1/16 set-src       0x010003
# UC
 match 129.137/16 set-src     0x010004
# UAKRON
 match 130.101/16 set-src     0x010005
# WRIGHT
 match 130.108/16 set-src     0x010006
# KENT
 match 131.123/16 set-src     0x010007
# DAYTON
 match 131.238/16 set-src     0x020008
# OBERLIN
 match 132.162/16 set-src     0x020009
# OHIOU
 match 132.235/16 set-src     0x01000A
# MIAMI
 match 134.53/16 set-src      0x02000B
# MCO
 match 136.247/16 set-src     0x02000C
# CSU
 match 137.148/16 set-src     0x01000D
# DENISON
 match 140.141/16 set-src     0x02000E
# JCU
 match 143.105/16 set-src     0x02000F
# HIRAM
 match 143.206/16 set-src     0x020010
# OHIO-GIGAPOP
 match 192.88.191/24 set-src  0x040011
 match 192.88.192/24 set-src  0x040011
 match 192.88.194/24 set-src  0x040011
 match 192.148.244/24 set-src 0x040011
 match 192.153.36/24 set-src  0x040011
# OHIO-ITEC
 match 192.148.251/24 set-src 0x040012
# OSC
 match 192.138.88/24 set-src  0x040013
 match 192.157.5/24 set-src   0x040013
 match 192.153.41/24 set-src  0x040013
 match 192.153.40/24 set-src  0x040013
 match 192.148.246/24 set-src 0x040013
 match 192.148.240/24 set-src 0x040013
 match 192.148.248/24 set-src 0x040013
 match 192.148.249/24 set-src 0x040013
 match 192.148.250/24 set-src 0x040013
 match 192.153.37/24  set-src 0x040013
# CHMCC
 match 204.152.48/24  set-src 0x030014
 match 204.152.49/24  set-src 0x030014
 match 205.142.196/24 set-src 0x030014
 match 205.142.197/24 set-src 0x030014
 match 205.142.198/24 set-src 0x030014
 match 205.142.199/24 set-src 0x030014
# BWC
 match 198.30.10/24 set-src   0x020015
 match 192.150.115/24 set-src 0x020015
 match 206.244.152/22 set-src 0x020015
# FINDLAY
 match 192.153.32/24 set-src  0x020016
 match 206.244.84/22 set-src  0x020016
 match 206.244.104/21 set-src 0x020016
# XAVIER
 match 205.133.157/24 set-src 0x020017
 match 205.133.158/24 set-src 0x020017
 match 205.133.159/24 set-src 0x020017
 match 205.133.160/21 set-src 0x020017
 match 206.21.160/21 set-src  0x020017
 match 206.21.168/22 set-src  0x020017
# RIO-GRANDE
 match 199.218.101/24 set-src 0x020018
 match 206.21.56/21 set-src   0x020018
 match 206.244.164/22 set-src 0x020018

tag-action OTHER_DST
 type src-prefix
 match 0/0 set-dst 0x0

tag-action OTHER_SRC
 type src-prefix
 match 0/0 set-src 0x0

tag-action WEB_SERVERS
 type tcp-dst-port
 match 80 set-src 80
 match 8080 set-src 80
 match 443 set-src 80

tag-action ANY
  type any
  match any set-src 99
  match any set-dst 99

tag-definition OHIO-GIGAPOP
 term
 input-filter 25
 action OTHER_DST
 action OHIO-GIGAPOP_DST
 term
 output-filter 25
 action OTHER_SRC
 action OHIO-GIGAPOP_SRC

tag-definition TEST
 term
 action ANY
 action WEB_SERVERS