2
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 5 years have passed since last update.

tcpdumpで異常な程パケットロスする

Posted at

症状

パケットキャプチャしたところ

1 packet captured
12897 packets received by filter
12896 packets dropped by kernel

最初の一つ以外全部ドロップ

さらに、ctrl + c を押してもなかなか終了しない

原因

tcpdumpが動作しているマシンでDNS解決ができなくなっていたのが原因

tcpdumpはデフォルトで名前解決を行う
最初の一つのパケットを受信し
名前解決を行おうとするが、成否のDNS応答が帰ってこず、その後のパケットを処理できなかった

と、思われる。
自分は名前解決なしのオプションをつけても解決しませんでした(何故か)
ので、PCから利用できないDNSサーバの設定を削除すると治りました

2
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
2
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?