News for hackers. Stuff that matters.
Re:Android’s IPv6 Is Still Broken by cesarb on Tuesday May 26, 2020 @11:36AM (#23312452)
> Caches need only hold active routes, which is orders of magnitude smaller.

What do you do when there's no active route? If a router receives a packet from 192.0.2.1 to 198.51.100.2, but the router has never received a packet from 198.51.100.2, how does it know to which of its neighbors it should send the packet?

Re:Android’s IPv6 Is Still Broken by JoeAltmaier on Tuesday May 26, 2020 @11:53AM (#23312703)
We resolve arbitrary names (e.g. DNS) now, so clearly the solution is possible.
Re:Android’s IPv6 Is Still Broken by cesarb on Tuesday May 26, 2020 @12:35PM (#23313225)
We resolve arbitrary names with DNS to a global identifier (an IP address), but for routing, what you need is a local identifier (which neighbor router to send the packet to), which means every router or set of routers would need its own database, and each database would need to know about every host in the world. This is exactly what we have nowadays with BGP, only with networks instead of hosts: every core router or set of core routers has a database which knows about every network in the world, and tells which neighbor AS to send the packet to.
Re:Android’s IPv6 Is Still Broken by corty on Tuesday May 26, 2020 @12:57PM (#23313508)
Also, DNS caches are just locally used small subsets. Global lookups are again hierarchical, thats why it is called _domain_ name system. Thats why there are dots in the adresses. Also, DNS lookups are rare compared to IP route lookups, you look at DNS for every connection at most, limited by the TTL for caches. Route lookups happen for every packet.