News for hackers. Stuff that matters.
Re:I spent a week without IPv4 to understand IPv6 transition... by jcalvinowens on Monday March 06, 2023 @11:40AM (#35043091)
There is no downside to everything to be globally routable. It's completely orthogonal to firewalling.

What is the risk you're picturing here? I'm really curious. Features like RFC4941/8981 mean nobody can infer anything about your network from the source addresses they see making requests out if it.

If you want to use link-local V6 addresses and NAT to a global one, you can do that. But IMHO that's sacrificing one of the greatest advantages of IPv6 for no tangible benefit.

Re:I spent a week without IPv4 to understand IPv6 transition... by thesuitonym on Monday March 06, 2023 @11:55AM (#35043312)
I'm not saying there's any downside, I'm just saying it's not the magic bullet "this is why you should use ipv6" that everyone seems to think it is. It's a complete non-issue that nobody really cares about.
Re:I spent a week without IPv4 to understand IPv6 transition... by jcalvinowens on Monday March 06, 2023 @12:31PM (#35044144)
> It's a complete non-issue that nobody really cares about.

Huh. IMHO it's the single most desirable feature, and the only reason I care about it at all.

If you're approaching this from the home networking point of view, than I suppose I agree: even the most complex home network is just too simple for anything like this to matter much.

As the network gets bigger, that sweet sweet global routability starts to make a lot of things a lot simpler... I'm lucky to have worked on an enormous deployment of V6-only servers, and it's downright magical in comparison to anything of comparable scale I've seen before or since.

But yes, my home network is three NAT'd /24's because I'm too lazy to figure out how to make prefix delegation work...

Re:I spent a week without IPv4 to understand IPv6 transition... by kazen44 on Monday March 06, 2023 @03:53PM (#35047421)
Also, IPV6 has far more scalable systems for dynamic address allocation compared to IPv4.

SLAAC scales really, really well, and is fairly stateless compared to DHCPv4 or V6.

Also, slaac allows one to easily change the global prefix of a vm/host if it lives on another layer 3 network.

A good example of this:

you have two seperate datacenter networks based on an EVPN-VXLAN solution, and you do no want to stretch layer 2 across both datacenters because stretching layer 2 is a terrible, terrible idea[0].

Before IPv6, moving VM;s across datacenters which have different public ip space was a major pain for two reasons:

- IPV4 has no concept of using multiple addresses per interface without it having unexpected bahaviour on a host. - address management at scale is a major PITA because DHCP is not scalable.

How to solve this with IPv6? It's fairly easy:

- Use slaac + prefix delegation of your globally unique address space (which is different per Datacenter). - Use a different (site local) address to reach the VM for management purposes. Because this address is not globally routable, you are sure it will never leak into the greater internet and be reachable from the outside world. - If you are using anycast, you can easily announce this prefix to upstream BGP neighbours because you can use BGP Neighbour Autodiscovery[1].

Trying to do this with Ipv4 will result in a mess of administration, not to mention have to do some clever technical hacks to make it work on some operating systems.

With IPv6 solving these issues becomes quite manageable.

[0] https://blog.ipspace.net/2021/06/stretched-vlan-define-probl... [1] https://www.juniper.net/documentation/us/en/software/junos/b...

Re:I spent a week without IPv4 to understand IPv6 transition... by JohnFen on Tuesday March 07, 2023 @01:29PM (#35059108)
> IMHO it's the single most desirable feature, and the only reason I care about it at all.

Fair enough. For me, this is a thing I literally could not care less about.

Re:I spent a week without IPv4 to understand IPv6 transition... by growse on Monday March 06, 2023 @12:06PM (#35043485)
The point is that it gives you options. You might not want to have anything on a network reachable from the internet today, but next year you suddenly need that capability and it's useful to be able to take advantage of that, rather than wading through the buggy mess of NAT.

> It's a complete non-issue that nobody really cares about.

A significant number of people spend a significant amount of time trying to carve out and re-use address space in their existing IPv4 allocations and RFC1918 space. This becomes nightmarish the moment you start thinking about networks of any significant size and complexity. All of these problems go away with IPv6, and we care about that a lot.

Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @04:49PM (#35048160)
> It's a complete non-issue that nobody really cares about.

The availability of IPv4 addresses is something that more people will care about, and getting IPv6 going may help folks. From another comment in this sub-thread:

> I've actually run into this [CG NAT] helping a friend host a game server on their residential internet in a more rural part of Texas. They had to call their ISP and request a static IP address at an extra cost of something like $5/mo.

* https://news.ycombinator.com/item?id=35046929

Re:I spent a week without IPv4 to understand IPv6 transition... by lmm on Monday March 06, 2023 @06:22PM (#35049298)
People care as soon as it bites them. If I can't stream my music when I'm on my work VPN because the IPs are the same, that's a pain. If my wife and I can't game together online because we "have the same IP" that's a pain. There are all these little irritations that come from not having a global address, and they add up.
Re:I spent a week without IPv4 to understand IPv6 transition... by adriancr on Monday March 06, 2023 @12:13PM (#35043619)
> nobody can infer anything about your network

They can infer that one IPV6 address matches to exactly one device. (reverse is not true, one device may have multiple addresses per privacy extensions)

Once device is identified all its past traffic is discernible.

Changing addresses means identification needs to be done again but once done it can be associated with past addresses and again, all its history is visible.

Identification might just mean querying a data broker with HTTP headers.

NAT does not have this issue.

Re:I spent a week without IPv4 to understand IPv6 transition... by jcalvinowens on Monday March 06, 2023 @12:17PM (#35043706)
> They can infer that an address matches to a single device

No they can't: the whole point of RFC4941/8981 is to prevent that. The source address for external connections is effectively randomized.

All that can be inferred is that it came from your network, but even with NAT you know that anyway.

Re:I spent a week without IPv4 to understand IPv6 transition... by adriancr on Monday March 06, 2023 @12:22PM (#35043844)
> The source address for external connections is effectively randomized

It's still unique to one device right?, even if random my argument still holds.

Or do you mean to say multiple devices can use the same address?

note: I've read the RFCs and they just mean - initial address is random but unique to a device. Each day the address will likely change but new address is still unique to the device (otherwise how would routing work).

This is what I structured my inital argument on. Do you see any fallacy in logic?

Re:I spent a week without IPv4 to understand IPv6 transition... by justeleblanc on Monday March 06, 2023 @12:46PM (#35044498)
You literally wrote "Once device is identified all its past traffic is discernible." How is that compatible with devices changing their address every day?
Re:I spent a week without IPv4 to understand IPv6 transition... by adriancr on Monday March 06, 2023 @01:10PM (#35044985)
you identify device each day, identity is X, daughter of Y on iPad. Once identified via data broker all its traffic is identifiable including torrents for example and porn websites, etc (say X goes to facebook with new address it now has real name)

Once identity is known for address X you know its traffic for the day, including past traffic for the day.

once address changes you do the whole identification again.

All these logs where address is identified goes to bucket X.

On addresses where you couldnt identify that day you put them in unknown bucket.

Once you have a profile of the network, you can do exclusion (Only 4 people in household, 3 active with known addresses, not X, one unknown address, you can assume its X)

Re:I spent a week without IPv4 to understand IPv6 transition... by jiggawatts on Monday March 06, 2023 @02:36PM (#35046455)
Nobody bothers to do this kind of tracking because web browsers leak 100x more information by default anyway.

The “I don’t care if they track my household but it’s critical that Daddy’s activity not get disambiguated from my dealing daughter” is just not a valid reason to abandon the benefits of IPv6.

Please stop with this line of argument.

If you’re really desperate to ensure that the ads shown to your daughter are based on your porn viewing habits, then just set up IPv6 NAT.

Re:I spent a week without IPv4 to understand IPv6 transition... by adriancr on Monday March 06, 2023 @02:52PM (#35046674)
> Nobody bothers to do this kind of tracking because web browsers leak 100x more information by default anyway.

That's a broad assumption, and I can assure you they will due to lower costs (no need to pay data broker if you already know target, no need for extra traffic, load, etc). Also due to better targetting you get better prices per ads served.

> just not a valid reason to abandon the benefits of IPv6

What are the benefits to allow each device its own address if I'm going to firewall them anyway?

> Please stop with this line of argument.

Why?, my concern is valid, all you've said so far is nobody cares. I disagree.

> If you’re really desperate to ensure that the ads shown to your daughter are based on your porn viewing habits, then just set up IPv6 NAT

That says a lot about yourself if you resort to this sort of snarky comments, I have no wish to continue this conversation.

Note: I said in another comment I have set up IPv6 NAT and it works great.

Re:I spent a week without IPv4 to understand IPv6 transition... by wankle on Monday March 06, 2023 @04:44PM (#35048097)
Thank you adriancr, barkingcat and flangola7 for making the salient points about IPv6. When I've tried to make the same points over the years, it didn't work out well. I see there's a new topic today, someone "outraged" that Roku devices don't use IPv6. It's always like that, people who seem to want to heavily push IPv6 are so outraged. All that does is confirm my view of IPv6 is right.
Re:I spent a week without IPv4 to understand IPv6 transition... by barkingcat on Monday March 06, 2023 @03:31PM (#35047151)
wait ... when you say nobody bothers ... that's a high bar. Most likely a ton of adtech companies are just drooling to use (or already are using) this type of correlation even if browsers leak more info.
Re:I spent a week without IPv4 to understand IPv6 transition... by jiggawatts on Tuesday March 07, 2023 @02:51AM (#35052723)
Re:I spent a week without IPv4 to understand IPv6 transition... by flangola7 on Monday March 06, 2023 @04:17PM (#35047740)
> Nobody bothers to do this kind of tracking because web browsers leak 100x more information by default anyway.

If I told my security information officer "We don't protect against foreseeable threat X because we assume no one will bother to try X" she would not be very happy with me.

When a valid data concern has been expressed and described, putting your head in the sand is the incorrect response. I want IPv4 to die as much as the next person but at a minimum organizations such as hospitals and government installations will not accept that sort of outside visibility into their network.

Re:I spent a week without IPv4 to understand IPv6 transition... by jiggawatts on Tuesday March 07, 2023 @02:51AM (#35052725)
Re:I spent a week without IPv4 to understand IPv6 transition... by Hackbraten on Tuesday March 07, 2023 @06:35AM (#35054196)
> because web browsers leak 100x more information by default anyway.

I don’t quite feel convinced yet by this argument.

For example, one essential difference is that while it’s true that my web browser does have those leaks, I can be reasonably sure that it’s only leaking to specific hosts, i.e. the one I’m visiting and its embedded resources.

Tracking on the IP source address level, however, would be a whole other thing: that means that whoever happens to see the byte stream can now track who is visiting what. That includes, for example, my ISP, all large Internet exchanges, and anyone tapping into those.

Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @01:07PM (#35044926)
> Each day the address will likely change but new address is still unique to the device (otherwise how would routing work).

If you set up your device to spin up a new IPv6 address every hour (or even every minute), how will they track you using IPs?

On macOS it's 24h, but it doesn't have to be:

    $ sysctl -a | grep temppltime              
    net.inet6.ip6.temppltime: 86400
Re:I spent a week without IPv4 to understand IPv6 transition... by adriancr on Monday March 06, 2023 @01:16PM (#35045096)
I mean, it's the same point, single address to single node, just more often, so need to identify more often.

Minutes or less I guess would defeat tracking, but then what's the point?, it's almost equivalent to NAT it still breaks reverse connectivity? and does it actually work?

It also feels like a workaround for an oversight.

Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @04:40PM (#35048046)
> I mean, it's the same point, single address to single node, just more often, so need to identify more often.

But how would they know it is to the same node?

I have my DSL router-modem reboot every night, and I get all sorts of crazy results for ads: I'm in southern Ontario, as is my ISP, but they service folks in Quebec, and so sometimes I get Youtube ads in French since (per my IP) I'm "in" Quebec.

Similarly with the reboot I get a new /64 prefix delegation (actually /56), so I would hazard to guess if IPv6 starts getting tracked, I'd get the same crazy results.

Re:I spent a week without IPv4 to understand IPv6 transition... by mqus on Monday March 06, 2023 @07:05PM (#35049715)
ipv4 with NAT gets you a new "adress"(meaning port) on every single new connection. I don't see IPv6 doing the same thing(it has no clue about connections)
Re:I spent a week without IPv4 to understand IPv6 transition... by throw0101c on Monday March 06, 2023 @07:44PM (#35050012)
> ipv4 with NAT gets you a new "adress"(meaning port) on every single new connection.

No one cares about tracking by port. You are tracking by IPv4 address.

I know this first hand because I have my DSL router-modem auto-reboot every night (built-in Asus functionality), and I get all sorts of crazy results for ads: I'm in southern Ontario, as is my ISP, but they service folks in Quebec, and so sometimes I get Youtube ads in French since (per my IP) I'm "in" Quebec.

And given that I have IPv6, most OSes generally use that as a first preference for connectivity, and so my IPv6 address/prefix is "in" Quebec.

And this is even with cookies enabled, which should make tracking by browsing easier (esp. since I get decently-accurate recommendations based on viewing history), but yet I still get French ads because my IPv4/IPv6 address is "in" Quebec.

So I have no idea what people are talking about when they say IPv6 will make tracking easier than IPv4. With RFC 4941 it's a solved problem IMHO and no worse under dual-stack than it is under single-stack.

Re:I spent a week without IPv4 to understand IPv6 transition... by bert64 on Tuesday March 07, 2023 @09:14AM (#35055547)
That's not tracking to you specifically, that's geo location so they're just trying to identify the general area for purposes of showing ads.

With IPv6 chances are your ISP has a single large address block, and then they split out parts of that address space to users in ontario and quebec. Unless the ISP publishes details of where they've allocated those blocks, any external site is just guessing.

With legacy IP chances are they have multiple small fragmented blocks, some of which are routed to ontario and some of which are routed to quebec so they're a bit easier to keep track of unless the ISP decides to move them.

Also when you address changes, the legacy address space is probably quite close to full so your previous address is released and probably taken by another customer fairly quickly. The IPv6 space will be much larger, and so recycling occurs far more slowly.

Either way youtube is just guessing, it only knows that the address space belongs to a canadian isp and it has to use the behaviour of whoever used those addresses last. If the previous user set their browser language to french and searched for french sites, youtube will remember that and is more likely to serve you french ads.

Re:I spent a week without IPv4 to understand IPv6 transition... by otabdeveloper4 on Tuesday March 07, 2023 @03:38AM (#35053054)
> There is no downside to everything to be globally routable.

Yes there is. I sure as fuck don't want random people from the Internet to know how many devices and what kind populate my home LAN.

Re:I spent a week without IPv4 to understand IPv6 transition... by rixthefox on Tuesday March 07, 2023 @05:28AM (#35053744)
If an adversary knowing your IP address scheme it’s so bad to you, you’re not doing it right.

Security through obsecurity is not security.

Re:I spent a week without IPv4 to understand IPv6 transition... by jddj on Tuesday March 07, 2023 @06:28AM (#35054149)
I wonder if whoever coined that phrase knew that it would be used so often in contexts where people want both obscurity and security based on their own respective merits.
Re:I spent a week without IPv4 to understand IPv6 transition... by otabdeveloper4 on Wednesday March 08, 2023 @12:45PM (#35072191)
> Security through obsecurity is not security.

Yes, let's just flash a giant "welcome, nobody is home right now" sign to burglars whenever you leave the house unlocked.

Re:I spent a week without IPv4 to understand IPv6 transition... by bert64 on Tuesday March 07, 2023 @09:18AM (#35055592)
How is anyone going to discover that?

You're going to have a minimum of a /64, noone is going to scan that looking for devices.

Even if they do, your firewall is not going to allow the traffic unless you've explicitly configured it to do so.

The only way someone will discover devices, is by analysing outbound traffic you make. Outbound IPv6 traffic will come from randomised addresses so the addressing information is useless. Other things disclosed by the devices (eg user-agent headers on web browsers and other fingerprintable data) are protocol agnostic.

Re:I spent a week without IPv4 to understand IPv6 transition... by sgjohnson on Thursday March 09, 2023 @05:20AM (#35079895)
nobody in our lifetimes is going to scan a single /64 of IPv6.