[or-cvs] when a dirserver gets a mismatched fingerprint, log the exp...
arma at seul.org
arma at seul.org
Thu Jun 9 10:21:57 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
dirserv.c
Log Message:
when a dirserver gets a mismatched fingerprint, log the expected
fp and the received fp
Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- dirserv.c 2 May 2005 22:06:04 -0000 1.163
+++ dirserv.c 9 Jun 2005 10:21:55 -0000 1.164
@@ -186,7 +186,8 @@
log_fn(LOG_DEBUG,"good fingerprint for '%s'",router->nickname);
return 1; /* Right fingerprint. */
} else {
- log_fn(LOG_WARN,"mismatched fingerprint for '%s'",router->nickname);
+ log_fn(LOG_WARN,"mismatched fingerprint for '%s': expected '%s' got '%s'",
+ router->nickname, ent->fingerprint, fp);
return -1; /* Wrong fingerprint. */
}
}
More information about the tor-commits
mailing list