58 comments

[ 3.5 ms ] story [ 128 ms ] thread
I still prefer ifconfig.co, which is open-source (BSD-3), supports IPv6 as well and has a nice JSON response as well.
or ifconfig.me
or ifconfig.io
(comment deleted)
This one is my favorite

Disclosure: I wrote and run ifconfig.io :)

s/Disclaimer/Disclosure/

:)

Blocked by Sophos (at work) because “ParkedDomain”. I fucking love this timeline.
I also love how it is developed using Vue completely unnecessarily, requiring nearly half a megabyte of JavaScript to show me 300 bytes of non-interactive dynamic content surrounded by entirely static text.

It also reaches out to two tracking sites, including a server in China, because of course it does.

How is that relevant to the comment you're responding to? It's not like the maker added it to Sophos voluntarily.
I'm replying more to the "I fucking love this timeline." part of the comment.

Half the time I see something advertised here (or anywhere else for that matter) the code is more tracking than content by weight, nothing works, and the whole thing is shockingly slow.

How did we get to "this timeline" that not only is this normal, but it's starting to feel weird even commenting about it?

Should I just give up and accept loading spinners on static content?

My recent grumpy old man moment is asynchronous loading of menu items one-at-a-time, something my PC from 1994 could do instantaneously. I've seen desktop applications show me fragments of a UI, slowly expanding with more and more items in random order as the fans of my 5 GHz CPU spin up to handle the enormous load of... a few hundred characters of text per second. The same speed as my first 300 baud modem, something so old and slow that I threw it the trash in 1989.

There's a comment here[1] saying "nice interface". What's nice about it!? It's broken, slow, and tracks you!

This is where we are in 2024: Shipping broken stuff and getting patted on the back for getting an MVP out "fast"... while users wait.

[1] https://news.ycombinator.com/item?id=41168866

It's Next-based actually. I just forked the open-source code and deployed it. What do you mean by saying "because of course it does"?
We are using Microsoft Defender SmartScreen here at work and also stumble upon quite some domains that are blocked. iso20022js.com currently on front page for example is also blocked. Along with web.archive.org :(
You are right. I bought the domain last year.
Blocking new domains is a very common feature in endpoint protection software. It can help block access to algorithmically-generated C&C domains used by malware, for example.
For the same request, why curl is receiving a different answer than a browser?
Different User-Agent HTTP header most likely.
A gentle reminder: test your website a bit before advertising it in public. Basic aspects are broken or don't behave the way one would expect.

You mention IPv6, but it shows my IPv4 address in the website. I have a "proper" IPv6 address and other similar services can discover it, including a simple Google search: https://www.google.com/search?q=what+is+my+ip

Discovering IPv6 robustly requires an embedded iframe or a separate API service that is advertised only with AAAA records. It can't be done in a single request or with a single DNS record. Conversely, the IPv4 endpoint must use A records only.

(Hilariously the IPv4 info API request goes via IPv6!)

The advertised "curl ip.network/more" doesn't work. It might actually work with "curl" very specifically, but with any other client such as PowerShell it returns HTML instead of a JSON response:

    C:\> (Invoke-RestMethod https://ip.network/more ).OuterXml
    <html><head><meta charSet="utf-8" /><meta name="viewport"
    content="width=device-width" /><title>What's My Public IP
    Address | ip.network</title><meta name="description"
    content="Check my public IP address and lookup any ip4 &amp;
    ipv6 address detail on ip.network" /><script defer="" data-
Some working alternatives for anyone interested in similar what-is-my-address APIs that work correctly with JSON and IPv6:

    Invoke-RestMethod 'https://api.ipify.org?format=json'
    Invoke-RestMethod 'https://api64.ipify.org?format=json'
    Invoke-RestMethod 'https://api4.my-ip.io/v2/ip.json'
    Invoke-RestMethod 'https://api6.my-ip.io/v2/ip.json'
    Invoke-RestMethod 'http://ip-api.com/json/'
I don't personally disagree with the sentiment, but the prevailing message we are constantly getting on places like HN is that you should "release early", "move fast and break things" etc. So by that standard they're doing the right thing. And hey, they got you to test it for them and even describe how it needs to be fixed.
Half way through writing that I was thinking to myself: Why am I doing unpaid QA work?
Because you chose to do unpaid QA work for a free, publicly accessible utility. Thank you :)
Oh boy, this works: Invoke-RestMethod https://ip.network/more -UserAgent "curl/"

It would of course be better if it honored ContentType header.

I know it's cynical to say this, but I'm betting the author will just add "*PowerShell*" the list of User Agents that receive JSON and consider the bug fixed.
haha

Prohibited site usage You are trying to visit a site that is prohibited by the company's Acceptable Use Policy and it has been blocked.

Policy: [Access Control] Prohibited Sites Category: Prohibited Sites, Adult Content - Pornography Destination: www.ip.network/

Thanks netskope. sigh

Expect HR to knock on your door and issue a warning.
(comment deleted)
I hope having an “I P” in the url isn’t the reason it’s being filtered!
Haha. Didn't expect that. I bought the domain last year.
curl 2ip.io is shorter
(comment deleted)
(comment deleted)
In a similar vein, I use `dig` with Cloudflare to find IP addresses:

dig @1.1.1.1 ch txt whoami.cloudflare -4 +short | sed "s/\"//g"

dig @2606:4700:4700::1111 ch txt whoami.cloudflare -6 +short | sed "s/\"//g"

similarly i use;

nslookup myip.opendns.com. resolver1.opendns.com

Kind of nice visuals, although I still prefer functionality and speed over visual sparkles. For entertainment and a no-fluff service, I still recommend https://wtfismyip.com/, which offers the data in any output format you could ever need
Who is behind this website?

There’s no privacy policy, no "about us" or legal notice. At the bottom it advertises for AI.LS, Favicon.im, Small.im and Query.domains. All of these websites link to other websites, mostly other random tools with SEO text below and links to other websites (including MagicAnimate.org which has a footer that says "This website is not affiliated with MagicAnimate").

So what? literally any website you visit that has a http daemon with logs also has your IP address. It's not like they're taking the data you see on the page when you view it, which is unique to your client and whatever last-mile connection you're on at that moment, and re-distributing it to anyone else.

If you think the level of data this site shows is a lot and somehow concerning to you, don't ever use any form of modern FAANG social media...

There are lots of other tools made by nerds, for nerds on the internet that don't have a privacy policy or a set of legal notices. Not everything needs to be treated like a formal "product" because of lawyers. I imagine you'd probably be highly concerned if you saw IRC and efnet 25 years ago too.

look at all these other tools that also don't require you to click through agreeing to a TOS or whatever: https://news.ycombinator.com/item?id=41168877

> If you think the level of data this site shows is a lot and somehow concerning to you, don't ever use any form of modern FAANG social media

I’m not worried about that; I’m just asking who made the website. It’s not a "Show HN", it’s one of these random tools with SEO text and links at the bottom whose only purpose is to be one more part of a SEO farm; I don’t think this kind of thing should be on HN.

Just so we're clear, you're worried about who made a website that does nothing more than repeat the same data back to your eyes that every httpd in the world that you also visit has and logs? If the community doesn't think it's novel and interesting, they can downvote it.
> Just so we're clear, you're worried about who made a website that does nothing more than repeat the same data back to your eyes that every httpd in the world that you also visit has and logs?

It does do something "more than repeat the same data back to your eyes that every httpd in the world that you also visit has and logs": it has a footer plenty of links to similar websites that are made by the same people, which makes it looks like more a random website part of an SEO farm than a tool made by some hacker in their free time.

This impression is confirmed by the history of OP: their account is dedicated to spaming their products; it’s relatively new because their previous one (the same, but lower-case) ended up at -11 rep after having been repeatedly flagged.

Didn't expect to receive so many likes and comments. I just updated the site yesterday and haven't added all the necessary pages yet. We'll update the privacy policy soon. Sorry if this caused any discomfort.
Thanks. You may want to do it on all of your other websites that lack legal owner information. On Small.im you also forgot to mention it’s a fork of picsmaller.com (thus violating their license).
Thank you for your input. Have you noticed the GitHub link in the top right corner? I believe this provides a clear and user-friendly way to give credit.
This is the opposite of "clear and user-friendly"; it’s totally misleading. You write on your website that:

> What is Small.im? Small.im is an open-source batch image compression tool that supports multiple image formats.

And at the top you put a GitHub link to the original project. If someone doesn’t click on that link and do a bit of research, they might think you are the author of the open-source project, when in reality you just deployed your own fork without publishing your source and without mentioning the parent project (and with "© webmaster.studio. All rights reserved." at the bottom).

I've been building sites like this for over 20 years now. Interesting that it seems to be only doing IPv4.

I really love the simplicity of https://icanhazip.com which inspired the way I've build my own stuff like this today (no self promo here though).

My first iteration of a site like this was one that dug through whois records related to the ip detected. Back before dns privacy service took over it alway led to interesting results. I totally get why the internet has moved to privacy services to prevent direct contact information from being found but back in those days it really felt like the web was more person to person.

If you want to get the same results from a more well-known organization, see perhaps:

    $ dig +short myip.opendns.com @resolver1.opendns.com

    $ dig TXT +short o-o.myaddr.l.google.com @ns1.google.com

    $ dig +short txt ch whoami.cloudflare @1.0.0.1

    $ dig -6 TXT +short o-o.myaddr.l.google.com @ns1.google.com  # for IPv6
* https://www.cyberciti.biz/faq/how-to-find-my-public-ip-addre...

* https://www.google.com/search?q=get+my+ip+address+dig

Also:

    $ curl ifconfig.co

    $ curl ifconfig.me

    $ curl icanhazip.com
* https://opensource.com/article/18/5/how-find-ip-address-linu...

* https://www.tecmint.com/find-linux-server-public-ip-address/

* https://www.google.com/search?q=get+my+ip+address+curl

Another similar service which you can run yourself as well:

* https://www.ipify.org

* https://github.com/rdegges/ipify-api