r/Meshnet • u/theKELword • Feb 16 '15
r/Meshnet • u/satisfyinghump • Feb 02 '14
Outernet | WiFi for the World from Outer Space
r/Meshnet • u/Natanael_L • Jan 05 '12
WoT-DNS - Web of Trust based Domain Name System
WoT-DNS - Description
Link: https://en.wikipedia.org/wiki/Web_of_trust
TL;DNR: A system for deciding where domain names should go based on who you trust.
WoT-DNS is my proposal for a new P2P based DNS system.
This system decides where a domain name like reddit.wot should go based on your trust, as an invidividual; it does not care about the opinion of random strangers. You are the one who choose who's trusted and who's not, since it's using WoT (web of trust). Also, domain names are intentionally NOT globally unique, since the only way to achieve that is with a centralized service or a first-come, first-serve system like Namecoin, and I dislike both those solutions. This means that if you would ask for a sitename like reddit.wot, you could get many results instead of going straight to one site. But whenever one site is trusted (for you) much more than the rest (like reddit's official site would be), that's where you'll go.
Basic idea: Gather site registrations for a domain name from the network and from friends -> calculate your WoT metrics for each of the results -> pick the top site if one stands out at the top as most trusted -> let the application go to that site.
Basics
Every participant runs a WoT-DNS client. There are several ways to enable browsers and IM clients, etc, to use this system. One is to run a local proxy where only .wot domains are intercepted, and normal traffic are untouched. When connecting, it would start by asking the WoT-DNS network about who has registered their site with that domain name.
Every client has a unique asymmetric keypair, both regular users and servers have them. Servers additionally generate one unique keypair per registered domain. Registered .wot domains are identified by their key. Each registered domain has at least two addresses: The readable one, such as example-domain.wot, and one that contains it's public key hash (like I2P, [the 52 base32 characters of the SHA256 hashed public key].key.wot, so "key.wot" are one of those domains you can't register). That means you can always go directly to a particular site by entering it's key hash.
A domain registration has to contain at least this: The domain name, the server's public key, addresses (yes, more than one if you like, useful for load balancing and to additionally specify I2P/Tor addresses along with regular-internet IP addresses). Additionally, you can add all the data that ordinary DNS servers can hold for a domain. Also, it can hold a site name and a description of the site, which is useful for telling sites with the same domain name apart. All registrations are also timestamped. I would also like to see a trusted timestamping system built in, to ensure that nobody claims that their domain registrations are older than they are, and the point is to prevent phishing by faking a site's age.
Domain registrations are stored in a distributed database. This means that every node keeps local copies of plenty of registrations. Updates will be continously added to the distributed database (such as when IP addresses change), and the old registrations are then replaced (but only if the keys and signature match). I suggest that we use some DHT system ("distributed hash table") like Kademelia for the database, or something similiar that provides the features we need.
The Web of Trust part:
The keypairs make this possible. Since everybody has a unique key pair that consists of a public key and a secret one (using asymmetric cryptography, public key encryption), PGP makes it possible to create signatures of data that likely can't be forged in our lifetimes. 2048 & 4096 bit keys using RSA are highly secure (while I prefer larger and safer 4096 bit keys, they're unfortunately also about 5-6 times slower). Keypairs are both used by the site owners for signing their domain registrations, as well as by users that additionally sign them as a means to show that they trust that that site. You can also sign a site as untrusted.
WoT details: You have a list of trusted people and organizations, including their public keys. Organizations like Verisign (SSL certificate authority) could be predefined for the sake of newcomers, this will make it like SSL out of the box. If a site has been signed by a friend or by a trusted organization your client will detect that and calculate what level of trust (trust metric) that site gets based on it. Since there can be several sites for a domain name, the site with the highest trust metric are the site your client chooses to go to. If both Microsoft and a spammer registered microsoft.wot and only MS has a signature from Verisign, then Microsoft's site will be more trusted so your client will prefer to go to Microsoft's site if your client is set to trust Verisign.
If the site in the top don't have a trust metric that's high enough (not enough trusted signatures or less than around 30% higher trust than the runner-up) it triggers some an alert (some spam/scam detection should also be built in), then you won't be sent to the top site right away - instead you get a list of the matching sites, ranked by the trust metrics.
So, how are trust metrics calculated? There are PLENTY of ways. One is to assign various levels of trust to your friends, and then simply take a look at how trusted a site is by the people in your web of trust, such as your friends friend. If it's fully trusted by somebody you fully trust, then you fully trust the site. If it's a bit trusted by somebody you trust a bit, it's just a little bit trusted by you. And that's just the short version!
Note that a signature of a domain from a user or organization as Verisign aren't intended as a method to indicate how trustable the site owner is, it's primarily a means of voting in this case (choosing who gets what domain name). The trust part is secondary, but necessary to make sure that scammers and spammers won't be able to take over popular domain names to trick people.
So how do you get started? If you want to clear out Verisign and those from the predefined list because you don't trust them, how do you add people you trust? Well, one way is to "bootstrap" using social networks. Let your client announce on Facebook, Twitter or Google+ that you now are using WoT-DNS with a message that contains the key. When your friends start using WoT-DNS, their clients will automatically find your key and connect to you (if they choose to connect to the same social network). Then you'll have a list of your friends in your client, and can set the trust levels there. And we don't need to limit it to social networks.
For site admins: While sites will have one keypair, it's not the only one. Your client also have your personal (or corporate) keypair that your site's key will be signed with. This "master keypair" for that site can be kept away from your servers, so you can keep it encrypted on a drive in a safe (obviously you can have multiple separate keypairs, so you don't need that level of security for the rest). If the server is hacked and somebody get your site key, you can issue a revokation signature with your master key pair, which will tell everybody that the site's old keys now are revoked.
Then you can restore the servers and generate a new site key, and all the old trust signatures can be "moved over". This won't be automatic, but everybody who has signed the site key will get notified about the replacement key pair so that they can sign it.
Problems
Vulnerable to targeted social engineering. A scammer could try to trick several close friends of some CEO to sign his site, in order to convince the CEO that his site is legitimate.
Trust metrics. How do we calculate them? How do we make them hard to "game"/mess with?
Evaluating trust. How do you know if your friend can judge if a site is legitimate? How do you yourself know if a site is legitimate?
NON-issues
Botnets/spammers that mass-sign phishing sites' keys. This is only a problem if a significant part of YOUR Web of Trust (your friends) sign the site's public key and it hasn't been flagged yet by somebody like Microsoft or Google (they keep their own blacklists already for spam domains for use in Chrome and IE).
A bunch of strangers or Group X or Group Y signing the key for a site that's in conflict with the one you want to go to from Group Z. This will NOT prevent you from getting to the site you want. Just don't set your client to trust X or Y. But yes, this means that followers of different groups can end up on different sites for the same domain name. This is by design, as I can't come up with any other solution that isn't first come, first serve, and that would make domain names globally unique. So I'm allowing domain name conflicts and letting different people get to different sites for them. I do not see this as an issue.
Non-static URL:s. We can have those too, but you need to use the key hash domain names. A static URL could look like this: abcdef0123456789abcdef0123456789abcdef0123456789abcd.key.wot/news/global/reddit-is-awesome.php
Single point of failures/hacked Certificate Authorities. Remember that we are computing a site's trust based on what ALL of the nodes that WE trust think of it. A single flag from somebody you trust could alert you about a malicious site. If Verisign were to be hacked, it could be a flag from StartSSL. Or from somebody else. Doesn't matter. All it needs is one warning. But the scammer has to trick almost everybody you trust into trusting him.
Feedback and questions, please!
Please contribute by giving me feature suggestions, or by pointing out possible problems, or by just telling me about any useful idea you might have. All feedback is welcome! If you don't like my idea, tell me why!
[This is not finished yet, it's a work in progress...]
r/Meshnet • u/4weeping_willows • Nov 27 '11
Is this all necessary?
I'm a compute science major at the UBC, I'm interested in this project, but frankly I don't know a lot about high level networking architecture. So, I've been educating myself a bit over the last two hours, and I'm just curious why everyone is focused on creating an entirely new network. From what I understand, the main goal of Darknet is to escape censorship actions undertaken by the powers at be, and from what I have read these actions seem to be centered around DNS blocking. If this is true, wouldn't it be simpler to create a network of decentralized DNS servers? That way the only way to stop access to a URL would be to delete the source. I realize that there are technical limitations to this approach as well, but I feel like these are minor compared to the massive obstacles in building a totally new networking framework to rebuild the internet on. Again, I don't claim to be any kind of expert in this stuff. This is purely based on my fairly limited research so poke all the holes in it you can, I'm just looking for some clarification.
tl;dr Why reinvent the wheel when you can just grease the axle?
r/Meshnet • u/WildCatEra • Feb 24 '16
Passive wifi invention announced: engineers achieve Wi-Fi at 10,000 times lower power engineers achieve Wi-Fi at 10,000 times lower power
r/Meshnet • u/uehqetS • Mar 23 '14
How an Under-Appreciated iOS 7 Feature Will Change the World
r/Meshnet • u/tramco_ • Jan 15 '20
Smartphone mesh network
Would it be possible to set up a mesh network between all the mobile devices (on a train for instance). So that if one set of people had data, everyone could share? Via app perhaps?
r/Meshnet • u/box1820 • Oct 16 '15
Create a 900mhz wireless mesh network out of low powered computers with each node hosting a decentralized craigslist, messaging system, and domain registry. Regular users would use their mobile phones to connect to this node via wifi to access its services. : Lightbulb
r/Meshnet • u/DarkCoiner • May 16 '14
Darkcoin wants to sponsor a meshnet
am a large holder of the anonymous cryptocurrency Darkcoin. You are probably aware by now of Dogecoin sponsoring the racecar at Talladega. As we're a privacy-centric cryptocurrency, with the BS the FCC is trying to pull, a group of Darkcoin holders are looking to sponsor a meshnet or like project. My question is, is there a project (must be legal) out there that is aching to get off the ground or advance itself but simply needs funding?
I appreciate your time and what you are working towards. Thank you.
r/Meshnet • u/oooOO0OOooo • Mar 18 '12
[WiFi? Pssh..] Neutrino-Powered Messaging
r/Meshnet • u/grewalsatinder • Oct 25 '15
Getting started with Meshnet, on Linux. Hope some find it useful.
r/Meshnet • u/ZeroCoolMurphy • Aug 26 '13
How to Keep the NSA Out of Your Computer
r/Meshnet • u/MetaBetaDelta • Feb 04 '12
My today adventure with CJDNS, what work and what not
Reason for this post
I wanted to submit this to bring a level of awareness to the people to try out the meshnet network that seems to be working pretty solid.
Short Tale I played with CJDNS and got a lot of friendly help from the IRC about the project. I essentially set up Linux Mint (For the purpose of easy formatting if something goes wrong like a malware on linux, although the odd of that happening is next to 0%) operating system on my computer and simply install it straightforward. It worked similarly to a VPN network and it has a prototype version of google for finding websites in that network. It kind of dark and cool feeling that I can assure you, not knowing the boundary or what nodes that may have been already set up, but you just continue to explore what may be out there.
What is CJDNS? It is an internet within the internet, yes, internet-ception. In my opinion, it is many to many vpn and essentially function like another internet layer under the internet as whole.
How do I connect to the meshnet? You're going to have to ask the Meshnet IRC about that, I'm not sure if I should release such detail at the moment.
The Security Concern Obviously, if you connect to the internet without a firewall, it is going to be exactly like standing butt naked in the middle of the road. Although the meshnet is a small network, you're going to have to play it safe. If you plan on having Windows computer connecting to the Meshnet through Linux, make sure your linux system has a firewall to protect your poor windows computer.
Why is there no DNS? You need to set up a DNS from the Darknet DNS provider and the documentation is pretty technical although in my opinion, it pretty simple.
How to communicate? On the darknet, there already are some services available for "tweeting", microblogging platform, DNS, and even similar to Google service. (Just ask the IRC and read as many documentations as you can.) There will be some updates with the CJDNS sometime in the future, so be prepare for that. Keeping in touch with the IRC of the mesh project is paramount importance.
How laggy is it? The lag isn't too bad, I'd say 5 seconds average on the first load of a webpage and after that around 1 second load when navigating the websites. Just gotta be patient.
How secure is it? You know, I haven't gone into it, but I already maintain a proper security measure when navigating the meshnet for the first time (Using ultra strict firewall, random password and username and storing them into a text file on the computer and so forth.) In my contribution to the project, I'll try to do some penetration testing of the project on my personal network and I might give a few patches to improve the security of CJDNS network (Not going to do anything that might affect any darknet network out there.)
How will it be regulated? Right now, it is free for all by design.
Should I check it out? YES! I'd recommend you to try and learn to get used to the network. Also please take the time to learn how to set your computer up to use the DNS and CJDNS.
Would there be Windows port of CJDNS? I would NOT recommend it unless it has some security measures in place to protect the users. The best port atm is having a Linux bridge for Windows computer although you will need to set up the firewall on Linux. It can be done with virtual box and set up a pretty tiny linux to act as a router.
It is too technical! It probably is at the moment and I'm working on making a documentation and installers for newcomers to seamlessly intregrate themselves into the meshnet.
Got any question? Fire away!
r/Meshnet • u/Axeous • Dec 24 '17
I am highly interested in joining and helping maintain a mesh network. However, what can I do on one? Can one potentially browse websites like youtube?
The title really says it all, I am very interested in a user powered internet of essentially interconnecting wifi points. but there is no description on what is browseable on them. I have heard local sites like Craigslist are feasible. But it just sounds like a community maintained isp from my standpoint.
r/Meshnet • u/prashere • Apr 02 '16
The need for meshnet explained in simpler terms
r/Meshnet • u/anthenor • Jun 18 '14
Mesh networks could bridge the gap between internet capacity and demand
r/Meshnet • u/wmcscrooge • May 11 '14
Why isn’t mesh networking more popular?
r/Meshnet • u/ShadowNexus • Aug 14 '13
Wireless devices go battery-free with new communication technique
r/Meshnet • u/ssiver1 • Feb 28 '13
What's to stop the meshnet to be destroyed along with this.
r/Meshnet • u/hazysummersky • Sep 17 '12
Researchers Find Botnet C&cr Servers Hidden in Tor Anonymity Network
r/Meshnet • u/Tapemaster21 • Apr 02 '12
Great speech by Eben Moglen on Anonymity of the net. [x-post r/Darknet]
r/Meshnet • u/[deleted] • Feb 13 '12