Adam Ierymenko
|
ab9afbc749
(1) Public networks now get COMs even though they do not gate with them since they will need them to push auth for multicast stuff, (2) added a bunch of rate limit circuit breakers for anti-DOS, (3) cleanup.
|
9 years ago |
Adam Ierymenko
|
0d4109a9f1
More refactoring to clean up code, and add a gate function to make sure we do not handle OK packets we did not expect. This hardens up a few potential edge cases around security, since such messages might be used to e.g. pollute a cache and DOS under certain conditions.
|
9 years ago |
Adam Ierymenko
|
0dfc08b317
Tidy up a few minor protocol things, improve documentation in Packet.hpp.
|
9 years ago |
Adam Ierymenko
|
e1310a764a
More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff).
|
9 years ago |
Adam Ierymenko
|
00fd9c3a15
It builds... almost ready to test some rules engine stuff.
|
9 years ago |
Adam Ierymenko
|
7b7ab823b0
Fix getPeer(self) bug if I am the controller.
|
9 years ago |
Adam Ierymenko
|
8b9519f0af
Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes network controller easier to refactor.
|
9 years ago |
Adam Ierymenko
|
31db6f8f36
NetworkConfig refactor almost done.
|
9 years ago |
Adam Ierymenko
|
4e4fd51117
boring doc stuff
|
9 years ago |
Adam Ierymenko
|
451b8aa7b2
Query both root and network controller for multicast last resort GATHER.
|
9 years ago |
Adam Ierymenko
|
21341ab15c
Ready to test.
|
9 years ago |
Adam Ierymenko
|
60ce886605
Tweak some timings for better reliability.
|
9 years ago |
Adam Ierymenko
|
16bc3e0398
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
|
9 years ago |
Adam Ierymenko
|
f32e9d07dd
Don't include COM if not necessary (fix).
|
9 years ago |
Adam Ierymenko
|
2fa21aa676
.
|
10 years ago |
Adam Ierymenko
|
3999e468b7
Need to hold nconf so *com does not die while being used.
|
10 years ago |
Adam Ierymenko
|
6693149f3e
Send COM with MULTICAST_GATHER for future use.
|
10 years ago |
Adam Ierymenko
|
b11ffc9635
Integrate Hashtable into Multicaster, where @mwarning found heaviest std::map() overhead.
|
10 years ago |
Adam Ierymenko
|
708aac1ea7
Remove some left over debug code, and fix attempt to send to self if we are an active bridge.
|
10 years ago |
Adam Ierymenko
|
412389ec75
Implement ERROR_UNWATNED_MULTICAST
|
10 years ago |
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 years ago |
Adam Ierymenko
|
3f71afd0fb
Put multicast txQueue back to list.
|
10 years ago |
Moritz Warning
|
def9cf2a6a
replace vector::erase, was missed in a previous commit (ref #186)
|
10 years ago |
Adam Ierymenko
|
7bae95836c
Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address.
|
10 years ago |
Adam Ierymenko
|
be4f08a548
Merge pull request #186 from mwarning/txQueue_vector
|
10 years ago |
Moritz Warning
|
0073d0f694
replace txQueue list by vector for faster memory access and less allocations
|
10 years ago |
Kees Bos
|
a425bbc673
Renamed supernode to rootserver
|
10 years ago |
Adam Ierymenko
|
c894710ac1
Remove Logger.hpp references.
|
10 years ago |
Adam Ierymenko
|
758bf949db
Check for subscribed multicast groups should be able to check groups bridged behind me.
|
10 years ago |
Adam Ierymenko
|
488f5bf977
More build fixes, and attic/ some stuff.
|
10 years ago |