Question: How to find out how many ICMP Echo requests/replies did this node receive from 192.168.200.1 using a pcap file. from scapy.all import * packets =

How to find out how many ICMP Echo requests/replies did this node receive from 192.168.200.1 using a pcap file.

from scapy.all import * packets = rdpcap('example.pcap')

packets[ICMP].summary()

then what?

Ether / IP / ICMP 192.168.100.2 192.168.100.1 echo-request 0/ Raw Ether / IP ICMP 192. 168. 100 . 1 192. 168. 100 . 2 echo-reply 0 Raw Ether IP 1CMP 192.168.100.2 192.168. 100.1 echo-request ? Raw Ether / IP / ICMP 192.168.100.1 192.168.100.2 echo-reply 0/ Raw Ether / IP / ICMP 192.168.100.2 192.168.100.1 echo- request 0/Raw Et her 1 P 1 CMP 192. 168. 100 . 1 192. 168. 100 . 2 echo-reply Raw Ether IP l CMP 192.168.100.2 192. 168.100.1 echo-request ? Raw Ether IP 1CMP 192. 168. 100 . 1 192. 168. 100. 2 echo-reply 0 Raw Ether IP l CMP 192. 168.100.2 ? 192.168.100.1 echo-request ? Raw Et her IP ICMP 192. 168. 100 . 1 192. 168. 100 . 2 echo-reply 0 Raw Ether / IP 1CMP 192. 168. 100 . 2 192. 168. 100 . 1 echo-request 0 / Raw Ether IP 1CMP 192. 168. 100 . 1 192. 168. 100 . 2 echo-reply Raw Ether IP ICMP 192.168.100.2 192. 168. 100.1 echo-request ? Raw Ether / IP / ICMP 192.168.100.1 192.168.100.2 echo-reply 0 / Raw Ether IP ICMP 192. 168. 100 . 2 192. 168. 100 . 1 echo-request 0 Raw Ether IP ICMP 192. 168. 100 . 1 192. 168. 100 . 2 echo-reply 0 Raw Ether / IP / ICMP 192.168.100.2 192.168.100.1 echo-request 0/ Raw Ether / IP ICMP 192. 168. 100 . 1 192. 168. 100 . 2 echo-reply Raw Ether IP ICMP 192. 168. 100 . 2 192. 168. 100 . 1 echo-request / Raw Ether / IP / ICMP 192.168.100.1 192.168.100.2 echo-reply 0/ Raw Ether / IP / ICMP 192.168.200.2 192.168.100.1 echo- request 0/Raw Ether 1 P 1 CMP 192. 168 . 100 . 1 192. 168 . 200 . 2 echo-reply 0 Raw Ether IP 1 CMP 192. 168. 200 . 2 192. 168. 100 . 1 echo-request Raw Ether / IP / ICMP 192.168.100.1 192.168.200.2 echo-reply 0/Raw

Ether/ IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.100.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.100.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.200.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.200.2 echo-reply 0 / Raw Ether / IP / ICMP 192.168.200.2 > 192.168.100.1 echo-request 0 / Raw Ether / IP / ICMP 192.168.100.1 > 192.168.200.2 echo-reply 0 / Raw

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To find out how many ICMP Echo requests and replies the node received from 1921682001 you can filter ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!