Skip to content

denisptuhov/protei_course_work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Traffic sniffer

This project provides a terminal tool for traffic sniffering based on libpcap

Dependencies

For logging in this project, the spdlog library is used

Spdlog requires the fmt library to work correctly

For packet capture in this project, the libpcap library is used

Make sure that following libs are installed on your system:

sudo apt install libspdlog-dev
sudo apt install libfmt-dev
sudo apt install libpcap-dev

For testing in this project, the gtest library is used

sudo apt-get install libgtest-dev

Install

git clone https://github.com/denisptuhov/protei_course_work
cd protei_course_work && mkdir build && cd build
cmake .. && make

Run

./traffic_sniffer - to run sniffer

./sniffer_tests - to run tests

About

This program works endlessly, printing hosts info every 5 seconds.

To exit press Ctrl+C

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published