This website requires JavaScript.
Explore
Help
Sign In
gfwleak
/
zhangyang-zerotierone
Archived
Watch
1
Star
0
Fork
0
You've already forked zhangyang-zerotierone
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
This repository has been archived on
2025-09-14
. You can view files and clone it, but cannot push or open issues or pull requests.
Files
f82c7006eaa723de7dd41b1a6e3afa32dbf00bc4
zhangyang-zerotierone
/
node
History
Adam Ierymenko
f82c7006ea
Leave IP addresses alone instead of deleting them from tap if they are not members of any of the networks under management.
2014-07-02 15:59:08 -07:00
..
Address.hpp
Bridging pretty much ready to test! Got Switch all wired up. Also fix a latent probably-never-triggered bug in MULTICAST_FRAME handling. GitHub issue
#68
2014-06-13 21:06:34 -07:00
AntiRecursion.hpp
More toward GitHub issue
#56
2014-04-10 16:30:15 -07:00
Array.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
AtomicCounter.hpp
VERSION 0.7.1: small Linux compile fix on g++, does not merit new release
2014-03-05 15:40:31 -08:00
BandwidthAccount.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Buffer.hpp
Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.
2014-04-18 00:14:12 -07:00
C25519.cpp
More little stuff in crypto code.
2014-06-26 17:23:10 -07:00
C25519.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
CertificateOfMembership.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
CertificateOfMembership.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
CMWC4096.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Constants.hpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
Defaults.cpp
TESTNET supernodes need different addresses.
2014-05-09 11:45:38 -07:00
Defaults.hpp
More toward GitHub issue
#56
2014-04-10 16:30:15 -07:00
Dictionary.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
EthernetTap.hpp
Leave IP addresses alone instead of deleting them from tap if they are not members of any of the networks under management.
2014-07-02 15:59:08 -07:00
HttpClient.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
HttpClient.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Identity.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Identity.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
InetAddress.cpp
Leave IP addresses alone instead of deleting them from tap if they are not members of any of the networks under management.
2014-07-02 15:59:08 -07:00
InetAddress.hpp
Leave IP addresses alone instead of deleting them from tap if they are not members of any of the networks under management.
2014-07-02 15:59:08 -07:00
IpcConnection.cpp
WINDOWS IS SUFFERING
2014-03-25 17:31:03 -07:00
IpcConnection.hpp
WINDOWS IS SUFFERING
2014-03-25 17:31:03 -07:00
IpcListener.cpp
Make Unix domain sockets mode 0777 so that properly authorized non-privileged users can access them (if they have auth token).
2014-04-02 17:21:26 -07:00
IpcListener.hpp
WINDOWS IS SUFFERING
2014-03-25 17:31:03 -07:00
Logger.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Logger.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
MAC.hpp
Some TRACE improvements and comment revs.
2014-06-18 08:25:30 -07:00
Multicaster.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Multicaster.hpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
MulticastGroup.hpp
GitHub Issue
#69
- make MAC assignment schema differ between virtual networks.
2014-05-23 14:32:31 -07:00
Mutex.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Network.cpp
Add enabled/disabled status to network.
2014-06-26 17:05:07 -07:00
Network.hpp
Only add active bridges to top of MC propagation list if they are alive. Otherwise a dead active bridge might kill multicast for us.
2014-06-26 18:13:48 -07:00
NetworkConfig.cpp
Simplify network briding modes -- we only need passive toggle and active bridge list, not three mode types. Also change isOpen to isPublic for terminology consistency.
2014-06-14 20:24:19 +00:00
NetworkConfig.hpp
Fix for GitHub issue
#88
- actually do in the code what the web UI expects it to do.
2014-07-01 09:27:33 -07:00
Node.cpp
Get rid of pointer type punning warning/issue on g++.
2014-06-17 15:54:35 -04:00
Node.hpp
Make GUI work with new control client API, make control client look for user authtoken.secret if system unreadable.
2014-04-02 17:12:04 -07:00
NodeConfig.cpp
Simplify network briding modes -- we only need passive toggle and active bridge list, not three mode types. Also change isOpen to isPublic for terminology consistency.
2014-06-14 20:24:19 +00:00
NodeConfig.hpp
Integrate IPC stuff into NodeConfig.
2014-03-19 08:20:09 -07:00
NonCopyable.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Packet.cpp
Protocol messages for bridging. GitHub issue
#68
2014-06-10 15:25:15 -07:00
Packet.hpp
Bridging (GitHub issue
#68
) does indeed work! Just needed to fix a packet size thinko.
2014-06-21 12:29:33 -04:00
PacketDecoder.cpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
PacketDecoder.hpp
Some cleanup in PacketDecoder.
2014-06-18 09:00:53 -07:00
Path.hpp
Tweak some timings and stuff.
2014-04-03 16:19:41 -07:00
Peer.cpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
Peer.hpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
Poly1305.cpp
Some crypto comment fixes.
2014-06-26 17:15:20 -07:00
Poly1305.hpp
Some crypto comment fixes.
2014-06-26 17:15:20 -07:00
RuntimeEnvironment.hpp
Prevent recursive transit of ZeroTier packets, toward GitHub issue
#56
2014-04-10 14:22:25 -07:00
Salsa20.cpp
Make Salsa20 variable-round, allowing for Salsa20/12 to be used for Packet encrypt and decrypt. Profiling analysis found that Salsa20 encrypt was accounting for a nontrivial percentage of CPU time, so it makes sense to cut this load fundamentally. There are no published attacks against Salsa20/12, and DJB believes 20 rounds to be overkill. This should be more than enough for our needs. Obviously incorporating ASM Salsa20 is among the next steps for performance.
2013-10-18 17:39:48 -04:00
Salsa20.hpp
Dead code removal, fix for cleanup GitHub issue
#28
2013-12-06 16:49:20 -08:00
Service.cpp
More netconf work... set ZT_HOME and chdir there on service launch.
2014-05-09 15:39:51 +00:00
Service.hpp
Make Service communicate via empty-line-delimited Dictionary objects instead of the old size prefix way.
2014-05-08 21:27:59 +00:00
SHA512.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
SHA512.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
SharedPtr.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Socket.hpp
Probable fix for GitHub issue
#63
- do not unite() if either path is TCP, since doing so can result in asymmetric failed NAT-t over UDP if one side has a firewall that permits outgoing UDP but not incoming.
2014-04-10 11:17:54 -07:00
SocketManager.cpp
Build fix for Windows setsockopt().
2014-05-29 11:22:35 -07:00
SocketManager.hpp
Oops... turns out we need to differentiate incoming from outgoing TCP and indeed learn incoming TCP paths. Otherwise the recipient of a TCP connection does not know to reply via TCP! Heh.
2014-03-31 22:23:55 -07:00
SoftwareUpdater.cpp
Another sanity check on filename for GitHub issue
#72
2014-05-19 16:16:34 +00:00
SoftwareUpdater.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
Switch.cpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
Switch.hpp
More toward GitHub issue
#56
2014-04-10 16:30:15 -07:00
SysEnv.cpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
SysEnv.hpp
Boring stuff: update dates in copyrights across all files.
2014-02-16 12:40:22 -08:00
TcpSocket.cpp
The remove paths on send fail thing in Peer.cpp was not well thought out, and there is no point in mallocing the TCP write buffer.
2014-04-01 15:55:05 -07:00
TcpSocket.hpp
The remove paths on send fail thing in Peer.cpp was not well thought out, and there is no point in mallocing the TCP write buffer.
2014-04-01 15:55:05 -07:00
Thread.hpp
WINDOWS IS SUFFERING
2014-03-25 17:31:03 -07:00
Topology.cpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
Topology.hpp
Keep track of basic aliveness for peers regardless if direct or indirect connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-30 11:31:04 -07:00
UdpSocket.cpp
A few more tweaks to TCP failover... seems to be switching back and forth pretty well now!
2014-04-03 17:12:34 -07:00
UdpSocket.hpp
UDP socket implementation.
2014-03-17 16:18:44 -07:00
UnixEthernetTap.cpp
GitHub issue
#67
2014-05-23 15:13:34 -07:00
UnixEthernetTap.hpp
Split EthernetTap into subclasses, work in progress...
2014-04-07 14:47:39 -07:00
Utils.cpp
Run icacls.exe twice, once for each change - GitHub issue
#71
2014-06-14 12:52:06 -07:00
Utils.hpp
Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.
2014-04-18 00:14:12 -07:00
WindowsEthernetTap.cpp
Windows build fixes for MAC changes (in tap driver), some comments and cleanup in MAC.hpp.
2014-05-23 16:21:57 -07:00
WindowsEthernetTap.hpp
Windows build fixes for MAC changes (in tap driver), some comments and cleanup in MAC.hpp.
2014-05-23 16:21:57 -07:00