Adam Ierymenko
|
7b6f10e859
Optimization: we don't need to verify signatures on certs if they're certs we already have and have verified.
|
11 vuotta sitten |
Adam Ierymenko
|
95f421024a
Code cleanup, and fix some unsafe pointer handling in Network.
|
11 vuotta sitten |
Adam Ierymenko
|
a8bd8fff93
Make several changes to eliminate potential deadlock or recursive lock conditions, and add back rescan of multicast groups on network startup.
|
11 vuotta sitten |
Adam Ierymenko
|
a94b0e6a43
Get rid of rescanMulticastGroups() in Network thread since this can deadlock... the fact that this can happen is probably bad design.
|
11 vuotta sitten |
Adam Ierymenko
|
42d644a57e
More fixes to legacy support, and to a potential issue on quit.
|
11 vuotta sitten |
Adam Ierymenko
|
03dc823ad7
(1) Back off a little on default max multicast limit since 128 is pretty bandwidth heavy, (2) add a little to default multicast rate limit since new MC algo is fairerererer, (3) decided not to involve netconf masters in multicast so take that out of list of who gets LIKEs.
|
11 vuotta sitten |
Adam Ierymenko
|
d5e0f7e3e4
Reorg multicast packet, and a whole bunch of refactoring around the pushing of certificates of membership.
|
11 vuotta sitten |
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 vuotta sitten |
Adam Ierymenko
|
496109fdcc
Announce multicast group changes on network rescanMulticastGroups()
|
11 vuotta sitten |
Adam Ierymenko
|
aad344bb84
Add test network support to Network.
|
11 vuotta sitten |
Adam Ierymenko
|
e53d208ea4
Improve security posture by eliminating non-const data() accessor from Buffer.
|
11 vuotta sitten |
Adam Ierymenko
|
b41437780b
Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket...
|
11 vuotta sitten |
Adam Ierymenko
|
2659427864
Multicaster needs to be global, not per-network, and a bunch of other stuff.
|
11 vuotta sitten |
Adam Ierymenko
|
8607aa7c3c
Everything in for new multicast except IncomingPacket parsing...
|
11 vuotta sitten |
Adam Ierymenko
|
2d41055bdc
Some Network code cleanup.
|
11 vuotta sitten |
Adam Ierymenko
|
027060dad1
Most of new multicast code builds... now on to packet parsing.
|
11 vuotta sitten |
Adam Ierymenko
|
9e186bbd89
.
|
11 vuotta sitten |
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 vuotta sitten |
Adam Ierymenko
|
9180a30986
.
|
11 vuotta sitten |
Adam Ierymenko
|
61d0f27d2a
Make MulticastTopology have its own mutex.
|
11 vuotta sitten |
Adam Ierymenko
|
954f9cbc13
Yet more WIP on mulitcast algo...
|
11 vuotta sitten |
Adam Ierymenko
|
d9abd4d9be
Work on defining new direct broadcast multicast algorithm.
|
11 vuotta sitten |
Adam Ierymenko
|
d02ecfb288
IP assignment and change cleanup -- leave IPs that were never configured via ZT static assignment alone.
|
11 vuotta sitten |
Adam Ierymenko
|
eadff71d37
Another fix to Network life cycle.
|
11 vuotta sitten |
Adam Ierymenko
|
de4e29288d
Fix for crazy Windows threading bug... repeatedly adding and removing a network now doesn't leave networks in limbo.
|
11 vuotta sitten |
Adam Ierymenko
|
f8d4611d15
(1) Tweak LAN locator beacon frequencies, (2) Windows virtual networks
|
11 vuotta sitten |
Adam Ierymenko
|
77457cbff1
Windows compile fixes, compiler warning fix, unfreed memory fix in main.c (though it would not have mattered since program exits immediately after).
|
11 vuotta sitten |
Adam Ierymenko
|
adfb71fa6b
Compile for for TRACE, remove old TESTNET cruft.
|
11 vuotta sitten |
Adam Ierymenko
|
b80c229d87
Tons of code cleanup, refactor Network to use EthernetTapFactory, probably also fix GitHub issue #90
|
11 vuotta sitten |
Adam Ierymenko
|
45a1e048bb
Add enabled/disabled status to network.
|
11 vuotta sitten |