ipinfo.tw icon indicating copy to clipboard operation
ipinfo.tw copied to clipboard

Running on local network gives empty result

Open dominch opened this issue 2 years ago â€ĸ 5 comments

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 :)

dominch avatar Mar 13 '23 16:03 dominch

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

PeterDaveHello avatar Mar 13 '23 16:03 PeterDaveHello

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.

dominch avatar Mar 14 '23 07:03 dominch

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

PeterDaveHello avatar Mar 14 '23 07:03 PeterDaveHello

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.

dominch avatar Mar 14 '23 08:03 dominch

@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.

PeterDaveHello avatar Mar 14 '23 08:03 PeterDaveHello