Перейти к файлу
Sylvain Cleymans 6e5e79a24a Added test config files. 2014-07-02 13:29:16 -07:00
config Added test config files. 2014-07-02 13:29:16 -07:00
keys Initial. 2014-05-20 03:03:56 +02:00
lib Added test framework. 2014-07-02 11:42:17 -07:00
test Added test framework. 2014-07-02 11:42:17 -07: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 Forgot the Travis-CI config 2014-06-30 13:48:20 -05:00
LICENSE Updated license. 2014-05-23 20:31:01 +02:00
README.md Rename to 'Janus' 2014-06-30 13:44:22 -05:00
package.json Added test config files. 2014-07-02 13:29:16 -07:00
proxy Rename start script. 2014-07-02 18:14:13 +02:00

README.md

Janus - SPDY Privacy Proxy

Build Status

Requirements

  • Node.js v10.0

Installation

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

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

Next, use NPM to install all the dependencies.

cd node-janus  
npm install

Configuration and Usage

Janus

You can find the default Janus 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

./janus

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 Janus.

http://<janus-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 Janus PAC server. To load the PAC file and activate the proxy, set network.proxy.type to 2.