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 lat temu |
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 lat temu |
Adam Ierymenko
|
235f4762b7
Plumbing for local interface addresses -- GitHub issue #180
|
10 lat temu |
Adam Ierymenko
|
79e9a8bcc2
Almost everything for GitHub issue #180 except direct path map setup.
|
10 lat temu |
Adam Ierymenko
|
93bb934d4e
Some cleanup, docs, and Path -> Path > RemotePath refactor.
|
10 lat temu |
Adam Ierymenko
|
dbee1b38b3
Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?)
|
10 lat temu |
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 lat temu |
Adam Ierymenko
|
4aa8449fe1
Merge branch '_networks_vector' of https://github.com/mwarning/ZeroTierOne into adamierymenko-dev
|
10 lat temu |
Moritz Warning
|
787608b568
use _network function to reduce source code complexity
|
10 lat temu |
Moritz Warning
|
2b04ac5e9b
replace _networks map by vector
|
10 lat temu |
Adam Ierymenko
|
7bae95836c
Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address.
|
10 lat temu |
Adam Ierymenko
|
ecb6a1d84f
docs
|
10 lat temu |
Adam Ierymenko
|
5341e32729
Fix to GitHub issue #140 -- network preferred relays. Also go ahead and allow RENDEZVOUS from regular peers.
|
10 lat temu |
Adam Ierymenko
|
318c2f025b
Call it _relays since there might be other kinds later.
|
10 lat temu |
Adam Ierymenko
|
5bc89034bc
Always ping / contact network preferred relays (if any).
|
10 lat temu |
Adam Ierymenko
|
9774f789f2
TCP fallback tunneling is now working. That hurt more than expected.
|
10 lat temu |
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 lat temu |
Adam Ierymenko
|
1213073916
Apple auto-update stuff, now for Windows.
|
10 lat temu |
Adam Ierymenko
|
2810cd7c15
Build fixes for G++, building without SQLite3 present, and warning removal.
|
10 lat temu |
Kees Bos
|
a425bbc673
Renamed supernode to rootserver
|
10 lat temu |
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 lat temu |
Adam Ierymenko
|
604576075e
Add some missing includes that older G++ cares about.
|
10 lat temu |
Adam Ierymenko
|
9a34fde8a5
Make sure identity.public exists and stays in sync, cleanup extra new in Node, and test script for local testnets.
|
10 lat temu |
Adam Ierymenko
|
f5848972f9
Windows now builds and runs selftest correctly, and fixed a Windows (and possibly other platforms) issue in Phy<>.
|
10 lat temu |
Adam Ierymenko
|
54954f5b88
First pass of Windows cleanup and build fixes...
|
10 lat temu |
Adam Ierymenko
|
60f05518aa
(1) now builds and works on Linux, (2) fix a threading problem causing carsh on shutdown, (3) cleanup in selftest, re-enable Phy and Http tests.
|
10 lat temu |
Adam Ierymenko
|
d2503172d8
Add some additional detail to the peer record in CAPI and JSON control plane.
|
10 lat temu |
Adam Ierymenko
|
6369c264e2
Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
|
10 lat temu |
Adam Ierymenko
|
1c9ca73065
Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes.
|
10 lat temu |
Adam Ierymenko
|
c9af603b9f
Add beacon broadcasting back into Node.
|
10 lat temu |