by kstrauser · 2y ago · 0 comments
There are reasons you might want your desktop to have the same address for a long time. I can't think of any reason why I'd want that for a light bulb.
RFC 4941 is currently old enough to be taking it's SAT's and preparing itself for college... :)
When I hear people in other threads talking about the “security advantages” of NAT, I imagine someone filling their car’s engine with walnuts and talking about how it protects them from speeding tickets.
After which, you have a question, how can you configure end-to-end connectivity securely?, which host(s) do you open up ports towards?
With CG-NAT my IP address is the same one that infected computers are using, so I'm often treated like a second class citizen on the internet.
So… I’m not saying you don’t want to do that, but I do want to expand on this a bit:
4941 is not the only way to avoid having your MAC address in your IPv6 address. In fact RFC 3972 (from 2005! Almost old enough to buy beer!) describes a method for stable “cryptographic” addresses which enable the host to attest to the address’s authenticity in ND. That’s a really powerful feature because it means that another host can’t impersonate you like they can with ARP on v4. RFC 3972 is what macOS uses for the “non temporary” address (the one ifconfig labels “secured”). One of the things everyone should know about 3972 addresses is that a host will generate different addresses on different prefixes (so you can’t correlate a host moving between networks like you could with a MAC-derived address).
It is expected and normal that a host should have at least two “non temporary” addresses: a link local one, plus one generated by 3972 (or DHCPv6 or some other mechanism), in addition to one or more 4941 temporary addresses.
One way to block MAC-derived addresses without breaking e2e connectivity is to add a firewall rule blocking addresses with “FFFE” in the middle.