From Whonix

GNUnet Logo

Ambox warning pn.svg.png Documentation for this entry is incomplete. Contributions are happily considered!


GNUnet is a next generation, private and anonymous P2P networking stack that rebuilds the internet from the bottom-up on these principles. It exceeds all the other members of the big four (Tor, I2P and Freenet) in scope and design assumptions. [1] [2] Architecturally it is a master-piece that has been undergoing constant development since 2001.

Feature List[edit]

A no where near exhaustive feature list: (GNUnet has 45 deployed subsystems for details see: [3] [4])

  • A very clean modular and documented architecture that allows for adding functionality without encumbering the protocol or limiting future changes
  • GNUnet primarily written in C, but the gnunet-java subsystem provides an API for developing extensions in Java[5]. Similar work is being done for Rust.
  • A P2P consensus system designed under the assumption that a powerful adversary controls nodes in the network - compared to a centralized directory servers model (Tor)
  • Can use TCP,UDP,HTTPS,HTTP and Bluetooth transports
  • ECRS is a distributed file store like Freenet but with many improvements including:
    • allowing direct sharing of files from the local drive without encrypting and inserting them first.
    • can share and mount directories via FUSE
    • file download swarming for improved speeds
    • global private keyword search for files
    • resistance to keyword/unrelated content spam by using trusted namespaces[6]
    • resource accounting to reward contributors and limit attacks
  • User controllable anonymity levels for traffic routing - allows for more latency sensitive use-cases between peers like VoIP
  • An anonymous routing capability that allows for:
    • VPN functionality between peers
    • IP protocol routing as opposed to just TCP
    • traffic exits that allow connecting to the legacy Internet
  • By implementing alpha-mixing (mixing traffic of varying latencies) it can provide more cover traffic for resisting traffic analysis
  • A strong adversary resistant DHT that handles network churn
  • GNS, a secure and memorable name system with query privacy and key revocation
  • PSYC2 (WIP) an extensible messaging format that runs on the multicast subsystem to create social networking application (secushare [7])
  • Conversation, a VoIP application

GNUnet in Whonix[edit]

Info These instructions are incomplete.

GNUnet's capabilities makes it an excellent choice for a planned Whonix ™ notification system, a censorship resistant host of project files and even as a Tor alternative on the gateway in the future. It is currently packaged in Debian but the rapid development cycle makes the versions packaged in stable obsolete and incapable of connecting to the network. See ticket [archive].


Install mmdebstrap systemd-container apt-cacher-ng.

1. Update the package lists.

sudo apt-get update

2. Upgrade the system.

sudo apt-get dist-upgrade

3. Install the mmdebstrap systemd-container apt-cacher-ng package.

Using apt-get command line parameter --no-install-recommends is in most cases optional.

sudo apt-get install --no-install-recommends mmdebstrap systemd-container apt-cacher-ng

The procedure of installing mmdebstrap systemd-container apt-cacher-ng is complete.

Create a chroot. [9]

sudo mmdebstrap --verbose --include gnunet --aptopt='Acquire::http { Proxy ""; }' sid ~/debian-sid-chroot

Enter chroot.

sudo systemd-nspawn -D ~/debian-sid-chroot

Or start systemd inside chroot. This requires using above command, creating user password, otherwise no login is possible.

sudo systemd-nspawn -D ~/debian-sid-chroot /sbin/init

To leave the chroot press keep holding key CTRL and press key 5 quickly 3 times within 1 second. [10]

See Also[edit]


Fosshost is sponsors Kicksecure ™ stage server Whonix old logo.png
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki

Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Matrix logo.svg.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png Iconfinder Apple Mail 2697658.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Follow us on Twitter.png Twitter / Facebook.png Facebook.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.