差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:openwrt:wireshark [2022/08/26 06:26] – 削除 - 外部編集 (Unknown date) 非ログインユーザー | linux:openwrt:wireshark [2022/08/26 06:48] (現在) – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== Wireshark SSH remote capture ====== | ||
+ | {{: | ||
+ | ===== OpenWrt 側の設定 ===== | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | # opkg update && opkg install tcpdump | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Downloading https:// | ||
+ | Updated list of available packages in / | ||
+ | Downloading https:// | ||
+ | Signature check passed. | ||
+ | Installing tcpdump (4.9.3-4) to root... | ||
+ | Downloading https:// | ||
+ | Installing libpcap1 (1.9.1-3.1) to root... | ||
+ | Downloading https:// | ||
+ | Configuring libpcap1. | ||
+ | Configuring tcpdump. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== PC 側の設定 ===== | ||
+ | **Wireshark** をインストールする🤔\\ | ||
+ | [[linux: | ||
+ | [[windows: | ||
+ | |||
+ | SSH remote capture をクリックする。\\ | ||
+ | {{hardware: | ||
+ | |||
+ | ==== Server タブ ==== | ||
+ | Remote SSH server address に OpenWrt ルーターの IP アドレスを指定する。\\ | ||
+ | Remote SSH server port に OpenWrt ルーターの SSH ポートを指定する。\\ | ||
+ | {{hardware: | ||
+ | |||
+ | ==== Authentication タブ ==== | ||
+ | Remote SSH server username に root を指定する。\\ | ||
+ | Path to SSH private key に rsa key (OpenSSH 形式) のパスを指定する。\\ | ||
+ | SSH key passphrase に rsa key のパスフレーズを指定する。\\ | ||
+ | {{hardware: | ||
+ | |||
+ | ==== Capture タブ ==== | ||
+ | Remote interface に br-lan を指定する。\\ | ||
+ | Remote capture filter に not port 22 (SSH ポート 22 を除外) を指定する。\\ | ||
+ | {{hardware: | ||
+ | 最後に [開始] ボタンを押して、パケットキャプチャを開始する。\\ | ||