[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: suspicions Chinese node name piracy



Kasimir Gabert wrote:
Olaf,

Would you prefer to have the opinion source be specified by
fingerprint by default instead of by name?

Hi Kasimir,

this is the ugly quick and dirty hack to your Perl code:

$dbh->do("INSERT INTO NetworkStatusSource SELECT * FROM Descriptor${descriptorTable} WHERE Name = '$nickname' AND IP = '195.71.90.10';");

Yes, specifying the opinion source by fingerprint or by ip address is a good idea.

> And did the script break, or return an incorrect value?

it broke at line 544. Otherwise I probably would never have noticed the Chinese 'blutmagie' router.

DBD::mysql::db do failed: Duplicate entry '1' for key 1 at tns_update.pl line 544, <GEN0> line 137682.

Olaf