don't use tun for this project
signal->sigaction
better PERROR