Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
98 views
in Technique[技术] by (71.8m points)

python - To find the list of interfaces about a particular node from wireshark logs

Could you please tell me if there is any way to get the interface details of a particular IP address machine through Wireshark packets. Could you please let me know if there is any approach to get this details programatically

question from:https://stackoverflow.com/questions/65949456/to-find-the-list-of-interfaces-about-a-particular-node-from-wireshark-logs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can find the actual interface on which the packets are captured along with hardware, OS used.

Open the .pcapng file with the help of Wireshark. I am using Wireshark Version 3.4.2 (v3.4.2-0-ga889cf1b1bf9).

  • Click on statistics
  • Then select capture File properties

enter image description here

You can find the interfaces option where exact interface is mentioned for example Wi-Fi interface. In my case Ethernet9 is used.

enter image description here

If you have connectivity diagram, you can find the opposite end interface easily.

If you don’t have connectivity diagram, you can check the destination MAC address and get the destination vendor details with the help of vendor lookup.

Refer link, https://macvendors.com/ Enter the destination MAC address and get the destination device vendor details easily. You can check the hardware specification of vendor and find the list of interfaces manually.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...