disable webrtc

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Re: disable webrtc

Postby gluester » Fri Sep 04, 2015 4:40 am

magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

Ok i didnt think so where can i submit this as a feature request?
or how would i look into doing it myself?
gluester
Techie
 
Posts: 27
Joined: Tue Jul 28, 2015 9:31 am

Re: disable webrtc

Postby magreenblatt » Fri Sep 04, 2015 6:32 am

gluester wrote:
magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

Ok i didnt think so where can i submit this as a feature request?
or how would i look into doing it myself?

You can submit a feature request in the CEF issue tracker. If you identify the specific JS APIs that the site is using you can search for the implementation using the Chromium Code search tool: https://code.google.com/p/chromium/codesearch#/
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: disable webrtc

Postby gluester » Fri Sep 18, 2015 6:26 am

magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

will there be?
where can i open a request for it?
gluester
Techie
 
Posts: 27
Joined: Tue Jul 28, 2015 9:31 am

Re: disable webrtc

Postby magreenblatt » Fri Sep 18, 2015 7:58 am

gluester wrote:
magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

will there be?
where can i open a request for it?

http://crbug.com/new
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: disable webrtc

Postby fddima » Mon Jun 06, 2016 4:07 pm

WebRTC's IP leaking can lowered/avoided by setting preferences:

Code: Select all
// This options obsoleted from Chromium M50, but still exists in source/work on latest stable (51).
webrtc.multiple_routes_enabled  to  false
webrtc.nonproxied_udp_enabled   to false

// See webrtc_ip_handling_policy.h for description
webrtc.ip_handling_policy   to   disable_non_proxied_udp


But i'm have other question: can be unique device ids (media device id fingerprints) cleared? Or somehow shuffled?
I'm found in chromium code media.device_id_salt preference used for this, but when i'm trying set it in CEF - it is says that this preference is not registered.
I'm found that CEF contains probably related media_capture_devices_dispatcher class, so will glad for any advices how to do it in most simple way.
Or probably it is even easier to disable it is during build (that's acceptable for me). Any suggestions how to do this (where to read about)?

PS: cefclient by default is not show IP's (checked by https://www.browserleaks.com/webrtc ), but in my browser based on same version - it is leak IPs by default. Not sure what's difference.

UPD: For me preferred way is not clearing device list, but change device ids/salt for each request context. But "clearing" (disabling enumeration) is also good option.

UPD2: In cefclient IP's leaked too. Sometimes they are not detected.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: disable webrtc

Postby magreenblatt » Mon Jun 06, 2016 4:14 pm

Looks like media.device_id_salt is only used in chrome: https://cs.chromium.org/search/?q=kMedi ... um&type=cs

Where did you get the cefclient build that you're testing with? Perhaps it's build with buildtype=Official and your build isn't?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: disable webrtc

Postby fddima » Mon Jun 06, 2016 4:18 pm

magreenblatt wrote:Looks like media.device_id_salt is only used in chrome: https://cs.chromium.org/search/?q=kMedi ... um&type=cs

Where did you get the cefclient build that you're testing with? Perhaps it's build with buildtype=Official and your build isn't?


I'm use own build with buildtype=Official. Why you ask about build type? I'm update previous post about cefclient. It is work same as my app.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: disable webrtc

Postby fddima » Mon Jun 06, 2016 4:32 pm

Well, i'm found enable_webrtc option, that can disable it during build. Will try it later.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Previous

Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 16 guests