A minimal port scanner for TCP and UDP port lists and different network environments