Skip to content

bob-9th/report_packet_stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

report_packet_stat

Installation

sudo apt install libpcap-dev

Usage

cmake .
make
./report_ip_stat <pcap file path>
  • The program was tested on Ubuntu 20.10.

Output

175.213.35.39 (total 1255 bytes)
 received 4 ip packets (709 bytes)
 sent 6 ip packets (546 bytes)

10.2.2.1 (total 316 bytes)
 received 2 ip packets (166 bytes)
 sent 2 ip packets (150 bytes)

10.2.2.3 (total 1571 bytes)
 received 8 ip packets (696 bytes)
 sent 6 ip packets (875 bytes)

88:c3:97:c7:1b:5 (total 1571 bytes)
 received 8 ethernet packets (696 bytes)
 sent 6 ethernet packets (875 bytes)

b4:2e:99:ea:97:de (total 1571 bytes)
 received 6 ethernet packets (875 bytes)
 sent 8 ethernet packets (696 bytes)

=== DUMP TCP Conversations ===
A -> B     Send(Count/Len) / Recv(Count/Len)
10.2.2.3:48326 -> 175.213.35.39:80    >    6 packets 546 bytes / 4 packets 709 bytes

=== DUMP Ethernet Conversations ===
A -> B     Send(Count/Len) / Recv(Count/Len)
88:c3:97:c7:1b:5 -> b4:2e:99:ea:97:de    >    6 packets 875 bytes / 8 packets 696 bytes

Releases

No releases published

Packages

No packages published