1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

パケットキャプチャ 3 dumpcap リファレンス

Last updated at Posted at 2020-12-08

SYNOPSIS
dumpcap
[ -a|--autostop ] ...
[ -b|--ring-buffer ] ...
[ -B|--buffer-size ]
[ -c ]
[ -C ]
[ -d ]
[ -D|--list-interfaces ]
[ -f ]
[ -g ]
[ -h|--help ]
[ -i|--interface |rpcap://:/|TCP@:|- ]
[ -I|--monitor-mode ]
[ -k ,[],[],[]
[ -L|--list-data-link-types ]
[ -M ]
[ -n ]
[ -N ]
[ -p|--no-promiscuous-mode ]
[ -P ]
[ -q ]
[ -s|--snapshot-length ]
[ -S ]
[ -t ]
[ -v|--version ]
[ -w ]
[ -y|--linktype ]
[ --capture-comment ]
[ --list-time-stamp-types ]
[ --time-stamp-type ]

....

DESCRIPTION
Dumpcap is a network traffic dump tool.
It lets you capture packet data from a live network and write the packets to a file.
Dumpcap's default capture file format is pcapng format.
When the -P option is specified, the output file is written in the pcap format.

Without any options set it will use the libpcap, Npcap, or WinPcap library
to capture traffic from the first available network interface
and writes the received raw packet data,
along with the packets' time stamps into a pcap file.

If the -w option is not specified,
Dumpcap writes to a newly created pcap file with a randomly chosen name.
If the -w option is specified,
Dumpcap writes to the file specified by that option.

Packet capturing is performed with the pcap library.
The capture filter syntax follows the rules of the pcap library.

....

Dumpcapは、ネットワークトラフィックダンプツールです。 ライブネットワークからパケットデータをキャプチャし、パケットをファイルに書き込むことができます。 Dumpcapのデフォルトのキャプチャファイル形式はpcapng形式です。 -Pオプションを指定すると、出力ファイルはpcap形式で書き込まれます。

オプションを設定しない場合、libpcap、Npcap、またはWinPcapライブラリを使用して、最初に使用可能なネットワークインターフェイスからトラフィックをキャプチャし、受信した生のパケットデータとパケットのタイムスタンプをpcapファイルに書き込みます。

-wオプションが指定されていない場合、Dumpcapはランダムに選択された名前で新しく作成されたpcapファイルに書き込みます。 -wオプションが指定されている場合、Dumpcapはそのオプションで指定されたファイルに書き込みます。

パケットキャプチャは、pcapライブラリを使用して実行されます。 キャプチャフィルターの構文は、pcapライブラリの規則に従います。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?