News for hackers. Stuff that matters.
Re:Feeling safer online with Firefox by sp332 on Friday January 13, 2017 @10:23AM (#13391453)
As mido22 said, the alternative right now is a closed plugin (Flash) or installing software on your computer completely outside of the sandbox. Putting these features in the browser in a controllable way is a step forward. If you don't need them, Firefox is open source and I'm not just saying that to be glib. You can easily grab the source https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g... and compile it with --disable-webrtc https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
Re:Feeling safer online with Firefox by sp332 on Friday January 13, 2017 @07:10PM (#13395938)
Replying to myself: ok so I just tried this and it's not that easy. The bootstrap script installed a bunch of dependencies but didn't install rust for some reason. Also Ubuntu 14.04 doesn't have the right version of gcc available so you have to get that basically too. The hg clone operation took forever and timed out a few times. Then my computer ran out of RAM during the build and I had to close some programs and start it up again. Pretty much a giant pain, and I don't even want to try Windows where the first step is "install Visual Studio"!
Re:Feeling safer online with Firefox by nmjohn on Friday January 13, 2017 @10:53PM (#13396755)
FWIW, on a fresh ubuntu 16.04 install, this is what needs to be run:

    sudo apt update && sudo apt install python build-essential -y
    wget -O bootstrap.py https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py
    cd mozilla-unified/
    ./mach build
Re:Feeling safer online with Firefox by sp332 on Friday January 13, 2017 @11:36PM (#13396905)
That takes care of rust too?
Re:Feeling safer online with Firefox by mintplant on Saturday January 14, 2017 @12:16AM (#13397030)
re: hg clone timeouts, you can download a leaner hg bundle over HTTP and then "unbundle" it:

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...

mozilla-central is just such a big repository that it pushes the usual cloning process to its limits.

The Rust dependency was added to Firefox very recently, so I guess with the holidays it hasn't made it into the bootstrap script and docs yet.

Re:Feeling safer online with Firefox by sp332 on Friday January 13, 2017 @10:15PM (#13396623)
*basically = manually
Re:Feeling safer online with Firefox by pawadu on Friday January 13, 2017 @10:43AM (#13391622)
But I am not familiar enough with the firefox code to do this. I might unknowingly create a whole new set of security issues by changing a few lines in a project of this complexity.
Re:Feeling safer online with Firefox by hackermailman on Friday January 13, 2017 @11:12AM (#13391874)
FF you first start by looking at their long guide for version control/build instructions http://mozilla-version-control-tools.readthedocs.io/en/lates...

Then you make a custom mozconfig file to disable or enable features, or to add your own extensions (ie: windows): https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...

  ac_add_options --disable-activex  
  ac_add_options --disable-activex-scripting
  ac_add_options --disable-installer
  ac_add_options --disable-crashreporter
You can further abstract this with a mozconfig wrapper https://github.com/ahal/mozconfigwrapper

But I agree, I can't find any documentation what exactly every feature is and why you would not want to disable/enable them. The Chromium build process is much more straight forward, or you could just use 3rd party sandbox and regular release FF.

Re:Feeling safer online with Firefox by mintplant on Friday January 13, 2017 @11:30AM (#13392099)
Your first link is misleading because it's targeted toward onboarding new Firefox contributors and includes a Mercurial tutorial and development workflow guide in addition to build instructions. Simple build instructions are here:

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...

On Linux I clone the source and run "./mach build".

Re:Feeling safer online with Firefox by hackermailman on Friday January 13, 2017 @01:34PM (#13393269)
Forgot to add there's a really good page around by the Chrome security team detailing all kinds of functions somebody might wish to remove such as dns lookups that expose your IP (the tails/torbrowser design document also has this list)
Re:Feeling safer online with Firefox by putsteadywere on Friday January 13, 2017 @01:53PM (#13393503)
do you have a link?
Re:Feeling safer online with Firefox by daveFNbuck on Friday January 13, 2017 @10:57AM (#13391733)
The suggestion is that you compile it with a flag to disable the feature. No need to change any lines of code.
Re:Feeling safer online with Firefox by roninb on Friday January 13, 2017 @12:29PM (#13392616)
I think their point is that they don't know enough about the innerworkings (read: code) to be sure that turning off one feature doesn't enable far more security vulnerabilities than existed when the feature was on...

They aren't suggesting using compile flags requires code changes...