]> git.mxchange.org Git - hub-docs.git/blob - mindmaps/Peer-State Rating.html
Fixed all getSelfInstance
[hub-docs.git] / mindmaps / Peer-State Rating.html
1 <?xml version="1.0" encoding="iso-8859-1"?><?xml-stylesheet href="treestyles.css" type="text/css"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xml:lang="fi" xmlns="http://www.w3.org/1999/xhtml"><head><title>Peer-State Rating</title><link rel="stylesheet" href="Peer-State Rating.html_files/treestyles.css" type="text/css"/><script type="text/javascript" src="Peer-State Rating.html_files/marktree.js">  </script></head><body><div class="basetop"><a href="#" onclick="expandAll(document.getElementById('base'))">Expand</a> - <a href="#" onclick="collapseAll(document.getElementById('base'))">Collapse</a></div><div id="base" class="basetext"><ul><li class="col" style="" id="FMFreemind_Link_637047933FM"><span style="font-size:167%;font-weight:bold;">Peer-State Rating</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_390755501FM"><span style="font-size:133%;font-weight:bold;">Basic conceptional ideas</span><ul class="subexp"><li class="basic" style="" id="FM_FM"><span style="font-size:100%;">Is given by peers to each other: ...</span></li><li class="col" style="" id="FMFreemind_Link_1895657184FM"><span style="font-size:100%;font-weight:bold;">... for peer-ping</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_967295702FM"><span style="font-size:100%;">A peer-ping is not a simple ICMP ping</span></li><li class="basic" style="" id="FMFreemind_Link_1866965980FM"><span style="font-size:100%;">It is a special message that has to be replied by the other peer</span></li><li class="basic" style="" id="FMFreemind_Link_1366418753FM"><span style="font-size:100%;">A time out is checked on sender side</span></li><li class="basic" style="" id="FMFreemind_Link_984208749FM"><span style="font-size:100%;">There must be some kind of protection against ping-flooding</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_569273294FM"><span style="font-size:100%;font-weight:bold;">...for reported upload/download compared to measured</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_948865152FM"><span style="font-size:100%;font-style:italic;">See bandwidth measuring</span></li><li class="basic" style="" id="FMFreemind_Link_1355356073FM"><span style="font-size:100%;">Should limit spam nodes (wrong bandwidth reported)</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_1058841046FM"><span style="font-size:100%;font-weight:bold;">.. for following the "protocol directives"</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1309213686FM"><span style="font-size:100%;">Up-to-date nodes should always show a good behavior to others</span></li><li class="basic" style="" id="FMFreemind_Link_230465910FM"><span style="font-size:100%;">Spam nodes may try to break/exploit the protocol for their own purposes</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_1789401828FM"><span style="font-size:100%;font-weight:bold;">...for sending validated(/signed?) content</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_746501474FM"><span style="font-size:100%;">This can be checked by hashes</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_449062465FM"><img src="Peer-State Rating.html_files/icons/help.png" alt="help"/> <span style="font-size:100%;">Should TTHs be used?</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1202975110FM"><span style="">TTH=Tiger Tree Hashes</span></li><li class="basic" style="" id="FMFreemind_Link_705063871FM"><span style="">Or own implementation</span></li></ul></li></ul></li><li class="basic" style="" id="FMFreemind_Link_273976105FM"><img src="Peer-State Rating.html_files/icons/idea.png" alt="idea"/> <span style="font-size:100%;">... or digital "signatures"</span></li></ul></li><li class="basic" style="" id="FMFreemind_Link_1767611320FM"><img src="Peer-State Rating.html_files/icons/idea.png" alt="idea"/> <span style="">Always small positive rating for good/passed "checks"</span></li><li class="basic" style="" id="FMFreemind_Link_458709057FM"><img src="Peer-State Rating.html_files/icons/idea.png" alt="idea"/> <span style="">Always larger negative rating for bad/failed "checks"</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_975621733FM"><span style="font-size:133%;font-weight:bold;">Software design</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_929744992FM"><span style="font-size:100%;">Rating for: ...</span></li><li class="col" style="" id="FMFreemind_Link_1271441491FM"><span style="font-size:100%;font-weight:bold;">... peer-ping</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_716383596FM"><span style="">Is an XML message to be sent in not regular times to other nodes</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_1689439887FM"><span style="">Should contain a serial number</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1672713608FM"><span style="">To distinguish from already sent pings</span></li><li class="basic" style="" id="FMFreemind_Link_560209724FM"><span style="">The serial number is maybe not known to other peers</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_914780939FM"><span style="">Some kind of "signature"</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_205178352FM"><span style="">To combat abusive/harmful peers</span></li></ul></li></ul></li><li class="col" style="" id="FMFreemind_Link_729695919FM"><span style="">Is not the actual ping time (ICMP ping), it is more a "virtual ping"</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_91726916FM"><span style="">Users with a slow Internet connection may be affected</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_533413433FM"><span style="">Is also used to determine ...</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_1554488715FM"><span style="">... if a node is still alive</span><ul class="subexp"><li class="col" style="" id="FMFreemind_Link_734412318FM"><span style="">An IP address hint (dyndns hostname) may help here</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1299120895FM"><span style="">This relies on an external DNS server</span></li><li class="basic" style="" id="FMFreemind_Link_742674552FM"><span style="">If that server is down, the node must still be found</span></li></ul></li><li class="col" style="" id="FMFreemind_Link_387549555FM"><span style="">...or some kind of "PEX" (Peer EXchange) may help here?</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1980920494FM"><span style="">May cause other abusive peers to send spoofed PEX data</span></li><li class="basic" style="" id="FMFreemind_Link_1323121006FM"><span style="">This requires addintional handling (e.g. negative karma for spoofed PEX data)</span></li></ul></li></ul></li><li class="col" style="" id="FMFreemind_Link_1367005180FM"><span style="">... if the node is not busy</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1555296108FM"><span style="">Slow ping responses could mean this</span></li><li class="basic" style="" id="FMFreemind_Link_1118367153FM"><span style="">Then the node needs to be marked as "busy"</span></li><li class="basic" style="" id="FMFreemind_Link_608994984FM"><span style="">Sending more packages to this node would make it more busy (DDoS)</span></li></ul></li></ul></li><li class="col" style="" id="FMFreemind_Link_1235076667FM"><span style="">If excessive pings are sent they need to be dealed</span><ul class="subexp"><li class="basic" style="" id="FMFreemind_Link_1988177267FM"><span style="">By giving negative karma</span></li><li class="basic" style="" id="FMFreemind_Link_1917809635FM"><span style="">Blocking the harmful node</span></li></ul></li></ul></li><li class="basic" style="" id="FMFreemind_Link_1866854566FM"><span style="font-size:100%;font-weight:bold;">... comparison of reported/measured transfer rates</span></li><li class="basic" style="" id="FMFreemind_Link_419579265FM"><span style="font-size:100%;font-weight:bold;">... no bad behavior (communication protocol)</span></li><li class="basic" style="" id="FMFreemind_Link_450728748FM"><span style="font-size:100%;font-weight:bold;">... validated "content"</span></li></ul></li></ul></li></ul></div></body></html>