Tcpdump
tcpdumpとは、コマンドライン上で利用する一般的な計算機ネットワーク調査ツールである。 tcpdumpにより、利用者はコマ�…
|
tcpdump console output | |
| 開発元 | The Tcpdump team |
|---|---|
| 最新版 |
4.99.5
/ 2024年8月30日[1] |
| リポジトリ | |
| 対応OS | Linux, Solaris, FreeBSD, NetBSD, OpenBSD, macOS, Android, and additional *NIX systems, Windows |
| 種別 | LANアナライザ |
| ライセンス | BSDライセンス[2] |
| 公式サイト |
www |
tcpdumpとは、コマンドライン上で利用する一般的な計算機ネットワーク調査ツールである。 tcpdumpにより、利用者はコマンドを実行した計算機がつながっているネットワーク上を流れるTCP/IPなどのパケットを横取って、表示させることが出来る。 このプログラムは開発当時にローレンス・バークリー研究所ネットワーク研究グループに所属していたバン・ジェイコブソン、Craig Leres、Steven McCanneによって書かれた。
tcpdumpはほとんどのUnix系オペレーティングシステム上で動作する。 たとえば、BSD系Unix、Solaris、Linux、HP-UX、AIX、macOSなどで動作する。 これらのシステムでは、tcpdumpはpcapライブラリ上に構築されている。
Windowsにも、WinDumpというソフトウェアがある。 これは、tcpdumpをWindows上で動くようにしたものである。
Unix系オペレーティングシステムやその他の多くのオペレーティングシステムでは、 tcpdumpを使うにはスーパーユーザーになる必要がある。 なぜなら、tcpdumpはプロミスキャス・モードを利用するからである。 -Z オプションを使うことで、キャプチャをセットアップした後でスーパーユーザー権限を破棄することができる。 また別のUnix系オペレーティングシステムではスーパーユーザー権限なしでパケットキャプチャのメカニズムを利用できるように設定できる。
tcpdumpを使うときには、 いくつかのフィルターを出力に適応して見ることが出来る。 こうすることで、大量の通信が行われているようなネットワークでもより簡単にパケットの調査をすることができるようになる。
tcpdumpの主な利用目的
- ネットワーク通信を行うプログラムのデバッグを行うため。
- ネットワーク設定の確認のため。具体的には、必要なルーティングが正確に行われているかを調べ、問題を特定するのに使うことができる。
- 他の利用者や計算機の通信を横取り、表示するため。telnetやHTTPのようなプロトコルはネットワークに平文で情報を流すため、ルーターやゲートウェイの管理者はtcpdumpを用いてログインIDやパスワード、URLなどの様々な情報を得ることが出来る。
参考
- WiresharkとはGUIのフロントエンドを持った同様のツールであり、様々なフォーマット、ソート、表示方法に対応している
- tsharkはWiresharkのCLIフロントエンドである
- EtherealはWiresharkの元になったプログラムである
- snoopはSolaris上で利用できる同様のプログラムである
- LANアナライザ
脚注
- ^ “tcpdump and libpcap latest release”. tcpdump & libpcap. 2025年2月21日閲覧。
- ^ “tcpdump and libpcap license”. tcpdump & libpcap. 2012年4月13日閲覧。
外部リンク
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.