to install and use the project, follow bellow steps:
-
clone the project
-
install dependencies : $ sudo apt-get install libpcap
-
build and run the program with "SUDO" privilages:
$ gcc capture.c -o capture.o -lpcap
$ sudo ./capture.o
you can use the custom client-server program (written in python 3) to test the C program.