Caleb James DeLisle
|
e91eeb6b48
Always log using IP address rather than a mix of address and key
|
4 years ago |
Caleb James DeLisle
|
1881da934d
Automatic refactoring to get rid of dangerous usage of String_CONST()
|
7 years ago |
Caleb James DeLisle
|
cafed5019f
Manual merge links update by soredake
|
7 years ago |
soredake
|
c49cc24869
links update
|
7 years ago |
Caleb James DeLisle
|
381fc1b90e
Enable checking of the nodeStore when verify() is called and allow toggling of full verification at runtime
|
8 years ago |
Lars Gierth
|
d2a7a93369
dht: have getLinks() accept empty parent
|
8 years ago |
Arceliar
|
83e61aee6e
Switch to cost instead of reach. Builds but needs debugging.
|
9 years ago |
Caleb James DeLisle
|
63ff0a9571
Merge branch 'crashey' of git://github.com/Arceliar/cjdns into crashey
|
9 years ago |
Caleb James DeLisle
|
b0eb89516e
Added the ability to dump links in the node store
|
9 years ago |
Arceliar
|
6305865b0d
Better way to add buckets to dumptable.
|
9 years ago |
Caleb James DeLisle
|
e49eb95368
add a isBestLink to the pathfinder tree
|
9 years ago |
Caleb James DeLisle
|
efdf39c8cb
Merge branch 'parse_ip' of git://github.com/ehmry/cjdns into crashey
|
9 years ago |
Caleb James DeLisle
|
71aaab8e0f
Refactored some admin APIs to return Address data instead of non-standard forms
|
9 years ago |
Emery Hemingway
|
5b274d93cd
AddrTools_parseIp can handle shortened IPs, don't check length
|
9 years ago |
kpcyrd
|
0b6f855899
Allow anon access to NodeStore_getLink
|
9 years ago |
kpcyrd
|
199a318344
Allow anon access to NodeStore_nodeForAddr
|
9 years ago |
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 years ago |
Arceliar
|
23cc805347
Move eventBase out of public part of nodeStore
|
10 years ago |
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 years ago |
Caleb James DeLisle
|
b5874010b5
isPeer() was hilariously screwed up
|
10 years ago |
Caleb James DeLisle
|
e9aad0d066
Simplify List interface and fixed some weird behavior with the last page of dumpTable
|
10 years ago |
Caleb James DeLisle
|
3005cac83c
Removed some old string.h portability stuff and replaced it with CString.h which is easier portability, also made TUNInterface and NetPlatform fully non-portable since they are not intended to be portable and portability code changes from time to time, putting them at risk since they are not often compiled.
|
10 years ago |
Caleb James DeLisle
|
0f3e478936
#1 if a node 'magically changes path', flush all outgoing links from it's next-up peer, #2 squeeze a bit of logic out of NodeStore and put it other places.
|
10 years ago |
Caleb James DeLisle
|
d2e4b84680
Switched from node->bestParent to Node_getBestParent() and Node_setParentReachAndPath() with appropriate checks
|
10 years ago |
Caleb James DeLisle
|
15ecfa5565
Gcc thinks these could be used uninitialized
|
10 years ago |
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 years ago |
Caleb James DeLisle
|
f70518c9d3
bound the size of the nodestore
|
10 years ago |
Caleb James DeLisle
|
1f1cf83d4e
Work from over the weekend, crashey is less crashey (at least in the sim)
|
10 years ago |
Caleb James DeLisle
|
e569a8cb76
Tuning still needed but this one has the sound of a winner
|
10 years ago |
Caleb James DeLisle
|
cca56ad9a9
Finally got everything switched over to using the new pathfinder
|
10 years ago |