Sniffing-Dog
Sniffing Dog is a free and open source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development.
Basic Information
Projectname:Sniffing-Dog
Author:GatzLiu
Date:2016-12-28
Operating environment
Liunx(Ubuntu 12.04/14.04/16.04)
Qt5.0 and following versions
Function
Sniffing Dog has the functions of capturing physical layer data frames, analyzing IP, ARP, TCP, UDP, ICMP, HTTP and FTP protocols. It can display the basic information of protocol packets, including capture number, capture time, source IP / MAC, destination IP / MAC, protocol type, packet size, and full content for a specific protocol packet, including hexadecimal encoding and source information.
Running method
- Open and run the program in QT.
If the permissions are incorrect(eth0:you dont have permission to capture on that device(socket:Operation net permitted)),
take the following actions. - Switch to the project directory and enter ‘qmake’,’make’ and ‘sudo ./net8’ to run the program
Reference:My blog [ GitzLiu-CSDN–QT ]
Files introduction
main.cpp: This file is related to the interface.
mainwindow.h: This file is related to class definition and specific logic implementation.
mainwindow.cpp: This file should have been related to the implementation of the specific logic, but I implemented in the mainwindow.h.