Adam Ierymenko
|
10c196df50
Send a VERB_P5_MULTICAST_FRAME to the supernode for each multicast -- for now. This will allow supernodes to echo these down to pre-1.0.0 peers.
|
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
|
62da7e67b6
Add some rate limiting to implicit gathers, and always send multicasts to at least one supernode so they can broadcast to old peers (temporary).
|
11 жил өмнө |
Adam Ierymenko
|
e7c81ef34e
Turns out that needed to be a list after all. Also clean up Multicaster::gather().
|
11 жил өмнө |
Adam Ierymenko
|
3f7e7e8a88
Do not multicast to self.
|
11 жил өмнө |
Adam Ierymenko
|
496109fdcc
Announce multicast group changes on network rescanMulticastGroups()
|
11 жил өмнө |
Adam Ierymenko
|
aad344bb84
Add test network support to Network.
|
11 жил өмнө |
Adam Ierymenko
|
13fc20b0ee
Add inject (undocumented in help) to NodeControlService.
|
11 жил өмнө |
Adam Ierymenko
|
351db7f1a0
Plumb injectPacketFromHost through to API.
|
11 жил өмнө |
Adam Ierymenko
|
6ab7b1b915
Add local-testnet clean script, and make a really ugly hacky fix in main.c for the -q option. (All that personality stuff needs to be rewritten. Yuck.)
|
11 жил өмнө |
Adam Ierymenko
|
f853bc6a86
Fix root topology override
|
11 жил өмнө |
Adam Ierymenko
|
d7189dd6c7
.
|
11 жил өмнө |
Adam Ierymenko
|
5fc3c0812a
run-local-testnet script
|
11 жил өмнө |
Adam Ierymenko
|
67aa23530b
More work on adding testnet and user-mode capabilities for local network simulation.
|
11 жил өмнө |
Adam Ierymenko
|
2a58c3fb98
Root topology testnet stuff... will ship this so people can easily run the local testnet app.
|
11 жил өмнө |
Adam Ierymenko
|
96fa3f7550
Work on in-place testnet support.
|
11 жил өмнө |
Adam Ierymenko
|
1109046782
Last steps before test: parse OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME)
|
11 жил өмнө |
Adam Ierymenko
|
49dc47ff38
Make multicast gathering a bit smarter.
|
11 жил өмнө |
Adam Ierymenko
|
dee86e2448
But since we are now using middle 3 bits we can assign sane values for the cipher suite enum.
|
11 жил өмнө |
Adam Ierymenko
|
17da733f97
Gotta support old encrypted flag, move cipher spec to middle 3 bits... due to some shortsighted design early-on. In the future this can die once there are no old peers.
|
11 жил өмнө |
Adam Ierymenko
|
23836d4c11
Change "encrypted" flag to full cipher suite selector. Go ahead and reserve AES256-GCM which might be added in the future.
|
11 жил өмнө |
Adam Ierymenko
|
e53d208ea4
Improve security posture by eliminating non-const data() accessor from Buffer.
|
11 жил өмнө |
Adam Ierymenko
|
e8c5495b61
Yes, zero my secret key data. Yes I really, really mean it.
|
11 жил өмнө |
Adam Ierymenko
|
28646eee0a
A bit more IncomingPacket cleanup... almost ready to test, just need OK() handling.
|
11 жил өмнө |
Adam Ierymenko
|
e1882b614b
Some cleanup, Multicaster now sends multicasts as it gets additional members.
|
11 жил өмнө |
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 жил өмнө |
Adam Ierymenko
|
ea6124dd2f
IncomingPacket builds!
|
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 жил өмнө |