Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcap-analyzer

A small application for analyzing IPv4 (TCP + UDP) packets in pcap files

Part #1 - collecting

Compilation stage (option 1 - manually)

  1. Open terminal from directory containing main.cpp;
  2. Compile the code from this directory by command g++ -L ../../libs/libpcap-1.10.5 main.cpp sniffer.cpp -o main -lpcap;
  3. Launch ./main ../assets/example-02.pcap output in order to create output.csv.

Compilation stage (option 2 - cmake)

  1. Open terminal from directory build;
  2. run cmake .;
  3. run make;
  4. Launch ./main ../src/assets/example-02.pcap output in order to create output.csv.

Part #2 - analysis

  1. Launch python3 ../src/python/main.py output.csv output2.csv

About

a small application for analyzing pcap files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages