What if someone forges his reference and sets lastGoodBuild=9999 ? How will that affect this? How ist lastGoodBuild propagated anyway? Is it propagated? What are the implications for the network if one or more nodes are forging lastGoodBuild?
>Author: zothar >Date: 2006-05-18 03:57:03 +0000 (Thu, 18 May 2006) >New Revision: 8755 > >Modified: > trunk/freenet/src/freenet/node/PeerNode.java >Log: >Activate the user build too old alerting commited in r8754. We only aler= >t if we get a handshake request from a peer that's still advertising a la= >stGoodVersion that's newer than our version. This allows the lastGoodVer= >sion to be lowered and thus older nodes would potentially be able to conn= >ect again. This commit also removes the handshake timer renew when we re= >ceive a handshake from a peer that's too old because, otherwise, that mig= >ht prevent us from sending them our ref (and the latest lastGoodVersion i= >nformation) in a handshake request sent to them. Persons running builds = >after this that are too old should get the idea pretty quick with a user = >alert on the welcome page and one or more peers in "TOO NEW" status on th= >e Darknet Connections page.
