8. SF-TAPの動作図
CPU CPU CPU CPU
Flow Abstractor
CPU CPU CPU CPU
Flow Abstractor
CPU CPU CPU CPU
Flow Abstractor
CPU CPU CPU CPU
Flow Abstractor
Cell Incubator
The Internet
SF-TAP Cell SF-TAP Cell SF-TAP Cell SF-TAP Cell
Intra Network
Core ScalingCore Scaling Core Scaling Core Scaling
Horizontal Scaling
Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer Analyzer
10GbE
10GbE
8
16. Flow Abstractorの
設定ファイル(1)
16
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
17. Flow Abstractorの
設定ファイル(2)
17
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
正規表現によるプロトコル判別
18. Flow Abstractorの
設定ファイル(3)
18
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
L4プロトコル指定
19. Flow Abstractorの
設定ファイル(4)
19
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
出力インターフェース名指定
20. Flow Abstractorの
設定ファイル(5)
20
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
ポート番号指定
21. Flow Abstractorの
設定ファイル(6)
21
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
ルールの優先順位指定
22. Flow Abstractorの
設定ファイル(7)
22
develop ana-
by this plane.
developed by
s analyzers in
rator and ab-
f the capturer
the analyzer
the following
ow abstractor
le of an ana-
stractor illus-
1 http:
2 up = ˆ[-a-zA-Z]+ .+ HTTP/1.(0r?n|1r?n([-a-
zA-Z]+: .+r?n)+)
3 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
4 proto = TCP # TCP or UDP
5 if = http # path to UNIX domain socket
6 nice = 100 # priority
7 balance = 4 # balaced by 4 IFs
8
9 torrent_tracker: # BitTorrent Tracker
10 up = ˆGET .*(announce|scrape).*?.*info_hash
=.+&.+ HTTP/1.(0r?n|1r?n([-a-zA-Z]+: .+r?n)+)
11 down = ˆHTTP/1.[01] [1-9][0-9]{2} .+r?n
12 proto = TCP
13 if = torrent_tracker
14 nice = 90 # priority
15
16 dns_udp:
17 proto = UDP
18 if = dns
19 port = 53
20 nice = 200
分散処理・CPU負荷分散用設定
この場合,4つのIFへフロー単位で
分割され出力される