oops
This commit is contained in:
@ -49,8 +49,6 @@ public class I2NPMessageHandler {
|
|||||||
throw ioe;
|
throw ioe;
|
||||||
} catch (I2NPMessageException ime) {
|
} catch (I2NPMessageException ime) {
|
||||||
throw ime;
|
throw ime;
|
||||||
} catch (DataFormatException dfe) {
|
|
||||||
throw dfe;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (_log.shouldLog(Log.WARN))
|
if (_log.shouldLog(Log.WARN))
|
||||||
_log.warn("Error reading the stream", e);
|
_log.warn("Error reading the stream", e);
|
||||||
|
@ -629,7 +629,8 @@ public class TCPTransport extends TransportImpl {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!allowAddress(tcpAddr)) {
|
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();
|
iter.remove();
|
||||||
_context.shitlist().shitlistRouter(peer, "Invalid addressaddress...");
|
_context.shitlist().shitlistRouter(peer, "Invalid addressaddress...");
|
||||||
|
Reference in New Issue
Block a user