文書の表示以前のリビジョンバックリンク文書の先頭へ この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。 ====== Wireshark SSH remote capture ====== {{:hardware:gl-ar750s-ext:wireshark_openwrt_ssh_remote_capture_000.png?800|Wireshark SSH remote capture}} ===== OpenWrt 側の設定 ===== <WRAP color_term> <WRAP color_command><html><pre> # opkg update && opkg install tcpdump </pre></html></WRAP> <WRAP color_result><html><pre> Downloading https://downloads.openwrt.org/releases/21.02.3/targets/bcm53xx/generic/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading https://downloads.openwrt.org/releases/21.02.3/targets/bcm53xx/generic/packages/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/base/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/luci/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/packages/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/routing/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/telephony/Packages.sig Signature check passed. Installing tcpdump (4.9.3-4) to root... Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/base/tcpdump_4.9.3-4_arm_cortex-a9.ipk Installing libpcap1 (1.9.1-3.1) to root... Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a9/base/libpcap1_1.9.1-3.1_arm_cortex-a9.ipk Configuring libpcap1. Configuring tcpdump. </pre></html></WRAP> </WRAP> ===== PC 側の設定 ===== **Wireshark** をインストールする🤔\\ [[linux:wireshark|Wireshark]](Linux)\\ [[windows:wireshark|Wireshark]](Windows)\\ SSH remote capture をクリックする。\\ {{hardware:gl-ar750s-ext:wireshark_openwrt_ssh_remote_capture_001.png?600|Wireshark OpenWrt SSH remote_capture 001}}\\ ==== Server タブ ==== Remote SSH server address に OpenWrt ルーターの IP アドレスを指定する。\\ Remote SSH server port に OpenWrt ルーターの SSH ポートを指定する。\\ {{hardware:gl-ar750s-ext:wireshark_openwrt_ssh_remote_capture_002.png?600|Wireshark OpenWrt SSH remote_capture 002}}\\ ==== Authentication タブ ==== Remote SSH server username に root を指定する。\\ Path to SSH private key に rsa key (OpenSSH 形式) のパスを指定する。\\ SSH key passphrase に rsa key のパスフレーズを指定する。\\ {{hardware:gl-ar750s-ext:wireshark_openwrt_ssh_remote_capture_003.png?600|Wireshark OpenWrt SSH remote_capture 003}}\\ ==== Capture タブ ==== Remote interface に br-lan を指定する。\\ Remote capture filter に not port 22 (SSH ポート 22 を除外) を指定する。\\ {{hardware:gl-ar750s-ext:wireshark_openwrt_ssh_remote_capture_004.png?600|Wireshark OpenWrt SSH remote_capture 004}}\\ 最後に [開始] ボタンを押して、パケットキャプチャを開始する。\\ linux/openwrt/wireshark.txt 最終更新: 2022/08/26 06:48by ともやん