Caleb James DeLisle
|
ff287fbbff
getpeers should not splice the address in order to be clearer
|
9 anni fa |
Caleb James DeLisle
|
72393903d3
Added nextHop inter-router API to allow traceroute
|
10 anni fa |
Arceliar
|
f3ce288092
Go back to guessing instead of trying to try every bestParent change. Try to make guesses cause fewer flappy routes. Track the time each link was last tested, use either the least recently tested link or the node's test time when deciding how old our info about a node is. Move tryExistingNode out of the conditional chain in the janitor, to prevent it from being blocked during bootstrapping (when we're most vulnerable to blackholes anyway). Misc code cleanup.
|
10 anni fa |
Arceliar
|
70f55c1073
Fix bug where we could update node time based on responses from the wrong path.
|
10 anni fa |
Arceliar
|
e7a8dd6b5d
Store the time each node was last pinged successfully. Reset on path changes. Include it in dumptable. Added support for this in dumptable.js
|
10 anni fa |
Caleb James DeLisle
|
7667736795
NodeStore_brokenLink() instead of NodeStore_brokenPath()
|
10 anni fa |
Caleb James DeLisle
|
2651089958
codestyle
|
10 anni fa |
Caleb James DeLisle
|
67f275f736
Added ability to access getPeers data externally
|
10 anni fa |
Caleb James DeLisle
|
c6aef1cce8
#1 Replace NodeStore_nodeForPath() with NodeStore_linkForPath() which is more useful, #2 fix a crash bug in Janitor, #3 add a TODO comment
|
10 anni fa |
Caleb James DeLisle
|
666d685b24
Take responsiblity for all TODOs
|
10 anni fa |
Caleb James DeLisle
|
d229acbca9
Merge branch 'linkey' of https://github.com/Arceliar/cjdns into crashey
|
10 anni fa |
Caleb James DeLisle
|
72505b0b7b
Replaced more expensive instances of Assert_true() with Assert_ifParanoid()
|
10 anni fa |
Caleb James DeLisle
|
2ab7f135e6
add Node_getReach() to prevent reach from being altered without certain checks, also do not call NodeStore_updateReach() unless a the path is the same as the one stored for the node.
|
10 anni fa |
Arceliar
|
73aa614fd0
Minor cleanup
|
10 anni fa |
Arceliar
|
d1babe5817
Interface change to NodeStore, so reach updates are done by supplying a path and latency, and all reach logic is handled in the NodeStore
|
10 anni fa |
Arceliar
|
6481e42482
Temp workaround to a reach-related logic bug in RouterModule
|
10 anni fa |
Arceliar
|
f76bb73ff3
Pay attention to the path a packet takes when updating reach due to a ping/search response.
|
10 anni fa |
Caleb James DeLisle
|
34b7afcd58
Fixed the ffff bug, thanks Arceliar and tg for debugging and fixing it.
|
10 anni fa |
Caleb James DeLisle
|
fea3202c7d
Merge branch 'master' of git://github.com/Shnatsel/cjdns into crashey
|
10 anni fa |
Sergey "Shnatsel" Davidoff
|
1c770443f5
Ditch version in ping response packets entirely. Fixes build.
|
10 anni fa |
Caleb James DeLisle
|
1f1cf83d4e
Work from over the weekend, crashey is less crashey (at least in the sim)
|
10 anni fa |
Sergey "Shnatsel" Davidoff
|
60879a09da
Purge git commit hashes out of on-the-wire protocol. Hopefully.
|
10 anni fa |
Arceliar
|
58fc633c3a
Less ugly.
|
10 anni fa |
Arceliar
|
a90055c9d5
Remove obsolete pingspam code.
|
10 anni fa |
Arceliar
|
e23ccc8e39
Move reach-refreshing stuff to janitor. Replace pingspam with much, much less frequent searchspam.
|
10 anni fa |
Arceliar
|
03b0ebb25d
Merge branch 'crashey' of https://github.com/cjdelisle/cjdns into reach_test
|
10 anni fa |
Caleb James DeLisle
|
9f8c4d6a1c
try to make some use of information when a packet comes in and the path is not 'preferred'
|
10 anni fa |
Caleb James DeLisle
|
f63999e4c8
Make inter-router communication code capable of handling messages which loop back to itself
|
10 anni fa |
Arceliar
|
0cb479d914
Cleanup of pingspam code to get it back in a pseudoworking state
|
10 anni fa |
Caleb James DeLisle
|
e569a8cb76
Tuning still needed but this one has the sound of a winner
|
10 anni fa |