5 ms·
Huh, what is https://2899908462 https://2899908462 ?
by Eduard 4y ago
Huh, what is https://2899908462 https://2899908462 ?
- TrinaryWorksToo 4y agoA different format for writing ip addresses
- Eduard 4y agoAh okay, I got it: it's the decimal representation of the IP address. https://www.lookip.net/ip/172.217.23.110 https://www.lookip.net/ip/172.217.23.110 Funny I wasn't aware of this despite 25 years of being an Internet user
- blooalien 4y ago> "Funny I wasn't aware of this despite 25 years of being an Internet user" You're not alone… I been using the Internet longer'n that and I didn't ever think of converting an IP address to a decimal number either. It makes perfect sense now that it's been pointed out, but for some reason it just never crossed my mind to even try it.
- simonh 4y agoTo be fair, there are many different bases. I wonder if there’s anything special about base 10 that made them support it.
- mlyle 4y agoIPv4 addresses are written in base 10 for human users. The "special" case is supporting network addresses to be written as 10.2932832 ("convenient" for class A's), 172.16.61031 (ditto for B's), or just one big address like 39282329, when we're used to 4 octets separated by dots. Not every bit of host software supports these cases anymore, as basically their sole remaining use case is as a curiosity or to circumvent bad security controls.
- simonh 4y agoBah, humans!
- bqmjjx0kac 4y agoWhy do you need a different format for writing IP addresses to circumvent the PiHole? Shouldn't a regular IP address literal skip the DNS lookup, too?
- stiray 4y agoI used that notation for fun, as most of people are not aware of it, and based on comments quite a few people learned something new :) And it is a regular ip address, just written differently :)
- jffry 4y agoIt's an IPv4 address expressed as a 4-byte integer instead of four separate decimal octets. 172.217.23.110 is an IP belonging to Google. 172<<24 + 217<<16 + 23<<8 + 110 = 2899908462
- sgjohnson 4y agoThis is also why 1.1 === 1.0.0.1 Saves 4 whole keystrokes if you quickly want to ping something to test connectivity.
- jbverschoor 4y agoIn the 90s there was a campaign about the new worldwide 10-digit phone number format. So if you own some 31.x block, you could have a phone number which matches your IP.
- gumby 4y agoWorldwide 10 digit format? News to me. Can you say more?
- csnover 4y agoProbably UPT[0]. [0] https://en.wikipedia.org/wiki/Universal_Personal_Telecommunications https://en.wikipedia.org/wiki/Universal_Personal_Telecommuni...
- gumby 4y agoHas it been implemented by any carriers? The US phone system had such a service for a few years (area code 500 iirc). It had so little uptake that it was shut down.
- jbverschoor 4y agoThere was a campaign that went something like "de hele wereld bellen, even tot tien bellen" I think I'm wrong, it was about the 10-digit Dutch numbers. https://www.youtube.com/watch?v=NfcD3RiB1EA https://www.youtube.com/watch?v=NfcD3RiB1EA
- kukx 4y agohttps://stackoverflow.com/questions/56804936/how-does-only-numbers-in-url-resolve-to-a-domain https://stackoverflow.com/questions/56804936/how-does-only-n...
- teddyh 4y agoman inet_aton […] int inet_aton(const char *cp, struct in_addr *inp) […] The address supplied in cp can have one of the following forms: […] a The value a is interpreted as a 32-bit value that is stored directly into the binary address without any byte rearrangement. https://manpages.debian.org/stable/manpages-dev/inet_aton.3.en.html https://manpages.debian.org/stable/manpages-dev/inet_aton.3....