Question: Using the Scapy module to perform various queries on a packet capture. How to find out how many ICMP Echo requests/replies did this node receive

Using the Scapy module to perform various "queries" on a packet capture.

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()


Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

SOlution IC MP de stination unreacha... 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 Mathematics Questions!