Adam Ierymenko
|
98bcc3d4b5
Disable a few noisy TRACEs, and limit how often we confirm new paths to avoid flooding.
|
10 anos atrás |
Adam Ierymenko
|
1c9ca73065
Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes.
|
10 anos atrás |
Adam Ierymenko
|
5e331d6733
Restrict unite() to desperation==0 since NAT-t only works right now with direct links.
|
10 anos atrás |
Adam Ierymenko
|
068d311ecc
TRACE compile fixes, other fixes, and it basically works! It says HELLO.
|
10 anos atrás |
Adam Ierymenko
|
4d5a6a25d3
Add events for packet decode errors, etc., and re-implement TRACE as an event.
|
10 anos atrás |
Adam Ierymenko
|
bf2ff964e1
Utils::now() removal and a bunch of compile fixes.
|
10 anos atrás |
Adam Ierymenko
|
49f031ccb4
Tons of refactoring, change to desperation algorithm to use max of core or link, porting over core loop code from old Node.cpp to new CAPI version, etc.
|
10 anos atrás |
Adam Ierymenko
|
24608d5ca3
Always use HELLO to contact, and we now confirm newly learned paths via a two-way handshake to prevent half-connects.
|
10 anos atrás |
Adam Ierymenko
|
197d272287
More NAT strategy cleanup.
|
10 anos atrás |
Adam Ierymenko
|
be4683a96d
Get rid of random port strategy -- research does not support.
|
10 anos atrás |
Adam Ierymenko
|
a95f1e1418
Eliminate redundant SharedPtr assignment.
|
10 anos atrás |
Adam Ierymenko
|
6eb9289367
Bunch more cleanup, improvements to NAT traversal logic, finished updating Switch.
|
10 anos atrás |
Adam Ierymenko
|
ee0f56355b
Send path simplification.
|
10 anos atrás |
Adam Ierymenko
|
a69e1876f1
The concept of link desperation (escalating to less desirable transports) simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core.
|
10 anos atrás |
Adam Ierymenko
|
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
|
10 anos atrás |
Adam Ierymenko
|
4e95384ad6
Cleanup, add tristate to config code in Network, and happy new year!
|
10 anos atrás |
Adam Ierymenko
|
0c85b4ef5f
Tweak to symmetric NAT buster to add one to the number of ports above the current one it attempts.
|
10 anos atrás |
Adam Ierymenko
|
5bb854e504
Fix a nasty bug introduced in packet fragmentation a while back during refactoring, and a few other things related to multicast.
|
10 anos atrás |
Adam Ierymenko
|
4941c8a1f3
New multicast bug fixes, TRACE improvements, and temporarily disable legacy multicast for debugging purposes.
|
11 anos atrás |
Adam Ierymenko
|
d5e0f7e3e4
Reorg multicast packet, and a whole bunch of refactoring around the pushing of certificates of membership.
|
11 anos atrás |
Adam Ierymenko
|
2c8321be1f
Pull logic to always send new multicasts to supernode since we need to do that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed.
|
11 anos atrás |
Adam Ierymenko
|
e7c81ef34e
Turns out that needed to be a list after all. Also clean up Multicaster::gather().
|
11 anos atrás |
Adam Ierymenko
|
49dc47ff38
Make multicast gathering a bit smarter.
|
11 anos atrás |
Adam Ierymenko
|
e1882b614b
Some cleanup, Multicaster now sends multicasts as it gets additional members.
|
11 anos atrás |
Adam Ierymenko
|
ae082c3cb8
Yay... now everything compiles! Getting close to testing on this. Still have not added backward compatibility support for relaying of multicasts to 0.9.X clients yet but that will be easy. Will test with heterogenous 1.0.0 clients only first.
|
11 anos atrás |
Adam Ierymenko
|
8607aa7c3c
Everything in for new multicast except IncomingPacket parsing...
|
11 anos atrás |
Adam Ierymenko
|
81b12b6826
Rename the ubiquitous _r pointer to RuntimeEnvironment to RR just to be a little more consistent about using _ to denote private member variables.
|
11 anos atrás |
Adam Ierymenko
|
431476e2e4
Some more multicast algo work...
|
11 anos atrás |
Adam Ierymenko
|
557801a09e
Rename PacketDecoder to much more descriptive IncomingPacket
|
11 anos atrás |
Adam Ierymenko
|
d9abd4d9be
Work on defining new direct broadcast multicast algorithm.
|
11 anos atrás |