webrtc-ip | 💻 Simplified IP client using WebRTC | TCP library
kandi X-RAY | webrtc-ip Summary
kandi X-RAY | webrtc-ip Summary
This software is for educational purposes only. This software should not be used for illegal activity. The author is not responsible for its use.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of webrtc-ip
webrtc-ip Key Features
webrtc-ip Examples and Code Snippets
Community Discussions
Trending Discussions on webrtc-ip
QUESTION
My friend recently finished a project that I've been hearing about for some time, and I wanted to test it out. The source code can be found here. I first tried including the code in a
ANSWER
Answered 2021-Jan-27 at 17:46This has to do with what @SeanDuBois said in the comments. WebRTC datachannels now use an mDNS IP instead of your private, and as Phillip Hanke said here, you can de-obfuscate these IPs, but will never be able to in the browser.
QUESTION
What I want to do: I want to test my stun and turn server by using puppeteer to use the google webrtc example implementations automatically.
Problem: Using puppeteer returns different local addresses and no IPv6.
...ANSWER
Answered 2019-Nov-29 at 09:54You're running into similar problems as described here. In pupeeter you never called getUserMedia so host candidates will be obfuscated using mdns. In the browser you did at some point and that information is persisted.
--disable-features=WebRtcHideLocalIpsWithMdns will disable mdns but note that the host candidates you get are irrelevant to answering the question whether the TURN server works (which it does not in your case as there is no relay candidate)
QUESTION
I tried:
...ANSWER
Answered 2018-Oct-28 at 11:38Here are steps to prevent webrtc IP leak on puppeteer version 1.9.0
.
- Background Pages are available for chrome extensions. You won't probably find a background page on a headless browser.
- Chrome headless does not support extensions. We must use
headless: false
.
Clone the git repo to some local folder (ie: extensions/webrtc
),
QUESTION
Below is a quote from this GitHub project STUN IP Address requests for WebRTC.
These request results are available to JavaScript, so you can now obtain a users local and public IP addresses in JavaScript.
I did as suggested in the following quote.
Here is the annotated demo function that makes the STUN request. You can copy and paste this into the Firefox or Chrome developer console to run the test.
The result was a script error with output results of undefined and 192.168.x.x. It did correctly detect the internal home IP address of one of my laptops.
The error was:
Uncaught TypeError: Cannot read property '1' of null at handleCandidate (:38:47) at RTCPeerConnection.pc.onicecandidate (:52:13)
The error occurred here:
...ANSWER
Answered 2018-Jan-03 at 15:54Yes, making STUN requests with WebRTC to determine the client's IP address is still a viable approach. To determine what's wrong with the particular code you have posted, try dumping candidate
in handleCandidate()
to see why the ip_regex
regexp is choking:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install webrtc-ip
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page