Adam Ierymenko
|
91c9f4cb20
Fix TRACE and CLUSTER builds.
|
8 years ago |
Adam Ierymenko
|
e4896b257f
Add thread PTR that gets passed through the entire ZT core call stack and then passed to handler functions resulting from a call.
|
8 years ago |
Adam Ierymenko
|
cdc0eaec3a
Fix attempt to WHOIS self.
|
8 years ago |
Adam Ierymenko
|
e3b1fc2ac0
Tweak WHOIS path for federation.
|
8 years ago |
Adam Ierymenko
|
1d39be61b2
ZeroTier now has link quality measurement. We are not using this yet but decided to put it in to prep for future QoS support and SD-WAN stuff.
|
8 years ago |
Adam Ierymenko
|
2bf9145ae6
Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix.
|
8 years ago |
Adam Ierymenko
|
43182f8f57
Docs, code cleanup, and protect the extra new fields of HELLO with encryption as a precaution.
|
8 years ago |
Adam Ierymenko
|
31db768e4d
A bit of code cleanup.
|
8 years ago |
Adam Ierymenko
|
d9e4ba1280
Eliminate a little copypasta.
|
8 years ago |
Adam Ierymenko
|
dcb1233b0d
Slight refactor to RENEDEZVOUS sending code for federation.
|
8 years ago |
Adam Ierymenko
|
9284e4edfe
agree() must be called on our identity, the one with the secret
|
8 years ago |
Adam Ierymenko
|
62a705af1c
Eliminate another check in cluster frontplane mode.
|
8 years ago |
Adam Ierymenko
|
29ec7bf3a2
Add more specific check in source==self case instead of dumping it.
|
8 years ago |
Adam Ierymenko
|
fc3f4fb988
Yeah that could never have worked (normal packets in cluster mode).
|
8 years ago |
Adam Ierymenko
|
60ff280dcb
Another tweak to cluster I/O rules.
|
8 years ago |
Adam Ierymenko
|
b378f5dcd7
Take 3
|
8 years ago |
Adam Ierymenko
|
e778d45128
Still want to send WANT_PEER under two failure modes.
|
8 years ago |
Adam Ierymenko
|
5e11cf6378
Can't armor() a packet until all flags are set.
|
8 years ago |
Adam Ierymenko
|
5dbebc513a
Minor send path refactor to make packet I/O work on clusters if they are members of networks. Also fix a crash if compiled in cluster mode but no cluster is enabled.
|
8 years ago |
Adam Ierymenko
|
0b3b994241
Relay policy can now be computed.
|
8 years ago |
Adam Ierymenko
|
64774d0d4f
Replace piecemeal designation of upstreams with the concept of moons, which is simpler and easier to use and inherits all the cool live update stuff of worlds (now called planets) and global roots.
|
8 years ago |
Adam Ierymenko
|
84732fcb12
Wire through external path lookup. Static paths should now work.
|
8 years ago |
Adam Ierymenko
|
42ba70e79e
Replace long callback arg list with struct, and implement path whitelisting, path blacklisting, and local.conf support for roles.
|
8 years ago |
Adam Ierymenko
|
39333c9e8e
Modify unite() to deal with a second layer of upstreams.
|
8 years ago |
Adam Ierymenko
|
1615ef1114
Rename getBestRoot() etc.
|
8 years ago |
Adam Ierymenko
|
d5f4d381d0
Go ahead and loop back packets whose destination is self. Some OSes require this since they aactually follow the full network path even for local IPs.
|
8 years ago |
Adam Ierymenko
|
e1fbf7b34c
Check multicast limit on send after NDP emulation code.
|
9 years ago |
Adam Ierymenko
|
cc4bacc199
Cleanup, and implement compression disable flag for networks.
|
9 years ago |
Adam Ierymenko
|
d3524f3609
Refactor COM stuff a bit, and respond to COM requests a bit more readily for rapid setup. Will need to revisit later.
|
9 years ago |
Adam Ierymenko
|
5b6d27e659
Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected.
|
9 years ago |