Adam Ierymenko
|
d3f29d09e8
Plumbing through circuit test stuff.
|
пре 9 година |
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.
|
пре 10 година |
Adam Ierymenko
|
2a527ea82e
Fix for timer jitter problem.
|
пре 10 година |
Adam Ierymenko
|
367ffde00c
Plumb through localInterfaceId to track local interfaces corresponding with remote addresses.
|
пре 10 година |
Adam Ierymenko
|
3a959a7763
Swap out std::map<> for Hashtable<> for main peer database in Topology. (ongoing std::map-ectomy)
|
пре 10 година |
Adam Ierymenko
|
5fcef91278
Ignore old root-topology if present -- fix for upgrading on Linux and possibly elsewhere.
|
пре 10 година |
Adam Ierymenko
|
7a15d8a7e3
Fix leaving of networks to actually call Network::destroy().
|
пре 10 година |
Adam Ierymenko
|
0b354803f3
Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank.
|
пре 10 година |
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.
|
пре 10 година |
Adam Ierymenko
|
c863ff3f02
A bunch of comments and cleanup, including some to yesterday's direct path pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable.
|
пре 10 година |
Adam Ierymenko
|
235f4762b7
Plumbing for local interface addresses -- GitHub issue #180
|
пре 10 година |
Adam Ierymenko
|
79e9a8bcc2
Almost everything for GitHub issue #180 except direct path map setup.
|
пре 10 година |
Adam Ierymenko
|
93bb934d4e
Some cleanup, docs, and Path -> Path > RemotePath refactor.
|
пре 10 година |
Adam Ierymenko
|
dbee1b38b3
Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?)
|
пре 10 година |
Adam Ierymenko
|
c287ae4d1d
Redo conversion of _networks to a vector. Just use a simple linear search and put the nwid in a pair with the pointer so linear search can be done without pointer chasing. This should be the fastest option for anything less than dozens of networks, and should save memory over the old map.
|
пре 10 година |
Adam Ierymenko
|
4aa8449fe1
Merge branch '_networks_vector' of https://github.com/mwarning/ZeroTierOne into adamierymenko-dev
|
пре 10 година |
Moritz Warning
|
787608b568
use _network function to reduce source code complexity
|
пре 10 година |
Moritz Warning
|
2b04ac5e9b
replace _networks map by vector
|
пре 10 година |
Adam Ierymenko
|
7bae95836c
Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address.
|
пре 10 година |
Adam Ierymenko
|
ecb6a1d84f
docs
|
пре 10 година |
Adam Ierymenko
|
5341e32729
Fix to GitHub issue #140 -- network preferred relays. Also go ahead and allow RENDEZVOUS from regular peers.
|
пре 10 година |
Adam Ierymenko
|
318c2f025b
Call it _relays since there might be other kinds later.
|
пре 10 година |
Adam Ierymenko
|
5bc89034bc
Always ping / contact network preferred relays (if any).
|
пре 10 година |
Adam Ierymenko
|
9774f789f2
TCP fallback tunneling is now working. That hurt more than expected.
|
пре 10 година |
Adam Ierymenko
|
d9006712f6
Completely factor out "desperation" from the core. I thought of a significantly simpler way to move all of this logic entirely into the containing service, liberating the core from any concern over the nature of its pipe to the outside world.
|
пре 10 година |
Adam Ierymenko
|
1213073916
Apple auto-update stuff, now for Windows.
|
пре 10 година |
Adam Ierymenko
|
2810cd7c15
Build fixes for G++, building without SQLite3 present, and warning removal.
|
пре 10 година |
Kees Bos
|
a425bbc673
Renamed supernode to rootserver
|
пре 10 година |
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.
|
пре 10 година |
Adam Ierymenko
|
604576075e
Add some missing includes that older G++ cares about.
|
пре 10 година |