Adam Ierymenko
|
d79585d44d
Circuit tests now report link quality. Also fixed a little thing in revocation propagation.
|
8 anni fa |
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 anni fa |
Adam Ierymenko
|
2bf9145ae6
Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix.
|
8 anni fa |
Adam Ierymenko
|
10185e92fa
Certificate of ownership -- used to secure against IP address spoofing, especially for IPv4 and regular IPv6.
|
8 anni fa |
Adam Ierymenko
|
803f74634a
Tweak how we do crypto of the masked portions of HELLO just to be more "boring" in the DJB sense.
|
8 anni fa |
Adam Ierymenko
|
f85a630a64
Docs and a small build fix in debug mode.
|
8 anni fa |
Adam Ierymenko
|
43182f8f57
Docs, code cleanup, and protect the extra new fields of HELLO with encryption as a precaution.
|
8 anni fa |
Adam Ierymenko
|
3587aa1ea7
Add and send certificates of representation to tell people what our valid upstreams are. These are not used yet but will be needed for future privacy modes, etc. Also some cleanup.
|
8 anni fa |
Adam Ierymenko
|
beb642faa5
Stub out CAN_REACH.
|
8 anni fa |
Adam Ierymenko
|
f102fd7f92
Extend in-band world updates to handle moons too.
|
8 anni fa |
Adam Ierymenko
|
0995c1dcaa
Encapsulate LZ4 in Packet.cpp to eliminate dependency.
|
8 anni fa |
Adam Ierymenko
|
7612bf3302
Fix LZ4 warning.
|
8 anni fa |
Adam Ierymenko
|
d5528e4e9a
Wire up VERB_USER_MESSAGE in core.
|
8 anni fa |
Adam Ierymenko
|
1615ef1114
Rename getBestRoot() etc.
|
8 anni fa |
Adam Ierymenko
|
bf8d71e82c
Add notion of upstream that is separate from root in Topology, etc.
|
8 anni fa |
Adam Ierymenko
|
93b4ac5cb2
Remove unused POW code, will revisit later.
|
8 anni fa |
Adam Ierymenko
|
cc4bacc199
Cleanup, and implement compression disable flag for networks.
|
8 anni fa |
Adam Ierymenko
|
15c07c58b6
Refactored network config chunking to sign every chunk to prevent stupid DOS attack potential, and implement network config fast propagate (though we probably will not use this for a bit).
|
8 anni fa |
Adam Ierymenko
|
7e4b6b594b
It now builds.
|
8 anni fa |
Adam Ierymenko
|
eac3667ec1
Bunch more refactoring and work on revocations, etc.
|
8 anni fa |
Adam Ierymenko
|
1f74dd4589
Revocation work in progress, add WATCH which is TEE with implicit rate sync (thanks JG@DCVC!), and clean up some cruft in Network.
|
8 anni fa |
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.
|
9 anni fa |
Adam Ierymenko
|
16df2c3363
Clean up handling of COMs, network access control, and fix a backward compatiblity issue.
|
9 anni fa |
Adam Ierymenko
|
74afef8eb1
Think through and refine a few things in rules, especially edge case TEE and REDIRECT behavior and semantics.
|
9 anni fa |
Adam Ierymenko
|
8e3463d47a
Add length limit to TEE and REDIRECT, and completely factor out old C json-parser to eliminate a dependency.
|
9 anni fa |
Adam Ierymenko
|
0ee4d3554a
Stub out USER_MESSAGE.
|
9 anni fa |
Adam Ierymenko
|
0a7a33ef8f
Instantaneous blacklisting and credential revocation.
|
9 anni fa |
Adam Ierymenko
|
0dfc08b317
Tidy up a few minor protocol things, improve documentation in Packet.hpp.
|
9 anni fa |
Adam Ierymenko
|
c9d7845fea
Minor bug fix and some instrumentation stuff for testing.
|
9 anni fa |
Adam Ierymenko
|
bcd05fbdfa
Chunking of network config replies.
|
9 anni fa |