• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

intika/Librefox: Librefox: Firefox with privacy enhancements

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

intika/Librefox

开源软件地址:

https://github.com/intika/Librefox

开源编程语言:

JavaScript 69.7%

开源软件介绍:


Librefox: Browse With Freedom Tweet

This project aims at enforcing privacy and security of Firefox without forking the project.

Librefox uses more than 500 privacy/security/performance settings, patches, Librefox-Addons (optional) and a cleaned bundle of Firefox (updater, crashreporter and Firefox's integrated addons that don't respect privacy are removed).

Librefox is NOT associated with Mozilla or its products.

Features

  • Updated browser: because this project is not a fork, it is kept updated with the latest Firefox version.
  • Extensions firewall: limit internet access for extensions (firewall-test-feature)
  • IJWY (I Just Want You To Shut Up): embedded server links and other calling home functions are removed (zero unauthorized connection by default).
  • User settings updates: gHacks/pyllyukko base is kept up to date.
  • Settings protection: important settings are enforced/locked within mozilla.cfg and policies.json, those settings cannot be changed by addons/updates/Firefox or unwanted/accidental manipulation; To change those settings you can easily do it by editing mozilla.cfg and policies.json.
  • Librefox-addons: set of optional Librefox extensions
  • Statistics disabled: telemetry and similar functions are disabled
  • Tested settings: settings are performance aware
  • ESR and Tor version (Librefox TBB Beta)
  • Tor Librefox-addons: adapted Librefox extensions for TBB
  • Multi-platform (Windows/Linux/Mac/and soon Android)
  • Dark theme (classic and advanced)
  • Recommended and code reviewed addons list
  • Community-Driven
  • And much more...

Index

> Librefox: Features ............................................................... 
> Librefox: Download ............................................................... 
> Librefox: Capture ................................................................ 
> Addons: Librefox Addons .......................................................... 
> Addons: Recommended Addons ....................................................... 
> Addons: Recommended Addons Settings .............................................. 
> Addons: Reviewing Addons Source Code ............................................. 
> Addons: Other Useful Addons Listing .............................................. 
> Wiki: Installation Instructions .................................................. 
> Wiki: Extensions Network Firewall ................................................ 
> Wiki: IJWY (I Just Want You To Shut Up) .......................................... 
> Wiki: Edit Locked Settings ....................................................... 
> Wiki: Settings Index ............................................................. 
> Wiki: Cookies Settings ........................................................... 
> Wiki: Tracking Protection ........................................................ 
> Wiki: Comparing Changes And Updates .............................................. 
> Wiki: Documentation .............................................................. 
> Wiki: Librefox Dark Theme ........................................................ 
> Wiki: Tuning Librefox ............................................................ 
> Wiki: Librefox ESR ............................................................... 
> Wiki: Tor Compatibility .......................................................... 
> Wiki: DRM Compatibility .......................................................... 
> Wiki: Building And Packaging ..................................................... 
> Browser Tests: Security/Fingerprint .............................................. 
> Browser Tests: Performance ....................................................... 
> Browser Tests: DNS/VPN/Proxy Leak ................................................ 
> Infos: Librefox Roadmap .......................................................... 
> Infos: Changelog ................................................................. 
> Infos: About ..................................................................... 

Download

Important notice: this is a temporary version, awaiting a correct build of the project, Librefox is distributed as a configuration files for Firefox. To apply Librefox configuration to Firefox extract the compressed file to Firefox's installation directory (detailed installation instructions). Future Librefox version will have its own trademark and therefore solve this issue.

Linux

Windows

Mac

Capture

Librefox Addons

Librefox addons are not bundled and need to be installed manually

Recommended Addons

Recommended addons are not bundled and need to be installed manually

Recommended Addons Settings

uBlock Origin: Additional filters are availables here: https://filterlists.com/ (don't surcharge it to avoid performance loss)

Browser Plugs Privacy Firewall: Keep settings light to make privacy.resistFingerprinting efficient because too much customization will lead to uniqueness and therefore easy fingerprinting.

  - Privacy / Fingerprint / Fake values for getClientRects
  - Privacy / Fingerprint / Randomize Canvas Fingerprint
  - Privacy / Fingerprint / 100% Randomize ALL Fingerprint Hash
  - Firewall / Experimental / Block SVG getBBox and getComputedTextLength
  - Privacy / Font / Randomize
  - Privacy / Font / Enable protection for font and glyph fingerprinting

Reviewing Extensions Code

Recommended extensions code have been reviewed for potential unwanted behaviour... reviewed version are available under extensions directory.

Extensions Firewall

Extensions Firewall - Description

This is a test experiment feature and it is disabled by default !!! A new section Extensions Manager is added to manage addons globally (and addons networking in the subsection Extensions Firewalling). Firewalling the network for addons is doable, but it requires a considerable amount of additional work in Librefox to make it usable through a button or in a per addon basis (this may or may not be added in a future version, it also could be abandoned as it is a test feature). Currently you can block a list of domains or block the whole network for all the extensions.

Extensions Firewall - The Settings

Available native network restriction settings for addons:

  • Restricted domains list: extensions.webextensions.restrictedDomains this is a list of restricted domains that will be used to block some hosts for all the extensions, Firefox uses this setting to block extensions from accessing mozilla's domains/sites, by default in Librefox this setting is set to allow extensions to access all the web (You can edit that list to match your needs or to block a specific domain, note that the domain name has to be 'exact' (for instance facebook.com will only block facebook.com not mobile.facebook.com)
  • Content security policy: extensions.webextensions.base-content-security-policy and extensions.webextensions.default-content-security-policy the later settings can be redefined/changed within an extension so it's not efficient for a firewall purpose. CSP settings are used in Firefox as an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement to distribution of malware; In short: CSP settings block and allow certain domains under certain circumstances and thus could be used to firewall the extensions (CSP Documentations, its sources code and implementation)

Extensions Firewall - Blocking A Domain

Edit the restricted domains setting as follow under the about:config page:

  • Restricted Domains Setting: extensions.webextensions.restrictedDomains Value: ExactDomains1,ExactDomains2,ExactDomains3 etc.

Extensions Firewall - Blocking The Network

To enable the feature and block the network for all the extensions open mozilla.cfg search for Enable-Firewall-Feature-In-The-Next-Line and remove the // in the next line.

Note that this will block the network access for all the extensions and a lot of extensions needs to be connected in order to work. In the current version of Librefox you can block the network for all the extensions or allow it for all of them, a future version may provide additional features like "per addon" setting (By default Librefox allows networking for extensions).

Extensions Firewall - More Infos

Check debug-notes.log for additional info about future version and researches about the subject. Also check CSP Documentations, its sources code and implementation.

IJWY (I Just Want You To Shut Up)

This is a set of settings that aim to remove all the server links embedded in Firefox and other calling home functions in the purpose of blocking un-needed connections. The objective is zero unauthorized connection (ping/telemetry/Mozilla/Google...).

Changelog

Available in the releases page

Installation Instructions

Notice: in the current state of the project Librefox is a set of configuration files for Firefox (awaiting a correct build of the project), therefore if you already have a Firefox profile, that profile will be used and temporary files will be removed (cookies and current session), make sure to backup your current Firefox's profile before using Librefox. Using Librefox simultaneously with Firefox is possilbe through a different profile you can follow this wiki to do so. Future Librefox version will be independent from Firefox and therefore will solve this issue.

Windows

  • Download and install the last version of Firefox x32 release or x64 release
  • Download Librefox zip file and extract it
  • Locate Firefox's installation directory (where the firefox.exe is located) C:\Program Files\Mozilla Firefox\ or C:\Program Files (x86)\Mozilla Firefox\ or Tor-Install-Directory\Browser\
  • Copy the extracted Librefox files to the install directory

Linux

  • Download and extract the last version of Firefox x32 release or x64 release
  • Download Librefox zip file and extract it
  • Copy the extracted Librefox files to the newly downloaded firefox directory
  • You can use directly Librefox by running 'firefox/firefox'
  • You can as well create a shortcut to 'firefox/firefox' to open Librefox easily.

Mac

  • Download and install the last version of Firefox
  • Download Librefox zip file and extract it
  • Locate Firefox's installation directory (Applications/Firefox.app/Contents/Resources/ or Applications/Tor Browser.app/Contents/Resources/)
  • Copy the extracted files to the install directory

Uninstall

  • To uninstall, just remove the files you added to your Firefox's install directory (to know what are the files to remove just check the downloaded Librefox zip file) then restart Firefox.

Edit Locked Settings

Just edit mozilla.cfg, save and restart Librefox.

Browser Tests - Security/Fingerprint

Firefox 60 and privacy.resistFingerprinting are relatively new, please give it some time to be more widely used and thus less finger-printable; If you are using a different site to analyze your browser make sure to read and understand what the test is about.

Browser Tests - Performances

Performance tests can be done here LVP Octane, it needs to be launched alone with other applications closed and with no other activity but the benchmark, also it's recommended to launch it many times and then calculate the average.

Browser Tests - DNS/VPN/Proxy Leak

About

License: Mozilla Public License 2.0

Inspired from: ungoogled-chromium

Author: Intika (from Liege/Belgium), contact: [email protected]

Donation: Paypal - [email protected] if you like it you can offer me a coffee :)

Based on: gHacks-user.js, pyllyukko-user.js and privaconf big thanks to everyone.

Acknowledgement, special thanks to:

  • The Mozilla team for their amazing work on Firefox
  • The gHacks-User team for allowing the usage of their work
  • Martin Brinkmann (gHacks.net) for writing on Librefox
  • All the stargazers (users that are encouraging this project by starring it)
  • All the contributors: @brainscar, @nhynes, @yoasif, @szepeviktor, @theel0ja, @atbanpc, @AnXh3L0, @samuel8941, @shaynem, @elypter, @colbycdev
  • And everyone who is helping this project: @Eloston, @dimqua, @Atavic, @antuketot76, @maxidor, @anchev, @ribatamu, and all the others i forget to mention.

Librefox Roadmap

Objectives for future versions of Librefox (this may change)

  • Develop an all-in-one Librefox addon to rule them all ? (Normal & Tor Version… this would simplify Librefox)
  • Develop an easy to use firewall system for extensions (button/hosts/allow/deny/per-addon)
  • Develop an advanced settings page
  • Update checker extension (feature in the full extension ?)
  • Advertisement for the project to reach more users ?

Todo for future versions of Librefox (this may change)

Settings Index

// ==============================
// Index mozilla.cfg .......... :
// ==============================
//
// ---------------------------------------------------------------------
// Section: User settings                    // Bench Diff: +0    / 5000
// Section: Defaulting Settings              // Bench Diff: +0    / 5000
// ------------------------------------------
// Section: Controversial                    // Bench Diff: +0    / 5000
// Section: Firefox Fingerprint              // Bench Diff: +0    / 5000
// Section: Locale/Time                      // Bench Diff: +0    / 5000
// Section: Ghacks-user Selection            // Bench Diff: +100  / 5000
// Section: Extensions Manager               // Bench Diff: +0    / 5000
// Section: IJWY To Shut Up                  // Bench Diff: +0    / 5000
// Section: Microsoft Windows                // Bench Diff: +0    / 5000
// Section: Firefox ESR60.x                  // Bench Diff: +0    / 5000
// ------------------------------------------
// Section: Security 1/3                     // Bench Diff: +0    / 5000
// Section: Security 2/3                     // Bench Diff: +0    / 5000
// Section: Security 3/3 (Cipher)            // Bench Diff: +0    / 5000
// ------------------------------------------
// Section: Performance 1/5                  // Bench Diff: +650  / 5000
// Section: Performance 2/5                  // Bench Diff: -800  / 5000
// Section: Performance 3/5                  // Bench Diff: -1720 / 5000
// Section: Performance 4/5                  // Bench Diff: -200  / 5000
// Section: Performance 5/5                  // Bench Diff: -50   / 5000
// ------------------------------------------
// Section: General Settings 1/3             // Bench Diff: +100  / 5000
// Section: General Settings 2/3             // Bench Diff: +0    / 5000
// Section: General Settings 3/3             // Bench Diff: -40   / 5000
// ------------------------------------------
// Section: Disabled - ON/OFF                // Bench Diff: +0    / 5000
// Section: Disabled - Deprecated Active     // Bench Diff: +0    / 5000
// Section: Disabled - Deprecated Inactive   // Bench Diff: +0    / 5000
// ---------------------------------------------------------------------

// ==============================
// Index local-settings.js .... :
// ==============================
//
// ---------------------------------------------------------------------
// Section: General Settings                 // Bench Diff: ++    / 5000
// ---------------------------------------------------------------------

Cookies Settings

Using different web services without cookies is impossible and cookie settings in a browser are very important when it come to privacy, in Librefox the settings are locked to avoid unwanted changes in such an important setting, but they can be easily changed in mozilla.cfg under User Settings: Cookies settings.

Tracking Protection

Firefox now integrates a tracking protection feature (based on disconnect.me) it's a small content blocking list, the listing can not be edited, this feature is disabled in Librefox. It's recommended to use uBlock Origin instead. This feature is disabled:

  • Until it evolves and integrates at least list editing.
  • Because double filtering (this + ublock) is not suitable for performance.

You can however easily enable this feature in mozilla.cfg under User Settings: Track Protection (just comment active lines with // or remove the entire section).

Comparing Changes And Updates

If you want to compare changes over updates or if you already have a user.js/mozilla.cfg/policies.json. consider using Compare-UserJS, it's an amazing tool to compare user.js files and output the diffs in detailed breakdown, developed by gHack's very own resident cat, claustromaniac


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap