
106
5
章
SiLK
スイート
のエントリのプロトコルを17に設定する。
以下では、フィールド埋めコマンド
--bytes=300
を使い、
rwtuc_sample2.txt
のすべてのエントリ
に300バイトの値を設定している。
$ rwtuc --fields=sip,dip,proto,packets --column-sep=x --bytes=300 <
rwtuc_sample2.txt > rwtuc_sample2.rwf
$ rwcut --fields=1-7 rwtuc_sample2.rwf
sIP| dIP|sPort|dPort|pro| packets| bytes|
128.2.11.4| 29.3.11.4| 0| 0| 6| 5| 300|
7.3.1.1| 128.2.11.4| 0| 0| 17|
3| 300|
元のテキストファイルにはバイト値は存在しないにもかかわらず、結果のRWFファイルには300
バイトの値が指定されている。ファイルに指定されているパケット値は、指定の値に設定されている。
5.12
参考文献
1. Time Shimeall, Sid Faber, Markus DeShon, and Drew Kompanek, "Using SiLK for
Network Traffic Analysis," Software Engineering Institute.