Caleb James DeLisle
|
2d0f939045
reverted some debugging logs which used printShortIp because it's harder to read
|
10 years ago |
Caleb James DeLisle
|
96841c7fb3
Merge branch 'master' of git://github.com/ehmry/cjdns into crashey
|
10 years ago |
Emery Hemingway
|
a9508af325
conform to RFC5952 when printing some IPv6 addresses
|
10 years ago |
Arceliar
|
360788f34a
Turn on Janitor.c:splitLinks() and require and allow duplicate entries in the RumorMill unless both path and address match.
|
10 years ago |
Arceliar
|
9d0fdabe17
DHT maintenance without searches. Refactored the common bit-twiddling part of the DHT stuff, so it only has to appear once.
|
10 years ago |
Caleb James DeLisle
|
849fed1bc9
if pinging a node which we already have a path to, don't explore different keys because the error responses can kill a valid link
|
10 years ago |
Caleb James DeLisle
|
7667736795
NodeStore_brokenLink() instead of NodeStore_brokenPath()
|
10 years ago |
Caleb James DeLisle
|
05e935071e
typo
|
10 years ago |
Caleb James DeLisle
|
6f7906bc90
make sure to periodically ping existing nodes
|
10 years ago |
Caleb James DeLisle
|
84786f61ba
Disregard nodes telling us about themselves in getpeers
|
10 years ago |
Caleb James DeLisle
|
4a11105517
throw a monkeywrench into the bad state machine
|
10 years ago |
Caleb James DeLisle
|
3a96bdb62e
even better logging from rumormill
|
10 years ago |
Caleb James DeLisle
|
143f8613e1
Added improved logging to rumormill
|
10 years ago |
Caleb James DeLisle
|
a854b6a251
Unreachable nodes should not be counted as 'ok'
|
10 years ago |
Caleb James DeLisle
|
9595d67f9e
We really don't want to try to ping ffff.ffff.ffff.ffff
|
10 years ago |
Caleb James DeLisle
|
ecb8eaad65
Remove second verscchlimmbesserung optimizePath() call
|
10 years ago |
Caleb James DeLisle
|
ad01716671
Remove verscchlimmbesserung optimizePath() call
|
10 years ago |
Arceliar
|
00e46c95aa
Some cleanup, mainly to the Janitor. Moved most of the identical code for getPeers-ing from different rumormills into one function. Rewrite the keyspace maintenance code to add important addresses to a rumormill so it can ping the relevant nodes (or do a search) later. Sends fewer searches but more pings. Expect about the same number of packets per minute as before for the current network, can potentially increase slightly (logarithmically up to a maximum of ~2x what we used before) as the network grows.
|
10 years ago |
Caleb James DeLisle
|
e9aad0d066
Simplify List interface and fixed some weird behavior with the last page of dumpTable
|
10 years ago |
Arceliar
|
2e9890b4c3
Store something sensable for linkState, use it to improve reach guesses. Janitor now spends some fraction of pings checking the status of known links, so we don't fall into a pathelogical state of only ever checking the links we already think are good.
|
10 years ago |
Arceliar
|
767c1bbd32
Reorder janitor rumor mills to give the external one the highest priority. This should rarely do anything, but it seems like the 'right' thing to do here.
|
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
|
c47a060eb9
Merge branch 'pathsplitter' of git://github.com/Arceliar/cjdns into crashey
|
10 years ago |
Caleb James DeLisle
|
fcbb83c9a5
Put the increment in a silly place causing unwanted aborts
|
10 years ago |
Arceliar
|
4c2cd50829
Manual merge
|
10 years ago |
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 years ago |
Arceliar
|
3819a154a5
Move some stuff around again
|
10 years ago |
Arceliar
|
fd91039d4e
Adjust janitor link-splitting logic.
|
10 years ago |
Arceliar
|
f4c653ccb1
Use a 3-RumorMill system.
|
10 years ago |
Arceliar
|
98e614e731
cleanup
|
10 years ago |