Python unittest and discovery

I ran into the same issue when running python -m unittest discover. Here is a good checklist to verify your setup. Nose is more flexible with the allowed configurations, but not necessarily better. Make sure all files/directories start with test. Do not use test-something.py, since that is not a valid Python module name. Use test_something.py. … Read more

Why do you need IPv6 Neighbor Solicitation to get the MAC address?

Every node automatically generates a link-local address, but: That address might not be generated with the EUI-64 format specified in RFC 2464. IPv6 addresses may also be cryptographically generated addresses (RFC 3972), temporary privacy addresses (RFC 4941), or in modern operating systems, stable privacy addresses (RFC 7217). An address that looks like it has an … Read more

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Malicious bots don’t guess IPv4 addresses anymore. They simply try them all. On modern systems this can take as little as a few hours. With IPv6, this is not really possible any longer, as you’ve surmised. The address space is so much larger that it’s not even possible to brute-force scan a single /64 subnet … Read more