Onion encrypted P2P module of a VoIP application including rebuilt and creation of cover tunnels.
Clean artifacts:
mvn clean
Build and run tests:
mvn package
Generate code coverage and bug reports, viewable under target/site/index.html:
mvn clean install site
This generates the following reports:
The INI config file can be found at src/config/onion11.ini
#!/bin/sh
openssl genrsa -out hostkey.pem 4096
Onion depends on the RPS module to select intermediate tunnel hops and therefore requires it to be running as specified in the configuration file. Creation of tunnels will fail until enough peers can be provided by RPS. Config entries round_start and round_interval should be equal on all peers to ensure synchronized creation and teardown of cover and data tunnels.
java -jar target/onion-11.jar path/to/config.ini