Adam Ierymenko
|
95f421024a
Code cleanup, and fix some unsafe pointer handling in Network.
|
11 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
42d644a57e
More fixes to legacy support, and to a potential issue on quit.
|
11 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
d5e0f7e3e4
Reorg multicast packet, and a whole bunch of refactoring around the pushing of certificates of membership.
|
11 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
496109fdcc
Announce multicast group changes on network rescanMulticastGroups()
|
11 жил өмнө |
Adam Ierymenko
|
aad344bb84
Add test network support to Network.
|
11 жил өмнө |
Adam Ierymenko
|
e53d208ea4
Improve security posture by eliminating non-const data() accessor from Buffer.
|
11 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
2659427864
Multicaster needs to be global, not per-network, and a bunch of other stuff.
|
11 жил өмнө |
Adam Ierymenko
|
8607aa7c3c
Everything in for new multicast except IncomingPacket parsing...
|
11 жил өмнө |
Adam Ierymenko
|
2d41055bdc
Some Network code cleanup.
|
11 жил өмнө |
Adam Ierymenko
|
027060dad1
Most of new multicast code builds... now on to packet parsing.
|
11 жил өмнө |
Adam Ierymenko
|
9e186bbd89
.
|
11 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
9180a30986
.
|
11 жил өмнө |
Adam Ierymenko
|
61d0f27d2a
Make MulticastTopology have its own mutex.
|
11 жил өмнө |
Adam Ierymenko
|
954f9cbc13
Yet more WIP on mulitcast algo...
|
11 жил өмнө |
Adam Ierymenko
|
d9abd4d9be
Work on defining new direct broadcast multicast algorithm.
|
11 жил өмнө |
Adam Ierymenko
|
d02ecfb288
IP assignment and change cleanup -- leave IPs that were never configured via ZT static assignment alone.
|
11 жил өмнө |
Adam Ierymenko
|
eadff71d37
Another fix to Network life cycle.
|
11 жил өмнө |
Adam Ierymenko
|
de4e29288d
Fix for crazy Windows threading bug... repeatedly adding and removing a network now doesn't leave networks in limbo.
|
11 жил өмнө |
Adam Ierymenko
|
f8d4611d15
(1) Tweak LAN locator beacon frequencies, (2) Windows virtual networks
|
11 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
adfb71fa6b
Compile for for TRACE, remove old TESTNET cruft.
|
11 жил өмнө |
Adam Ierymenko
|
b80c229d87
Tons of code cleanup, refactor Network to use EthernetTapFactory, probably also fix GitHub issue #90
|
11 жил өмнө |
Adam Ierymenko
|
45a1e048bb
Add enabled/disabled status to network.
|
11 жил өмнө |
Adam Ierymenko
|
cf4700bc26
Simplify network briding modes -- we only need passive toggle and active bridge list, not three mode types. Also change isOpen to isPublic for terminology consistency.
|
11 жил өмнө |