tcpdumpで "-w FILENAME"で "-vvv"を使用すると、より良い出力が生成されますか?

tcpdumpで

使用すると、より詳細な出力が生成されますか?

tcpdump -vvv -w FILENAME

私が使用している場合:

tcpdump -w FILENAME

それとも「-w FILENAME」を使用するときに「-vvv」を使用すると意味がありませんか?

ベストアンサー1

いいえ、マンページによるとそうは思いません。

   -w     Write the raw packets to file rather than parsing  and  printing
          them  out.  They can later be printed with the -r option.  Stan‐
          dard output is used if file is ``-''.

- ノート"元のパケット"——

   -v     When  parsing and printing, produce (slightly more) verbose out‐
          put.  [...]
          When writing to a file with the -w option, report, every 10 sec‐
          onds, the number of packets captured.

tcpdump -vvv -r FILENAMEしたがって、構文解析を使用して作成された内容FILENAME、つまり生のパケットを印刷するのが合理的です。

おすすめ記事