PeterDaveHello / ipinfo.tw

đŸŗ A self-host 🙅 non-tracking, AD-🆓 ➕ đŸĒ-🆓 solution to show your IP ℹī¸ Super small (🤏10MB)
https://ipinfo.tw
GNU General Public License v3.0
182 stars 27 forks source link

Running on local network gives empty result #22

Open dominch opened 1 year ago

dominch commented 1 year ago

Running it in local network gives empty result: image

192.168.1.1
 / 
AS / 

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Probably same thing for other IP classes: 10.x.x.x 172.x.x.x, Also running it locally - 127.0.x.x

Of course address/location for this service is unknown, but this looks empty and even '?' would be better :)

PeterDaveHello commented 1 year ago

@dominch I don't think it's really needed 😅

dominch commented 1 year ago

Looks ugly on those, of course for each You can guess missing information.

Is it needed? Sure, the whole point of such service is to get network context. With complicated setup, vpns and security You would like to know which gateway You are using, sometimes for more than one application on same network and vm. It should just give information about network route.

PeterDaveHello commented 1 year ago

@dominch It's Internet facing service, not for internal usage though 😱

dominch commented 1 year ago

It's network context/ip discovery service, like many others easily found in Internet, but none of them there will return information about internal network routes, and sure - I don't do that locally, but on many networks connected via different protocols and advanced routing. If I would like to know only gateway path - then no point to deploy on Your own. Ok, let's leave that.

PeterDaveHello commented 1 year ago

@dominch That's the purpose of the project, yes.

But, please feel free to contribute patches, we can get it merged if the complexity is acceptable, no problem.