Adam Ierymenko
ee8682ac75
Temporarily disable the symmetric NAT port prediction code since the current version adds protocol overhead and probably is not that effective.
7 years ago
Joseph Henry
0e597191b8
Updated licenses for 2019
7 years ago
Joseph Henry
9681fedbb4
Spellcheck sweep across codebase
8 years ago
Adam Ierymenko
65c07afe05
Copyright updates for 2018.
8 years ago
Grant Limberg
b1d60df44c
timestamps changed from uint64_t to int64_t
...
There were cases in the code where time calculations and comparisons were overflowing and causing connection instability. This will keep time calculations within expected ranges.
9 years ago
Adam Ierymenko
a156a4dbe2
Symmetric NAT cleanup.
9 years ago
Adam Ierymenko
495c5ce81d
Bunch of remote tracing work.
9 years ago
Adam Ierymenko
dab0fb9e05
Remote trace: plumbing, replace old TRACE with calls to Trace object.
9 years ago
Adam Ierymenko
f18158a52d
.
9 years ago
Adam Ierymenko
1b68d6dbdc
License header update.
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
d3524f3609
Refactor COM stuff a bit, and respond to COM requests a bit more readily for rapid setup. Will need to revisit later.
10 years ago
Adam Ierymenko
b5c86b6ba4
Bunch more path refactoring. Peers no longer forget paths, but do not normally use expired paths. Expired paths might still be tried if nothing else is reachable.
10 years ago
Adam Ierymenko
81959f14af
Refactor and redesign symmetric NAT predictor. This is cleaner.
10 years ago
Adam Ierymenko
c9d7845fea
Minor bug fix and some instrumentation stuff for testing.
10 years ago
Adam Ierymenko
e1310a764a
More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff).
10 years ago
Adam Ierymenko
52d9612301
Reduce symmetric prediction fuzz just a bit.
10 years ago
Adam Ierymenko
2aa7138373
Reduce direct ping delay back to 1m and make SelfAwareness aware of local received-on address to eliminate false symmetric classification.
10 years ago
Adam Ierymenko
772551c45d
Try +1 and +2 existing surfaces for symmetric NATs.
10 years ago
Adam Ierymenko
0c951b6e56
More tweaks to new symmetric NAT buster, and stop using old iterative method since this supersedes it.
10 years ago
Adam Ierymenko
4e4fd51117
boring doc stuff
10 years ago
Adam Ierymenko
d8143a5e18
Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev)
10 years ago
Adam Ierymenko
7fbe2f7adf
Tweak some more timings for better reliability.
11 years ago
Adam Ierymenko
938d0a970b
TRACE build fixes.
11 years ago
Adam Ierymenko
c1b0329969
Only check IP equality to detect external surface changes (should prevent some spurious resets under symmetric NATs), and simplify some logic.
11 years ago
Adam Ierymenko
16bc3e0398
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
11 years ago
Adam Ierymenko
a1a0ee4edb
Fix infinite loop in Cluster, clean up some stuff elsewhere, and back out rate limiting in PUSH_DIRECT_PATHS for now (but we will do something else to mitigate amplification attacks)
11 years ago
Adam Ierymenko
29b966894c
(1) Fix bug in geo-ip service that prevented cache lookup, (2) fix problem in SelfAwareness (will need to test ALL versions in the wild with this), and (3) add more TRACE instrumentation to Cluster.
11 years ago
Adam Ierymenko
f116c4b9c0
... and another ...
11 years ago
Adam Ierymenko
b31071463c
Try another NAT traversal improvement.
11 years ago
Adam Ierymenko
93bb934d4e
Some cleanup, docs, and Path -> Path > RemotePath refactor.
11 years ago
Adam Ierymenko
7bae95836c
Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address.
11 years ago
Kees Bos
a425bbc673
Renamed supernode to rootserver
11 years ago
Adam Ierymenko
40f312a827
When we reset within scope, erase the other entries for that scope so we won't keep resetting the same scope repeatedly.
11 years ago
Adam Ierymenko
18ca6f34ff
Always update timestamp.
11 years ago
Adam Ierymenko
59fa687830
Make timeout also apply to null check in iam()
11 years ago
Adam Ierymenko
b4b067bf12
So we need to keep track of external surface per reporter, since some NATs assign different external IPs for each external destination. Keeping just one known surface could create a race condition.
11 years ago
Adam Ierymenko
9279bac385
Fix deadlock in SelfAwareness by deferring reconnects.
11 years ago
Adam Ierymenko
417f56de2f
Add some TRACE instrumentation to external surface address awareness.
11 years ago
Adam Ierymenko
0a90681849
Add ping(), and a logic fix in SelfAwareness.
11 years ago
Adam Ierymenko
eae2c89b09
Mutex locking fix.
11 years ago
Adam Ierymenko
52c3b7c34e
Implemented empirical determination of external addressing, paritioned per scope.
11 years ago
Adam Ierymenko
817824b88b
Some external surface awareness work, and IP scope classification.
11 years ago
Adam Ierymenko
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
11 years ago
Adam Ierymenko
4e95384ad6
Cleanup, add tristate to config code in Network, and happy new year!
11 years ago
Adam Ierymenko
b5c3a92be2
Boring stuff: update dates in copyrights across all files.
12 years ago
Adam Ierymenko
612c17240a
Dead code removal, fix for cleanup GitHub issue #28
12 years ago
Adam Ierymenko
77965af288
Add new crypto: SHA512 and C25519 -- not integrated yet.
13 years ago
Adam Ierymenko
150850b800
New git repository for release - version 0.2.0 tagged
13 years ago