Adam Ierymenko
|
76452b4e28
|
Data structure fixup.
|
9 years ago |
Adam Ierymenko
|
2a4a50b1da
|
Add some also-ZeroTier-written ext/ code for use in new clustering, delete some old code, and change Mac to use -Os which is just as fast as -Ofast and may be faster due to cache effects.
|
9 years ago |
Adam Ierymenko
|
2ec88e8008
|
Remove old circuit test code. Rules engine will let us do this much better and more simply.
|
9 years ago |
Adam Ierymenko
|
1b68d6dbdc
|
License header update.
|
9 years ago |
Adam Ierymenko
|
7a94f63058
|
Back out NaCl since the old one with xmm6 salsa2012 does not support multi-block use and the new one is slower.
|
9 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.
|
9 years ago |
Adam Ierymenko
|
5e6a4e5f5e
|
Send revocations automatically on deauth for instant kill, also fix some issues with the RP.
|
9 years ago |
Adam Ierymenko
|
d56f740dc6
|
Now with less bugs.
|
9 years ago |
Adam Ierymenko
|
127bcb02ff
|
Save space in expecting-reply-to tracking.
|
9 years ago |
Adam Ierymenko
|
4b11566505
|
Integrate moon concept into http config bus, and clean up that code quite a bit.
|
9 years ago |
Adam Ierymenko
|
42f28bce52
|
Cleanup and make moons (federated roots) a little easier to deal with.
|
9 years ago |
Adam Ierymenko
|
9f7919f71f
|
Add comments to join ("orbit") moons.
|
9 years ago |
Adam Ierymenko
|
0b3b994241
|
Relay policy can now be computed.
|
9 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.
|
9 years ago |
Adam Ierymenko
|
9a475eeff9
|
Windows build fix, warning removal.
|
9 years ago |
Adam Ierymenko
|
d5528e4e9a
|
Wire up VERB_USER_MESSAGE in core.
|
9 years ago |
Adam Ierymenko
|
84732fcb12
|
Wire through external path lookup. Static paths should now work.
|
9 years ago |
Adam Ierymenko
|
42ba70e79e
|
Replace long callback arg list with struct, and implement path whitelisting, path blacklisting, and local.conf support for roles.
|
9 years ago |
Adam Ierymenko
|
673c0c811e
|
Wire through upstream stuff and add setRole().
|
9 years ago |
Adam Ierymenko
|
6e1da35c12
|
Remove debug.
|
9 years ago |
Adam Ierymenko
|
2ea9f516e1
|
Rate gate expensive validation of new identities in HELLO.
|
9 years ago |
Adam Ierymenko
|
226123ca08
|
Refactor controller to permit sending of pushes as well as just replies to config requests.
|
9 years ago |
Adam Ierymenko
|
0b44919ba2
|
Clusters can send multiple OKs so we must allow this.
|
10 years ago |
Adam Ierymenko
|
9f550292fe
|
Simply network auth logic and always sent error on auth failure even for unknown networks to prevent forensics.
|
10 years ago |
Adam Ierymenko
|
7e4b6b594b
|
It now builds.
|
10 years ago |
Adam Ierymenko
|
5b6d27e659
|
Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected.
|
10 years ago |
Adam Ierymenko
|
0d4109a9f1
|
More refactoring to clean up code, and add a gate function to make sure we do not handle OK packets we did not expect. This hardens up a few potential edge cases around security, since such messages might be used to e.g. pollute a cache and DOS under certain conditions.
|
10 years ago |
Adam Ierymenko
|
ccea3d04d6
|
Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller.
|
10 years ago |
Adam Ierymenko
|
98152d974a
|
More cleanup and removal of DeferredPackets, will do the latter in a more elegant way.
|
10 years ago |
Adam Ierymenko
|
765082fdb6
|
Trusted path support, and version bump to 1.1.9
|
10 years ago |
Adam Ierymenko
|
4e4fd51117
|
boring doc stuff
|
10 years ago |
Adam Ierymenko
|
d6f0f1a82a
|
Use network user ptr in lookup for Ethernet frame handling to eliminate map lookup.
|
10 years ago |
Adam Ierymenko
|
83ef98a9dc
|
Add a network-associated user ptr in API.
|
10 years ago |
Adam Ierymenko
|
b3e3d4cacc
|
Instead of using binary packet comparison, add a callback to the API to explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets.
|
10 years ago |
Adam Ierymenko
|
2cc50bdb10
|
Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NAT
|
11 years ago |
Adam Ierymenko
|
3e22fee842
|
Integrate deferred background processing into main OneService implementation.
|
11 years ago |
Adam Ierymenko
|
8ef4edebbf
|
Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.
|
11 years ago |
Adam Ierymenko
|
a994573a43
|
Eliminate some more dead code. We may do path trust, but not like that.
|
11 years ago |
Adam Ierymenko
|
16bc3e0398
|
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
|
11 years ago |
Adam Ierymenko
|
5ff7733f84
|
More plumbing of cluster status.
|
11 years ago |
Adam Ierymenko
|
57e29857cf
|
Cluster work -- integrating with the rest of the code.
|
11 years ago |
Adam Ierymenko
|
cae58f43f1
|
More World stuff, and mkworld.
|
11 years ago |
Adam Ierymenko
|
1b2cac0cc5
|
Trim some cruft that is not used and probably never would be.
|
11 years ago |
Adam Ierymenko
|
d3f29d09e8
|
Plumbing through circuit test stuff.
|
11 years ago |
Adam Ierymenko
|
a3db7d0728
|
Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things.
|
11 years ago |
Adam Ierymenko
|
f69454ec98
|
(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
|
11 years ago |
Adam Ierymenko
|
367ffde00c
|
Plumb through localInterfaceId to track local interfaces corresponding with remote addresses.
|
11 years ago |
Adam Ierymenko
|
f6ced547be
|
Dead code removal.
|
11 years ago |
Adam Ierymenko
|
0b354803f3
|
Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank.
|
11 years ago |
Adam Ierymenko
|
3f567a07ca
|
Save a little bit of RAM by getting rid of overkill CMWC4096 non-crypto PRNG and replacing it with a simple non-crypto PRNG that just uses Salsa20.
|
11 years ago |