Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network IP fails in Google Chrome #2

Open
codingstill opened this issue Jun 25, 2019 · 8 comments
Open

Network IP fails in Google Chrome #2

codingstill opened this issue Jun 25, 2019 · 8 comments

Comments

@codingstill
Copy link

codingstill commented Jun 25, 2019

Visiting https://net.ipcalf.com/ in Google Chrome returns a guid-like value instead of the actual IP. For example

Your network IP is:
5811584f-3480-4te0-875f-60a1c8f4393c.local
Make the locals proud.

Chrome version: Version 75.0.3770.100 (Official Build) (64-bit)

From what I've seen so far, in the candidate string of the RTCIceCandidate object, this guid-like appears where the actual IP used to be.

Is there a way to retrieve the actual client IP in Chrome?

Edit: This behavior is not consistent. For some users with the same Chrome version are able to get the actual client IP

@SathishKumar140
Copy link

I also used to face this issue, it seems like chrome is doing an experimental to expose actual ip

image
if #enable-webrtc-hide-local-ips-with-mdns flag is enabled you will get to see only mDNS (Multicast domain name) in web page

I am also looking for the solution, please help

@codingstill
Copy link
Author

Hi @SathishKumar140

Thanks for posting. Indeed, setting this feature to Disabled it resolves the issue. The option is in chrome://flags/#disable-webrtc for anyone that might ask.

Closing this as it is not related to ipcalf.

@SathishKumar140
Copy link

SathishKumar140 commented Jun 25, 2019

If chrome make's this experimental feature live, then it became a bug and we don't get an option to enable/disable. How can we solve this issue at an early stage?

@codingstill
Copy link
Author

I think this is considered a security issue/concern, known as WebRTC leak. I am not sure if this can be addressed from the website's end.

@SathishKumar140
Copy link

Is there any other way to get IP in the client?

@natevw
Copy link
Owner

natevw commented Jun 25, 2019

Interesting, clever for them to go the mDNS route to hide those.

As an aside, if they actually start letting the user resolve mDNS addresses (e.g. my laptop's mDNS name from my phone) too, then that somewhat reduces the need for knowing the local IP address anyway….

But anyway, I'll re-open this assuming they might go ahead rolling this out and see if there's a way to let the user grant perms anyway.

@natevw
Copy link
Owner

natevw commented Jun 25, 2019

@codingstill codingstill changed the title Actual IP fails in Google Chrome Network IP fails in Google Chrome Jun 26, 2019
@natevw
Copy link
Owner

natevw commented Jul 29, 2019

Looks like the current flag for this is chrome://flags/#enable-webrtc-hide-local-ips-with-mdns "Anonymize local IPs exposed by WebRTC." if anyone wants to opt out of the privacy protections here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants