Adam Ierymenko
|
a3db7d0728
Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things.
|
10 vuotta sitten |
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 vuotta sitten |
Adam Ierymenko
|
367ffde00c
Plumb through localInterfaceId to track local interfaces corresponding with remote addresses.
|
10 vuotta sitten |
Adam Ierymenko
|
f6ced547be
Dead code removal.
|
10 vuotta sitten |
Adam Ierymenko
|
0b354803f3
Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank.
|
10 vuotta sitten |
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 vuotta sitten |
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 vuotta sitten |
Adam Ierymenko
|
235f4762b7
Plumbing for local interface addresses -- GitHub issue #180
|
10 vuotta sitten |
Adam Ierymenko
|
79e9a8bcc2
Almost everything for GitHub issue #180 except direct path map setup.
|
10 vuotta sitten |
Adam Ierymenko
|
fad9dff2db
Almost all of GitHub issue #180
|
10 vuotta sitten |
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 vuotta sitten |
Moritz Warning
|
787608b568
use _network function to reduce source code complexity
|
10 vuotta sitten |
Moritz Warning
|
2b04ac5e9b
replace _networks map by vector
|
10 vuotta sitten |
Adam Ierymenko
|
9774f789f2
TCP fallback tunneling is now working. That hurt more than expected.
|
10 vuotta sitten |
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 vuotta sitten |
Adam Ierymenko
|
9a34fde8a5
Make sure identity.public exists and stays in sync, cleanup extra new in Node, and test script for local testnets.
|
10 vuotta sitten |
Adam Ierymenko
|
54954f5b88
First pass of Windows cleanup and build fixes...
|
10 vuotta sitten |
Adam Ierymenko
|
6369c264e2
Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
|
10 vuotta sitten |
Adam Ierymenko
|
1c9ca73065
Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes.
|
10 vuotta sitten |
Adam Ierymenko
|
c9af603b9f
Add beacon broadcasting back into Node.
|
10 vuotta sitten |
Adam Ierymenko
|
a2605561af
Basic control plane queries working.
|
10 vuotta sitten |
Adam Ierymenko
|
b888e033c0
JSON control plane, almost done...
|
10 vuotta sitten |
Adam Ierymenko
|
46ecad451c
Starting on new service/ code to encapsulate node/ with osdep/ stuff, and add a user pointer to the CAPI.
|
10 vuotta sitten |
Adam Ierymenko
|
e34bc961db
Add awareness of online status, and put old OS-dep utils in OSUtils.
|
10 vuotta sitten |
Adam Ierymenko
|
4d5a6a25d3
Add events for packet decode errors, etc., and re-implement TRACE as an event.
|
10 vuotta sitten |
Adam Ierymenko
|
9d9d0ef12c
Rename StatusCallback to more descriptive EventCallback.
|
10 vuotta sitten |
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 vuotta sitten |
Adam Ierymenko
|
9e55f882d3
Starting to port from old Node() -- identity generation.
|
10 vuotta sitten |
Adam Ierymenko
|
8210ed4805
Implement read from object store.
|
10 vuotta sitten |
Adam Ierymenko
|
51f46a009a
Multicast group join/leave and group membership announcement.
|
10 vuotta sitten |