Passive IPv4 and IPv6 node enumeration