qiaolunzhang / sniffer

sniffer in c++ with qt
0 stars 1 forks source link
c cplusplus qt5 sniffer

sniffer

requirements

# gtk3 for C
sudo apt-get install libgtk-3-dev
# to capture packet
sudo apt-get install libpcap-dev
# debug for qtcreator
sudo apt-get install gdb
# for lGL
sudo apt-get install libgl-dev

for libpcap work in qt just add the following line to your .pro file

LIBS += -L/usr/local/lib/ -lpcap

structure of the program