TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

https://16777217/

130 pointsby phineyesover 2 years ago

22 comments

teddyhover 2 years ago
<p><pre><code> $ man 3 inet_aton […] inet_aton() converts the Internet host address cp from the IPv4 numbers-and-dots notation into binary form (in network byte order) and stores it in the structure that inp points to. inet_aton() returns nonzero if the address is valid, zero if not. The address supplied in cp can have one of the following forms: a.b.c.d Each of the four numeric parts specifies a byte of the address; the bytes are assigned in left-to-right order to produce the binary address. a.b.c Parts a and b specify the first two bytes of the binary address. Part c is interpreted as a 16-bit value that defines the rightmost two bytes of the binary address. This notation is suitable for specifying (outmoded) Class B network addresses. a.b Part a specifies the first byte of the binary address. Part b is interpreted as a 24-bit value that defines the rightmost three bytes of the binary address. This notation is suitable for specifying (outmoded) Class A network addresses. a The value a is interpreted as a 32-bit value that is stored directly into the binary address without any byte rearrangement. In all of the above forms, components of the dotted address can be specified in decimal, octal (with a leading 0), or hexadecimal, with a leading 0X). Addresses in any of these forms are collectively termed IPV4 numbers-and-dots notation. The form that uses exactly four decimal numbers is referred to as IPv4 dotted- decimal notation (or sometimes: IPv4 dotted-quad notation). </code></pre> — <a href="https:&#x2F;&#x2F;manpages.debian.org&#x2F;stable&#x2F;manpages-dev&#x2F;inet_aton.3.en.html" rel="nofollow">https:&#x2F;&#x2F;manpages.debian.org&#x2F;stable&#x2F;manpages-dev&#x2F;inet_aton.3....</a>
评论 #32895745 未加载
Wannabe1337over 2 years ago
You can also try my tool online which obfuscate an ip address. <a href="https:&#x2F;&#x2F;wannabe1337.xyz&#x2F;text-ipobfuscator" rel="nofollow">https:&#x2F;&#x2F;wannabe1337.xyz&#x2F;text-ipobfuscator</a>
评论 #32895461 未加载
评论 #32909566 未加载
tony-allanover 2 years ago
Another way to encode <a href="https:&#x2F;&#x2F;1.0.0.1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;1.0.0.1&#x2F;</a>
评论 #32896913 未加载
评论 #32894547 未加载
dheeraover 2 years ago
&gt; The free app that makes your Internet safer.<p>I don&#x27;t consider anything closed source to be safe.<p>&gt; 1.1.1.1 with WARP<p>WTF is WARP<p>&gt; Your Internet service provider can see every site and app you use—even if they’re encrypted. Some providers even sell this data, or use it to target you with ads.<p>OK, fantastic, so instead of handing my ISP all my data, I hand it to ... you?<p>&gt; the fastest DNS resolver on Earth.<p>I&#x27;m pretty sure that the for the 5 full seconds it takes a site like Gmail that saving 9ms on DNS isn&#x27;t going to change much.
评论 #32894906 未加载
评论 #32896118 未加载
GTPover 2 years ago
Doesn&#x27;t work on Firefox for Android. Edit: as noted in another comment, it works when removing the final dot.
评论 #32896340 未加载
Semaphorover 2 years ago
Not working in FF (Desktop stable, win)
评论 #32894847 未加载
评论 #32895018 未加载
gunapologist99over 2 years ago
This has been part of POSIX for decades, but not in Golang <i>net</i> yet. :(<p><a href="https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;go&#x2F;issues&#x2F;36822" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;go&#x2F;issues&#x2F;36822</a>
mudream4869over 2 years ago
Golang&#x27;s url.Parse works :) <a href="https:&#x2F;&#x2F;go.dev&#x2F;play&#x2F;p&#x2F;A6O6yrSDrZm" rel="nofollow">https:&#x2F;&#x2F;go.dev&#x2F;play&#x2F;p&#x2F;A6O6yrSDrZm</a>
评论 #32895471 未加载
评论 #32903306 未加载
WuRB3u27qAqegA8over 2 years ago
I like how variants of this have been discussed on here about 5 times in the last month.<p>Yes, weird formats that no one has used in about 3 decades (if they even used them then) are still supported. These include just about every way you can think of to encode a 32 bit IP address into between 1-4 groups. Cool.
评论 #32898566 未加载
londons_exploreover 2 years ago
Warp bypassed government blocked sites in my country (the UK - which blocks RT.com as part of war efforts).<p>I&#x27;m not sure how long they&#x27;ll be able to run such a service till the government tells them they have to implement site blocking.
评论 #32896098 未加载
评论 #32897582 未加载
评论 #32897181 未加载
评论 #32895893 未加载
jqueryover 2 years ago
Very cool, but how does it affect mobile battery life? Is this something I want turned on all the time or best used when traveling?<p>I want to trust cloudflare here but I am hesitant to enable a VPN on my phone at all times.
Uptrendaover 2 years ago
Is there any good reason to support this notation for URLs? Do you think this format would be faster to parse than regular IPs?
评论 #32896696 未加载
评论 #32895705 未加载
aarobotover 2 years ago
For &#x27;google.com&#x27;:<p><a href="https:&#x2F;&#x2F;3627733454&#x2F;" rel="nofollow">https:&#x2F;&#x2F;3627733454&#x2F;</a>
评论 #32895718 未加载
vmooreover 2 years ago
<a href="https:&#x2F;&#x2F;9.9.9.9&#x2F;" rel="nofollow">https:&#x2F;&#x2F;9.9.9.9&#x2F;</a>
pGuitarover 2 years ago
Firefox shows the ip address 1.0.0.1 in the &quot;status bar&quot; when I hover that address
drug5over 2 years ago
Interesting. How is this encoded?
评论 #32895096 未加载
评论 #32895072 未加载
评论 #32896698 未加载
brassattaxover 2 years ago
<a href="https:&#x2F;&#x2F;0x1000001" rel="nofollow">https:&#x2F;&#x2F;0x1000001</a>
bmonover 2 years ago
similarly, <a href="https:&#x2F;&#x2F;1.1" rel="nofollow">https:&#x2F;&#x2F;1.1</a>
评论 #32897267 未加载
jarek83over 2 years ago
With Warp on, youtube does not play anything for me.
worldmergeover 2 years ago
How does this work?
评论 #32894896 未加载
diimdeepover 2 years ago
&gt; ping 1.1<p>lol, cool
ada1981over 2 years ago
What’s the diff between 1.1.1.1 and 1.0.0.1 ?
评论 #32894603 未加载
评论 #32894617 未加载
评论 #32894908 未加载
评论 #32894615 未加载
评论 #32895151 未加载
评论 #32894687 未加载