News for hackers. Stuff that matters.
Re:Tell HN: Hacker News now supports IPv6 by op00to on Tuesday January 23, 2024 @08:53AM (#39103264)
My local devices end up with new ipv6 addresses daily.
Re:Tell HN: Hacker News now supports IPv6 by JohnFen on Tuesday January 23, 2024 @11:30AM (#39105562)
> My local devices end up with new ipv6 addresses daily.

Isn't that a pain in the butt?

Re:Tell HN: Hacker News now supports IPv6 by op00to on Tuesday January 23, 2024 @11:39AM (#39105727)
You’d think so, but dns magically works for me. Wish I had a better answer ha ha.
Re:Tell HN: Hacker News now supports IPv6 by JohnFen on Tuesday January 23, 2024 @12:11PM (#39106201)
I assume it's possible to prevent machines from changing their IP address? I have a few where DNS cannot reasonably be used and I use raw IP addresses instead.
Re:Tell HN: Hacker News now supports IPv6 by ivlad on Tuesday January 23, 2024 @12:51PM (#39106873)
You can disable IPv6 privacy extensions. The exact process depends on the operating system you use.
Re:Tell HN: Hacker News now supports IPv6 by soneil on Tuesday January 23, 2024 @01:44PM (#39107709)
IPv6 not just allowing, but expecting multiple scoped addresses relieves this quite nicely.

The most common setup for this is that you have a static link-local address, and a static global address. And listening processes should listen to these static addresses.

Then you have a temporary global address, and outbound connections should use the youngest temporary global address (because temporary addresses don't disappear when they age out, they disappear when they age out AND no existing connection is still using them).

The net effect is that the address you leave in example.com's httpd logs is a temporary address that has no listening processes. And the address you use in dns, mdns, when connecting intentionally, etc is a static address.

Re:Tell HN: Hacker News now supports IPv6 by op00to on Tuesday January 23, 2024 @09:57PM (#39113075)
I add a specific static ip where I care (dns resolver). The machines usually give themselves a few other routable ips I guess for fun? No idea why they don’t go away.
Re:Tell HN: Hacker News now supports IPv6 by gary_0 on Tuesday January 23, 2024 @10:04AM (#39104232)
So if I'm checking local server log files to debug a problem that started a few days ago, I can't easily tell where the incoming connections are coming from?
Re:Tell HN: Hacker News now supports IPv6 by op00to on Tuesday January 23, 2024 @11:40AM (#39105749)
You can configure a static ip if you use IP addresses as an identifier. You can also keep track of who had what ip address.