Personal fork from https://github.com/zerotier/ZeroTierOne/
|
11 년 전 | |
---|---|---|
ext | 11 년 전 | |
mac-tap | 11 년 전 | |
node | 11 년 전 | |
.gitignore | 11 년 전 | |
AUTHORS.txt | 11 년 전 | |
BUILDING.txt | 11 년 전 | |
LICENSE.txt | 11 년 전 | |
Makefile.linux | 11 년 전 | |
Makefile.mac | 11 년 전 | |
README.md | 11 년 전 | |
RUNNING.txt | 11 년 전 | |
bump_revision.sh | 11 년 전 | |
idtool.cpp | 11 년 전 | |
launcher-fakebin.c | 11 년 전 | |
launcher.c | 11 년 전 | |
launcher.h | 11 년 전 | |
main.cpp | 11 년 전 | |
objects.mk | 11 년 전 | |
packtool.cpp | 11 년 전 | |
selftest.cpp | 11 년 전 | |
version.h | 11 년 전 |
ZeroTier One creates flat virtual Ethernet networks of almost unlimited size. Visit ZeroTier on the web for more information.
This code is presently in ALPHA testing. That means that the protocol spec may change in incompatible ways, and it certainly has bugs. Testers should "git pull," rebuild, and restart fairly often. If things mysteriously stop working, do that.
See BUILDING.txt and RUNNING.txt for instructions. It currently builds on Mac and Linux. A Windows port is coming soon. Nice packages/installers and auto-update is also coming when alpha transitions to beta.
Note that this won't work if your firewall does not allow outbound UDP. It must allow UDP conversations on port 8993 at a minimum.
At present there is only one virtual LAN and you are dumped there by default. It's called Earth, and is exactly what it sounds like. The ability to create and join additional networks is coming soon. Once you're on, visit earth.zerotier.net to see your Earth LAN IP address and other information.
Security warning: You read that right. ZeroTier One places your computer on an absolutely open global Ethernet party line. Please ensure that you are up to date on your OS patches and we recommend turning off unnecessary services. Also be sure that anything else you are sharing is password protected provided you don't want to share it: printers, iPhoto and iTunes shares, etc.
ZeroTier One is licensed under the GNU General Public License version 3. Anyone wishing to embed this in a commercial product or create a derivative product should contact ZeroTier Networks LLC to obtain a commercial license.
Check out the blog for announcements, in-depth articles, and related thoughts. There is also a Google group for questions and discussion.
FAQ
Q: What can I do with this?
A: For starters, try opening iTunes if you have it installed. If others are also online and sharing their collections, you might see them. If you have any games that run over a LAN (except those that require IPX), try those. What else can you think of to do on a completely flat, open network? Collaborative software development? Remote debugging? Transferring files using simple drive shares? Sharing your desktop printer to someone on another continent? Use your imagination.
Q: Why do I get an IP address in the 27.0.0.0 or 28.0.0.0 range? And why does a lookup claim these addresses belong to the U.S. Department of Defense?
A: Short answer: because IPv4 needs to die. Long answer: the Earth network assigns IPv4 IPs from these ranges. They do in fact belong to the DOD, but they are not routed to the open Internet. The DOD owns them but uses them internally for private networks. As a result, there is nothing technically wrong with "bogarting" these for our own private network. It's considered bad practice, but if you want a private address space in IPv4 that is unlikely to overlap other private address spaces (like 10/8 and 192.168/16), it's the only way. Cellular carriers and cable companies frequently do the same thing.
Q: Is IPv6 supported?
A: Yes. IPv6 link-local addresses (those in the fe80::/10 block) are auto-assigned and should work fine. No other IPv6 addresses are assigned yet, but there are plans to do interesting things in this area in the future.
Q: Are you going to charge for this?
A: Public networks will remain free, but we intend to charge for private virtual LANs. ZeroTier has other ideas too, but they're top secret for the moment.
Q: What's a supernode?
A: Supernodes are nodes run by ZeroTier Networks that orindary users use to find one another and communicate until/unless they can perform NAT traversal and connect directly. They run the exact same software as everyone else. The only thing that really makes a supernode special is that it's designated as such.
Q: Can I run a supernode?
A: No, not at the moment, and there would be no benefit to doing so.
Q: Can you see my traffic? What about other users? Can you sniff the LAN?
A: No. All unicast (direct computer to computer) traffic is encrypted end-to-end (even if it's being relayed), and the ZeroTier virtual LAN behaves like a LAN with a secure enterprise-grade switch that does not allow unicast conversations to be sniffed. Multicast and broadcast traffic will of course be seen by many recipients, but that's the idea.
Q: You say "almost unlimited size." Isn't multicast and broadcast traffic eventually going to be too much? What happens then?
A: ZeroTier One uses an algorithm called implicit social switching. The overall maximum number of recipients for a multicast is limited, so if there are too many listeners to a given multicast address then obviously not everyone will receive every message. So who does? Social switching causes multicasts to propagate in the direction of peers to whom you have recently communicated. As a result, multicasts tend to propagate along lines of association. The people most likely to get your service announcements are those with whom you frequently connect.
Q: I don't see broadcasts.
A: At the moment only Ethernet multicast is propagated, not broadcast (ff:ff:ff:ff:ff:ff). This may change in the future. IPv4 ARP uses broadcast but is handled by special code that subscribes to a multicast group using the broadcast address combined with the IPv4 address to make it address-specific. See comments in MulticastGroup.hpp for deeper technical details.
Status
What works:
Known immediate issues:
What doesn't work and might not work for a while, if ever:
(c)2012-2013 ZeroTier Networks LLC