Commit History

Author SHA1 Message Date
  Caleb James DeLisle 8e00a34c7a Changes in order to enable changing of TUN device on the fly 4 years ago
  Valentin Lorentz 98c704ce1c Replace address checks by function calls. 7 years ago
  soredake c49cc24869 links update 7 years ago
  Kubuxu a38e58b1c7 Remove usage of Bits_memcpyConst and Bits_memmoveConst 9 years ago
  Arceliar ab2b62cfde Cost bugfixes and tuning 9 years ago
  Arceliar 83e61aee6e Switch to cost instead of reach. Builds but needs debugging. 9 years ago
  Caleb James DeLisle 3f77989801 Using UINT64_MAX as an int64 makes -1 9 years ago
  Caleb James DeLisle 054fd2d9ab Use long long because otherwise it's going to be screwy on 32bit machines 9 years ago
  Caleb James DeLisle 7fb3c8b161 Drop checkpeers() which is re-doing splitlinks, also fix blacklist and name it blacklist which is more intuitive 9 years ago
  Caleb James DeLisle d6da03f534 Attempt again to fix splitLinks which was not working correctly at all 9 years ago
  Caleb James DeLisle b03bd47c8f refactor splitLinks to only use the most recent unsplit links and to keep refilling when links are taken out 9 years ago
  Caleb James DeLisle 1378493233 Added a new rumorMill for splitting links which are bestParent links 9 years ago
  Arceliar 31c735c93c Try to have the janitor passively split links a little more efficiently. 9 years ago
  Blake Burghgrave 767c30777b Be less eager to discover paths, and check that we still know the destination before pinging from the linkMill. 9 years ago
  Caleb James DeLisle 0af9323b69 Improve splitLinks and prevent re-pinging the same nodes over and over from nodeMill and linkMill 9 years ago
  Caleb James DeLisle 12720d9d1c make janitor refuse to ping a node which it has already pinged within 30 seconds ago, this will suppress some resonant conditions 9 years ago
  Caleb James DeLisle f7b7ae1e1e Make rumormills accessable for debugging purposes 9 years ago
  Caleb James DeLisle 258a2c4a46 it all seems to work well enough 9 years ago
  Caleb James DeLisle ec8c4fdd62 Added -c to search to allow for more exhaustive searches, also sort sessionStats 9 years ago
  Caleb James DeLisle ff287fbbff getpeers should not splice the address in order to be clearer 10 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 c47ec81446 Fix a bug where we never reconnect. Probably possible to clean this up a little. 10 years ago
  Arceliar 534c1955d0 Janitor response callbacks should always check links to orphaned nodes. 10 years ago
  Arceliar 29f5ba73e4 Segfaultin' 2: Electric Boogaloo 10 years ago
  Arceliar e09ea3bbef typo == segfault 10 years ago
  Arceliar a7f9c21a3a Use node ping time information in janitor 10 years ago
  Arceliar b90ed55ac9 Since the mills eventually empty, we can move the random node ping to after them. This should speed up bootstrapping and recovery after a disconnect, but have ~no effect once we reach a full maintenance state. 10 years ago
  Arceliar b680ff3be3 return 10 years ago
  Arceliar 247d5d2dd6 Make checkPeers return a bool for if it did anything. Have tryExistingNode try checkPeers on the node before pinging it. Modify linkMill/nodeMill/tryRandomLink priorities, the mills now eventually empty. 10 years ago
  Arceliar e9b1e28b30 Janitor stuff. For the nodeMill, require that nodes are in some way useful (e.g. needed for keyspace or are an unknown hop on someone's best path). Add checkPeers to dht maintenance. 10 years ago