7 Dec 2005 15:42
Yet another NTK_RFC: 0007
About a vital change in the counter_gnode system used by ANDNA: http://lab.dyne.org/Ntk_andna_counter_pubk == NTK_RFC 0007 == Subject: ANDNA counter system based on public key ---- This text describes a change to the counter_gnode system in ANDNA. It will be included in the final documentation, so feel free to correct it. But if you want to change the system here described, please contact us first. ---- The counter_gnode is used to prevent massive registrations of hnames by a single node, however there is a bug in the actual protocol. Actually the IP of the counter_gnode is the hash of the public key of the register node. The public key is part of the key pair used by the register_node to register and update its hnames, therefore there should be only one key pair for each node. However, nothing prevents the register node to create multiple key pairs, modify the netsukuku_d code and use them at the same time. With this technique, the register node can have a new counter_gnode for each new generated key pair, avoiding in this way the registration limit. The solution is to calculate the IP of the hash_gnode using the hash of the IP(Continue reading)
RSS Feed