This commit is contained in:
jrandom
2004-10-05 18:21:44 +00:00
committed by zzz
parent 7f9076bb1d
commit 756af9c699
2 changed files with 2 additions and 3 deletions

View File

@ -49,8 +49,6 @@ public class I2NPMessageHandler {
throw ioe;
} catch (I2NPMessageException ime) {
throw ime;
} catch (DataFormatException dfe) {
throw dfe;
} catch (Exception e) {
if (_log.shouldLog(Log.WARN))
_log.warn("Error reading the stream", e);

View File

@ -629,7 +629,8 @@ public class TCPTransport extends TransportImpl {
continue;
}
if (!allowAddress(tcpAddr)) {
_log.error("Message points at illegal address! " + msg.getTarget());
_log.error("Message points at illegal address! "
+ msg.getTarget().getIdentity().calculateHash().toBase64().substring(0,6));
iter.remove();
_context.shitlist().shitlistRouter(peer, "Invalid addressaddress...");