Duncan X Simpson
- Create run-onionr-node.sh to parse env and supply args to run-onionr-node.py - Dockerfile: - Run onionr by default rather than bash - Run as unprivileged user by default instead of root - Use /app for all code - Specify python 3.7 (3.8 fails to build cffi) - Use apt-get rather than apt (apt's CLI is not stable) - Slight reformatting and consolidation - do not use devnull in run-onionr-node.py
|2 years ago|
|.github||3 years ago|
|.vscode||3 years ago|
|docs||2 years ago|
|install||2 years ago|
|scripts||2 years ago|
|src||2 years ago|
|static-data||2 years ago|
|tests||2 years ago|
|.dockerignore||2 years ago|
|.env||2 years ago|
|.gitignore||2 years ago|
|.gitlab-ci.yml||3 years ago|
|.onionr.yml||3 years ago|
|AUTHORS.MD||3 years ago|
|CHANGELOG.md||2 years ago|
|CODE_OF_CONDUCT.md||4 years ago|
|CONTRIBUTING.md||3 years ago|
|Dockerfile||2 years ago|
|ISSUE_TEMPLATE.md||2 years ago|
|LICENSE.txt||3 years ago|
|Makefile||3 years ago|
|README.md||2 years ago|
|SECURITY.md||3 years ago|
|git-update.sh||2 years ago|
|make-release.sh||3 years ago|
|onionr.sh||2 years ago|
|requirements-ARM.txt||2 years ago|
|requirements-dev.in||2 years ago|
|requirements-dev.txt||2 years ago|
|requirements-notifications.in||3 years ago|
|requirements-notifications.txt||3 years ago|
|requirements.in||2 years ago|
|requirements.txt||2 years ago|
|run-onionr-node.py||2 years ago|
|run-onionr-node.sh||2 years ago|
|run_tests.sh||3 years ago|
|sandboxed-onionr.py||2 years ago|
|setprofile.sh||4 years ago|
|start-daemon.sh||3 years ago|
|start-many-nodes.py||3 years ago|
|start-ram.sh||3 years ago|
Privacy Respecting Communication Network 📡
Anonymous social platform, mail, file sharing.
- Discord - Matrix: #onionr:amorgan.xyz
|Docs/web copy||Get involved||Onionr.net/.onion|
The main repository for this software is at https://git.VoidNet.tech/kev/onionr/
Onionr ("Onion Relay") is a decentralized/distributed peer-to-peer communication network, designed to be anonymous and resistant to (meta)data analysis, spam, and corruption.
Onionr stores data in independent packages referred to as 'blocks'. The blocks are distributed to all interested nodes. Blocks and user IDs cannot be easily proven to have been created by a particular user. Even if there is enough evidence to believe that a specific user created a block, nodes still operate behind Tor and as such cannot be trivially unmasked. Anonymity is achieved by a stateless network, with no given indication of what node a block originates from. In fact, since one is not required to participate in routing or storage to insert a message, blocks often do not originate from any identifiable node.
Through message mixing and key privacy, it is intended to be nigh impossible to discover the identity of a message creator or recipient. Via long-term traffic analysis, a well funded adversary may discover the most probable node(s) to be creating a set of related blocks, however doing so would only lead them to a node behind Tor. As the first node that a block appears on is almost always not the creator of the block, there is plausible deniability regarding the true creator of the block.
Onionr gives the individual the ability to speak freely, without fear of surveillance and censorship.
Users are identified by ed25519/curve25519 public keys, which can be used to sign blocks or send encrypted data.
Onionr can be used for mail, as a social network, instant messenger, file sharing software, or for encrypted group discussion.
Due to the nature of anonymity, the graph as implemented in this reference network is dense, undirected, cyclic and can be disconnected. As a result, current scalability is poor but sufficient for high latency communications. As the need arises isolated stream solutions may be implemented (in a manner similar to described in the Bitmessage whitepaper). Since Onionr is technically just a data format, any routing scheme can be used to pass messages.
The whitepaper is available here.
- 🌐 Fully p2p/decentralized, no trackers or other single points of failure
- 🔒 End to end encryption of user data
- 📢 Optional non-encrypted blocks, useful for blog posts or public file sharing
- 💻 Easy HTTP API for integration to websites
- 🕵️ Metadata analysis resistance and anonymity
- 📡 Transport agnosticism (no internet required)
Onionr ships with various application plugins ready for use out of the box:
- Public anonymous chat/message board
- Simple webpage hosting - Will be greatly extended
- File sharing (Work in progress)
Not yet usable:
- Instant messaging
Encrypted, metadata-masking mail application. One of the first distributed mail systems to have basic forward secrecy.
More docs coming soon.
Install and Run on Linux
The following applies to Ubuntu Bionic. Other distributions may have different package or command names.
Master may be unstable, you should use the latest release tag. (checkout via git:
$ git checkout release-latest)
$ sudo apt install python3-pip python3-dev tor
- Have python3.7+, python3-pip, Tor (daemon, not browser) installed. python3-dev is recommended.
- You may need build-essentials or the equivalent of your platform
- Clone the git repo:
$ git clone https://gitlab.com/beardog/onionr --tags
- cd into install direction:
$ cd onionr/
- Install the Python dependencies (virtualenv strongly recommended):
$ pip3 install --require-hashes -r requirements.txt(on ARM64 devices like Raspberry Pi 4's use requirements-ARM.txt instead.)
- (Optional): Install desktop notification dependencies:
$ pip3 install --require-hashes -r requirements-notifications.txt
(--require-hashes is intended to prevent exploitation via compromise of PyPi/CA certificates)
- Run Onionr normally:
$ ./onionr.sh start
- Run Onionr in background as daemon:
- Open Onionr web interface
$ ./onionr.sh openhome
- Gracefully stop Onionr from CLI
$ ./onionr.sh stop
- Email: beardog [ at ] mailbox.org
- Twitter: @onionrnet
- Onionr Mail: decentralized-fiery-freehearted-skimmer-yodling-topstitch-divorceable-ojibwa-resettlement-infracted-lessor-noninstinctual-leaseholder-counterpoised-couture-skinful
- Matrix: #onionr:amorgan.xyz
- Discord: https://discord.gg/DVF2bEAzrt (Discord is bad for freedom and privacy, this is only provided for convienience)
Everyone is welcome to contribute. Help is wanted for the following:
- Development (Get in touch first)
- Creation of a shared lib for use from other languages and faster proof-of-work
- Android and IOS development
- Mac support (already partially supported, testers needed)
- Bug fixes and development of new features
- UI/UX design
- Running stable nodes
- Security review/audit
- I2P support
Watch the talk from BSidesPDX 2019
Donating at least $3 gets you cool Onionr stickers. Get in touch if you want them.
Bitcoin: 1onion55FXzm6h8KQw3zFw2igpHcV7LPq (Contact us for a unique address or for other coins)
USD (Card/Paypal): Ko-Fi
Note: probably not tax deductible
Onionr is alpha software. This means it is unstable, probably insecure, and experimental.
No matter how good Onionr and other software gets, there will always be ways for clever or well-funded adversaries to break your security.
Onionr does not protect your identity if you associate your user ID with your name either on Onionr or elsewhere.
Do not rely on Onionr or any other software to hold up if your life or liberty are at stake.
Licenses and Branding
Onionr is published under the GNU GPL v3 license, except for the logo.
The Tor Project and I2P developers do not own, create, or endorse this project, and are not otherwise involved.
Tor is a trademark for the Tor Project. We do not own it.
The Onionr logo was created by Anhar Ismail under the Creative Commons Attribution 4.0 International License.
If you modify and redistribute our code ("forking"), please use a different logo and project name to avoid confusion. Please do not use the project name or logo in a way that makes it seem like we endorse you without our permission.