Lurker News
My browser just started connecting to Hacker News over IPv6 today:

  $ host news.ycombinator.com
  news.ycombinator.com has address 209.216.230.207
  news.ycombinator.com has IPv6 address 2606:7100:1:67::26
Both IP addresses share the same ASN (M5 Computer Security): https://bgp.he.net/ip/209.216.230.207 https://bgp.he.net/ip/2606:7100:1:67::26

The raw IP address correctly redirects to HN: http://[2606:7100:1:67::26]
Good job so far! Please don't pull a Reddit and turn it off again.

Comments (374) 27 threads

baby_souffle2 replies#
Ha! Beat me to it!

For anybody that's curious, the IP-Foo [0] browser extension puts a little 4/6 icon in the address bar to make it clear at a glance which dialect you're speaking for $currentWebPage
[0]: https://github.com/pmarks-net/ipvfoo

notatoad3 replies#
cool, but "read and change your data on all websites" is imho not worth the functionality. that seems ripe for takeover by some scammer.
p1mrx12 replies#
IPvFoo author here. The problem is that there's no way to obtain the (hostname, ip) stream from Chrome/Firefox without requesting the "all websites" permission.

In theory, browser vendors could define a narrowly-scoped permission that only reports (hostname, ip), or roll this functionality into the browser UI, but neither seems likely to happen.
I made IPvFoo to promote IPv6 adoption, and wouldn't consider selling it for less than $10M USD. It probably won't ever be worth that much because it's an easily-cloned utility without a "moat", but it's more rational to set a price than refuse to sell under any circumstances.

janardanyri1 reply#
Just wondering, do you expect non-scammers to have the $10m?

Continue this thread — 1 reply

mkl2 replies#
The danger with extension acquisitions is malicious buyers, who use their ability to run arbitrary code to steal credit card numbers or credentials, insert or replace ads, run cryptocurrency mining, etc. For malicious purposes number of installations is the important thing, not how clonable the extension is.

Continue this thread — 2 replies

notatoad#
yeah, i appreciate that. my post wasn't meant as a criticism, it's a cool project and i'm happy your extension exists.

i have no reason to think you'd sell out to scammers, but stranger things have happened and for a product whose whole utility to me is "huh, that's cool" it's not worth it. and i thought that was worth highlighting to others. some chrome extension hygeine is always good.

ugh1234 replies#
To determine ipv4/6, do you need to send that hostname and ip off to somewhere to get a response? or can it be done locally without leaving the machine?

Continue this thread — 4 replies

justsomehnguy#
Offtopic:

    // Don't waste time rewriting the same tooltip.
    // Don't waste time redrawing the same icon.
Finally someone who understands the basics.
codetrotter1 reply#
> IPvFoo author here

It makes sense that you would notice the change then :D
Was this a situation where you had to do a double-take? Like, you opened HN today and saw that your extension said IPv6 and for a split second you wondered if your extension had made a mistake? Before seeing that indeed HN has IPv6 now.

Continue this thread — 1 reply

playingalong#
> $10M USD

Hah. You take a strong starting position in the negotiations ;)

ffomni#
> roll this functionality into the browser UI,

Is it hard to get patches into firefox? I never tried, just curious.

amne#
$10M for access to a pool of 100k (and growing) tech-savy users that are harder to hack than gen-pop? You guys, the 100k+, are lucky I'm not made of money.
mort963 replies#
I appreciate the honesty, and the reality is that most add-on developers have a price; a lot of people would probably sell their add-on for $10M.

But these things auto update. If a government (or even just a moderately big org) really wants to spy on someone, and they determine that said someone uses IPvFoo, $10M isn't a very large price to pay to just get complete access to the target's web browser.
This isn't specific to your add-on in any way, but, well... that seems ripe for takeover by someone nefarious.

Continue this thread — 3 replies

rixthefox#
TY for making the extension. As someone who uses it daily, you are my saving grace and my go-to for telling when a website has enabled IPv6 or not, if it wasn't you making this post that's how I would have found out HN had enabled it too.

I get fun questions from people when I screenshare and they notice the green "6" or the red "4" and ask about it. Sure it doesn't do anything fancy behind the scenes but that's also what makes it perfect.

dtaht#
Thank you for writing this tool. It cheers me up every time I see a green 6.
cbracketdash2 replies#
Just download the repo as a zip file and manually upload it as an extension to your browser.
p1mrx#
Note that the top-level manifest.json is for Chrome. To use it with Firefox, you have to copy "manifest/firefox-manifest.json" onto manifest.json first.
mortallywounded#
Though be warned, after a restart Firefox doesn't re-enable side loaded extensions that were added in the "debug" mode.

Also, Chrome (Google) has a habit of randomly disabling or removing side loaded extensions. I even had a side loaded extension that Google forced removal of because Google deemed it contained malware (which it didn't, I know because I wrote it).

justsomehnguy1 reply#
Just read the source code.
lolinder2 replies#
Not good enough to protect against the kinds of attacks that OP is warning against. Chrome extensions update automatically and there have been many cases of extensions being purchased by malicious actors who modify the code to be spyware or adware.

You can download the current version and install it manually to get around that. If you do that and read the code you're probably safe.
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Continue this thread — 2 replies

mg#
In Chromium, you can click on the request in the Network panel and it will show the IP.

I see:

    Remote Address: [2606:7100:1:67::26]:443
When I put that into the url bar:

    https://[2606:7100:1:67::26]/
I also see Hacker News.
ceroxylon3 replies#
As someone who grew up on IPv4, i will miss it, but the leap to 340 undecillion unique addresses is exciting in many ways so i think i can learn to live with this transition. If we ever need more than that, i can't even imagine what that future would look like.
p-e-w7 replies#
The last time I looked into this (which was a few years ago), ISPs were allocating blocks containing billions of IPv6 addresses to anyone who paid a nominal sum.

So that vast address space might not last as long as it would seem...

internetter#
We never learn
greyface-3 replies#
That sure sounds like a lot. But "billions" is less than a /64. Try "sextillions" (/56) or "septillions" (/48). Of course, when the denominator is "undecillions", it becomes clear that this is actually a non-issue.
joering23 replies#
I'd even go out of my way and say that undecillion of IP addresses ought to be enough for anybody.

Continue this thread — 3 replies

mike_d20 replies#
ARIN recently handed out a /16 allocation to Capital One. That is one 65,025th of all of IPv6.

A reasonable sized /32 allocation would have allowed for giving every ATM they operate worldwide its own globally routable /48.

Continue this thread — 20 replies

iLoveOncall8 replies#
I'm sure people said exactly this about IPv4 back in the days.

Continue this thread — 8 replies

pilif4 replies#
One of the features of IPv6 is address autoconfiguration, obviating the need for a central authority like DHCP on v4.

However, that only works with a /64 prefix and given that larger sites might want to have multiple subnets, that’s why most assignments are /56 or /48.
But still. If all assignments were /48s, that would still leave room for 281 trillion networks which even I believe is enough for the foreseeable future.
If the number space is so big, it makes sense to take advantage of it if that allows for other additional features (like SLAAC)

londons_explore24 replies#
> However, that only works with a /64 prefix

Well it should be redesigned so it works all the way down to individual addresses.

Continue this thread — 24 replies

ta1243#
But they aren't all /48s. Upthread there's a post about /16s already being allocated.
avhception2 replies#
I still haven't figured out how to get these auto-configured addresses into my home network's DNS (or any DNS, for that matter).

Continue this thread — 2 replies

mort965 replies#
I don't understand why getting rid of DHCP is desirable. DHCP provides a nice central place where you can map MAC addresses to IP addresses instead of configuring it ad-hoc on every device which needs a static IP address (if you're lucky and the device even supports static IP!). Checking "Does my interface have an IP address?" is also a really really useful and quick analogue for "is the gear related to the LAN pretty much working or is something broken/misconfigured?".

As it is, all my interfaces just have these random IPv6 addresses configured which don't work most of the time. I don't get it.

Continue this thread — 5 replies

Kab1r#
Billions of addresses might seem like a lot, but every IPv6 network has at least 2^64 addresses and it doesn't make much sense (to me) to give any customer less than one network.

(Maybe you meant billions of /64 blocks? ISPs could be providing a /32 ≈ 4 billion /64 blocks, though there still are 2 billion of those in the entire IPv6 space)

porbelm2 replies#
ISPs are SUPPOSED to allocate a /64 for a single customer. Mine does, so I have 4.5 billion available addresses within my 2001:4653:nnnn:nnnn::/64 prefix...
ptman#

  2^32 is ~4.3*10^9

  2^64 = 2^32 * 2^32 , so quite a bit more
cesarb1 reply#
> ISPs are SUPPOSED to allocate a /64 for a single customer.

Weren't they supposed to allocate a /48? Or did that change while I wasn't looking?

Continue this thread — 1 reply

throw0101d7 replies#
> So that vast address space might not last as long as it would seem...

Have you done the math?
* math property: x^y = x^(a+b) = (x^a )x(x^b )
* IPv4 addresses are 32 bits (2^32 )
* 2^32 ~ 4.3 billion
* So the IPv4 Internet has ~4.3B devices on it
* IPv6 subnets are 64 bits, /64 (2^64 )
So, a IPv6 2^64 subnet is the same as (2^32 )x(2^32 ), which means (4.3B)x(IPv4 Internet). I.e., a single IPv6 subnet can hold the equivalent of four billion (IPv4) Internets.
A second way of thinking about it:
* Stars in the Milky Way: 400 Billion
* Galaxies in the universe: 2 Trillion
So (4x10^11 )x(2x10^12 )=8x10^23 stars in the universe.
* Size of IPv6 address space: 3.4x10^38
Find the ratio between addresses and stars:
* 3.4x10^38 / 8x10^23
IPv6 offers about 430 trillion times more addresses than estimated stars in the universe.
A third way: On the surface of the Earth (land+water), there are 8.4 IPv4 addresses per km2. Not counting the oceans, that would be 28 IPv4 addresses per km2 of land.
IPv6 gives 10^17 addresses per mm2 (yes, square millimeter).
In terms of volume, 10^8 IPv6 addresses per mm3 throughout the Earth.

Continue this thread — 7 replies

Continue this thread — 1 more reply

Continue this thread — 2 more replies

bhaney1 reply#
My concern is that this is an accidental part of an unrelated migration and will quickly be disabled because of some internal IP filtering/banning tool that was only ever written to work with IPv4.

Continue this thread — 1 reply

supriyo-biswas2 replies#
Technically the goal of enabling IPv6 can be done through Cloudflare as well, which they enabled a few days ago. I wonder why they turned it off and are back to directly serving traffic.

Continue this thread — 2 replies

Load more comments