Caleb James DeLisle
|
8cff3cb069
Potential null deref
|
4 éve |
Caleb James DeLisle
|
3c1701ae48
Expire version and encoding scheme entities as well as peers
|
4 éve |
Caleb James DeLisle
|
621d8665f5
Order of operations
|
4 éve |
Caleb James DeLisle
|
67ba7d667f
Oops, computing in hours instead of minutes, also better randomizing of timeouts
|
4 éve |
Caleb James DeLisle
|
c962ff2ef5
bad arithmatic
|
4 éve |
Caleb James DeLisle
|
52ce0c6078
ReachabilityAnnouncer.c: Better logging
|
4 éve |
Caleb James DeLisle
|
8f95a7d3c8
fat finger mistakes
|
4 éve |
Caleb James DeLisle
|
ff2708f791
Switch to re-announcing peers at random times within a 5 minute range up to 1 minute before the timeout
|
4 éve |
Caleb James DeLisle
|
dc9b14238b
Rewrite ReachabilityAnnouncer to not have it's own state anymore - no more risk of it desyncing from ReachabilityCollector, many bug fixes
|
4 éve |
Caleb James DeLisle
|
d142d78890
Fix incorrect logic in ReachabilityAnnouncer which can cause nodes to 'disappear' from the list
|
4 éve |
Caleb James DeLisle
|
784f83b4d8
Fix subnode to allow multiple peers to be announced up
|
4 éve |
Caleb James DeLisle
|
4cb93d8928
Fix issue causing constant desync with route server
|
4 éve |
Caleb James DeLisle
|
6c1751d868
Got rid of usages of Except and simplified Message.h
|
4 éve |
Caleb James DeLisle
|
25a47b9f3c
message overflow when reporting many peers
|
6 éve |
Caleb James DeLisle
|
b97787073b
BIG endian
|
6 éve |
Caleb James DeLisle
|
a86c3e147b
If we reset session w/ snode, we should re-submit the whole known LinkState history
|
6 éve |
Caleb James DeLisle
|
ac9e0c0022
Publish link state info to the snode
|
6 éve |
Caleb James DeLisle
|
f187db6b66
Major refactoring to push data up from the InterfaceController to the ReachabilityCollector for submitting lag, drops and passed bits to the snode
|
6 éve |
Mada
|
a486ee7404
Handle result of updatePeer in any case
|
6 éve |
Mada
|
e3101f9bd2
msgOnWire should be clear to prevent it has effact on reset state
|
6 éve |
Mada
|
0cba7c15c8
Update any peer with latest local state in the timeout callback
|
6 éve |
Valentin Lorentz
|
98c704ce1c
Replace address checks by function calls.
|
7 éve |
Mada
|
0ee9cb7f45
Reduce snode path update traffic, reset candidate when snode unreachable
|
7 éve |
Caleb James DeLisle
|
02b3f25521
better assertions to catch garbage
|
7 éve |
Caleb James DeLisle
|
2891fc6f8f
Actually I was right the first time, we want to send periodic empty messages which are accepted but discarded by the snode
|
7 éve |
Caleb James DeLisle
|
0e5017bfcd
added a ReachabilityCollector_admin for debugging and fixed a few bugs in ReachabilityAnnouncer
|
7 éve |
Caleb James DeLisle
|
21ea01ffb9
Mostly ported to new supernode hunting algorithm
|
7 éve |
Caleb James DeLisle
|
ac328e7562
misc debugging and fix if (!pi->querying) { continue; } in a loop where it should break
|
7 éve |
soredake
|
c49cc24869
links update
|
7 éve |
Caleb James DeLisle
|
9b236e921b
Switch to 32 byte peer announcement entity, correct path and send a version with the announcement
|
8 éve |