Netwotkportd is a UNIX daemon which checks states of network ports in system.
Daemon uses a UNIX sockets to check that port is open or closed. When port changed status, networkportd logs info or warning into syslogd.
Makefile uses gcc compiler to compile the whole project.
git clone https://github.com/Xhelios05X/ports-daemon
make
./out.o
After compilation, networkportd is running as a daemon process. To see messages from daemon, you have to check logs from syslogd.