{{Header}} {{Title|title= ZeroNet: Decentralized Censorship-resistant Network }} {{#seo: |description=Combining {{project_name_long}} with ZeroNet. ZeroNet over Tor. Connecting to Tor before ZeroNet (User → Tor → ZeroNet → Internet). |image=Zeronetlogo.png }} [[File:Zeronetlogo.png|200px||thumb|ZeroNet Logo]] {{Contributor| |status=unmaintained |about=About this {{Code2|{{PAGENAME}}}} Page |difficulty=unknown |contributor=none |support=none }} {{intro| Combining {{project_name_short}} with ZeroNet. ZeroNet over Tor. Connecting to Tor before ZeroNet. UserTorZeroNetInternet }} __FORCETOC__ __TOC__ ---- = Deprecated Wiki Page = The original developer of ZeroNet disappeared approximately February 2021. * https://github.com/HelloZeroNet/ZeroNet/issues/2749 * https://github.com/HelloZeroNet There is a continuation of the ZeroNet project in the form of a software forks like [https://github.com/ZeroNetX/ZeroNet/ ZeroNetX] and [https://github.com/zeronet-conservancy/zeronet-conservancy ZeroNet-Conservancy]. * https://www.reddit.com/r/Whonix/comments/ur4815/zeronet_wiki_page_is_outdated/ * https://www.reddit.com/r/zeronet/comments/s27d34/0net_forks/ These are [[Unsupported|undocumented]]. = Introduction = The ZeroNet wiki describes the software design: https://zeronet.readthedocs.io/en/latest/
[https://zeronet.io/ ZeroNet] uses Bitcoin cryptography and BitTorrent technology to build a decentralized censorship-resistant network. Users can publish static or dynamic websites in ZeroNet and visitors can choose to also serve the website. Websites will remain online even if it is being served by only one peer.
This means users are not identified or reachable by an IP address, since they are identified by a public key - specifically a public Bitcoin address. The private key owner can sign and publish changes, which are propagated through the network. Sites are accessed through an ordinary browser in combination with the Zeronet application. ZeroNet acts as a local web server for these pages. The BitTorrent technology refers to the use of trackers to negotiate peer connections. https://en.wikipedia.org/wiki/ZeroNet ZeroNet can be optionally configured to use Tor for anonymity? The Zeronet wiki describes various features and benefits, including: * Password-less authorization - the user account is protected by the same cryptography that applies to Bitcoin wallets. * Easy setup. Although the Chinese government has blocked the ZeroNet website and bittorrent tracker. * Immediate updating of sites in real time. * Works with any browser. * Full Tor network support, including onion services. * Content cannot be censored (removed) after publication. * It is impossible to shut down content, since content is served by any user who wishes to. * ZeroNet is fast and works offline. = Connecting to Tor before ZeroNet = These instructions lead to the following connection scheme in {{project_name_short}}: '''UserTorZeroNetInternet''' = Installation = {{onion-grater-warning}} == onion-grater Adjustments == Complete the following steps in {{project_name_gateway_long}} ({{project_name_gateway_vm}}). {{Control_Port_Filter_Python_Profile_Add |filename_new=40_zeronet }} == Modify Firewall Settings == Modify the {{project_name_workstation_long}} ({{project_name_workstation_vm}}) user firewall settings and reload them. {{Box|text= '''1.''' {{Firewall_Settings_Workstation}} '''2.''' Open required external ports. Add. {{CodeSelect|code= EXTERNAL_OPEN_PORTS+=" 15441 " EXTERNAL_OPEN_PORTS+=" 33750 " }} Save the file. '''3.''' {{Reload_Firewall_ws}} }} == Install Dependencies == Run the following commands in {{project_name_workstation_short}} terminal ([[Qubes|{{q_project_name_long}}]]: {{project_name_workstation_template}} Template). {{Update}} {{CodeSelect|code= sudo apt update }} Install dependencies. Is python3-msgpack still reuqired? {{CodeSelect|code= sudo apt install git python3-pip python3-msgpack }} == Retrieve the Signing Key == Run the following command in {{project_name_workstation_short}} terminal ([[Qubes|{{q_project_name_short}}]]: {{project_name_workstation_vm}} AppVM). Retrieve the ZeroNet signing key. * https://github.com/HelloZeroNet/ZeroNet/issues/759 * ZeroNet feature request: [https://github.com/HelloZeroNet/ZeroNet/issues/2209 upload ZeroNet gpg signing key] {{gpg key |url=scurl-download https://zeronet.io/files/tamas@zeronet.io_pub.asc |source_filename=tamas@zeronet.io_pub.asc |gpg_fingerprint_output=Key fingerprint = 960F FF2D 6C14 5AA6 13E8 491B 5B63 BAE6 CB96 13AE
}} == Install ZeroNet == Run the following commands in {{project_name_workstation_short}} terminal ([[Qubes|{{q_project_name_short}}]]: {{project_name_workstation_vm}} AppVM). ZeroNet is not yet packaged for Debian, so it must be manually installed. https://github.com/HelloZeroNet/ZeroNet/issues/241 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850474 Download ZeroNet. {{CodeSelect|code= git clone https://github.com/HelloZeroNet/ZeroNet.git }} Navigate to the ZeroNet folder. {{CodeSelect|code= cd ZeroNet }} Check the ZeroNet signature. {{CodeSelect|code= git log --show-signature }} Install dependencies of ZeroNet. There is currently no better way than using a third party repository and third party package manager pip. ZeroNet dependencies are not available in Debian. * https://github.com/HelloZeroNet/ZeroNet/issues/241#issuecomment-474427733 * [https://github.com/HelloZeroNet/ZeroNet/issues/2326 please do not depend on python-pip3 - security risk - use dependencies available from distribution package repositories] {{Third_Party_Repository}} {{CodeSelect|code= sudo python3 -m pip install -r requirements.txt }} = Launch ZeroNet = {{Box|text= '''1.''' Launch the ZeroNet process. [[Qubes|{{q_project_name_short}}]]: {{CodeSelect|code= ./zeronet.py --tor always --fileserver_ip $(qubesdb-read /qubes-ip) }} [[Non-Qubes-Whonix|{{non_q_project_name_short}}]]: {{CodeSelect|code= ./zeronet.py --tor always --fileserver_ip 10.152.152.11 }} '''2.''' Launch Tor Browser. {{Tor_Browser_Start}} '''3.''' Adjust Tor Browser's configuration. {{Template:TBB_localhost}} '''4.''' Navigate to the ZeroNet web interface. Paste {{Archive_link|url=http://127.0.0.1:43110|text=http://127.0.0.1:43110}} into Tor Browser's URL field and press Enter. For additional tips on visiting sites, see: [https://zeronet.readthedocs.io/en/latest/#how-does-it-work How does it work?] The process is now complete and ZeroNet should be fully functional in {{project_name_short}}. Functionality was last confirmed in mid-2020. }} '''Figure:''' ''ZeroNet Homepage in {{project_name_short}}'' [[Image:Zeronethomepage.png|border]] = Popular ZeroNet Sites = Some popular ZeroNet sites include: https://zeronet.readthedocs.io/en/latest/using_zeronet/sample_sites/ '''ZeroHello:''' http://127.0.0.1:43110/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D
The homepage of ZeroNet.
----- '''ZeroMail:''' http://127.0.0.1:43110/1MaiL5gfBM1cyb4a8e3iiL8L5gXmoAJu27
End-to-end encrypted, distributed, P2P messaging site. To improve privacy it uses a BitMessage-like solution and will not expose the message recipient.
----- '''ZeroBlog:''' http://127.0.0.1:43110/1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8
Self publishing blog demo.
----- '''ZeroTalk:''' http://127.0.0.1:43110/1TaLkFrMwvbNsooF4ioKAY9EuxTBTjipT
Decentralized, P2P forum demo.
----- '''ZeroMe:''' http://127.0.0.1:43110/1MeFqFfFFGQfa1J3gJyYYUvb5Lksczq7nH
Decentralized, Twitter-like P2P social network.
----- '''ZeroChat:''' http://127.0.0.1:43110/1AvF5TpcaamRNtqvN1cnDEWzNmUtD47Npg
The finished site for the tutorial of creating a server-less, SQL backed, real-time updated P2P chat application using ZeroNet in less than 100 lines of code.
= Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Documentation]]