Networks
Networks
Networks
d) Outcome.
The outcomes of running the packet sniffer are as follows.
1. Throughput in Time: The throughput graph displays the trends in the amount of data
(measured in bytes) sent by each protocol over time. This facilitates comprehension of the
bandwidth consumption of Ethernet, TCP, and UDP packets on the network.
2. Distribution of Latency: The distribution of TCP and UDP connection round-trip times
is displayed by the latency histogram. A network that is responsive and healthy has more
connections with low latency, whereas a network with high latency may be congested or
experiencing problems.
3. Protocol Usage: The number of packets recorded for the Ethernet, TCP, and UDP
protocols is displayed in the protocol usage bar chart. Insight into the relative traffic
volume for various network protocols is also provided.
4. Measurements in real time: The application prints current network statistics every 30
seconds, including the total number of IP and MAC addresses, the average packet size for
each protocol, and the number of unique packets captured.
--- Real-time Statistics ---
Unique IP addresses: 11
In conclusion.
The network packet sniffer that is successfully implemented in this project records and examines
network traffic computes important metrics like throughput and latency displays the findings and
offers real-time updates. It shows how to analyze network traffic using Python and Scapy
providing insightful information about packet distribution and network performance. The
application is a helpful tool for network administrators and security experts due to its capacity to
record data across various protocols (Ethernet TCP and UDP) and offer comprehensive real-time
statistics.