Перейти к файлу
James Willcox d03056ab77 Merge branch 'no-connect' into develop 2014-06-24 12:58:00 -05:00
config Don't tunnel HTTPS traffic by default 2014-06-24 12:57:47 -05:00
keys Initial. 2014-05-20 03:03:56 +02:00
lib Don't tunnel HTTPS traffic by default 2014-06-24 12:57:47 -05:00
.gitignore Added gitignore. 2014-06-06 14:14:45 +02:00
.jscsrc Fix Redis cache item encoding. 2014-06-23 23:49:55 +02:00
.jshintrc Added global strict mode. 2014-06-11 18:53:49 +02:00
.travis.yml Add IRC configuration for Travis CI 2014-06-13 10:48:18 -05:00
LICENSE Updated license. 2014-05-23 20:31:01 +02:00
README.md Move cache loading into request handler. 2014-06-18 21:22:22 +02:00
gonzales Added YAML configuration. Refactored. 2014-06-05 20:26:35 +02:00
package.json Add statsd metrics support. 2014-06-23 22:04:37 +02:00

README.md

Gonzales - SPDY Privacy Proxy

Build Status

Requirements

  • Node.js v10.0

Installation

Gonzales is not published on NPM, so you need to get the code first.

git clone https://github.com/mozilla/node-gonzales

Next, use NPM to install all the dependencies.

cd node-gonzales  
npm install

Configuration and Usage

Gonzales

You can find the default Gonzales configuration in config/default.yml. All settings are exposed and documented there.

You may edit the settings directly in the default configuration file or preferably override some of settings using a custom configuration file, see the node-config documentation for more details about the configuration system.

To start the proxy, just run

./gonzales

The only command-line arguments supported are -h for help and -v for showing the version.

Firefox

You need Firefox Nightly for SPDY proxy support. When using self-signed certificates, you need to add it to Firefox first. To do this, use Firefox to call the proxy via its host-port combination.

https://<proxy-host>:<proxy-port>/

This should prompt you to add an exception for the self-signed certificate.

Desktop

Now, you can configure the secure proxy in Preferences/Advanced/Network/Settings. Select Automatic proxy configuration URL and set it to your custom PAC file or use the default configuration served by Gonzales.

http://<gonzales-host>:<pac-server-port>

This will serve a suitable PAC file with the proper host and ports set.

Android

For Fennec the steps are similar. Open about:config and set network.proxy.autoconfig_url to the location of your PAC file or the Gonzales PAC server. To load the PAC file and activate the proxy, set network.proxy.type to 2.