tcp-udp-portscanner simply scan unused tcp and udp ports and block them, and get logs. scan your tcp and udp unused ports with this script and get log from specious activity on your ports and block them from firewall all in one script. please fork project to Improve usability. Run script : python3 guard.py You may also change the variables in guard.conf file.