forked from I2P_Developers/i2p.i2p
I2PTunnel:
- Add options to block by referer and user-agent - Increase size of access list field in form - Log blocked destinations in b32, not b64 - Strip X-Runtime header Streaming; - Log blocked destinations in b32, not b64
This commit is contained in:
@@ -241,7 +241,7 @@ class ConnectionManager {
|
||||
if (why != null) {
|
||||
if ((!_defaultOptions.getDisableRejectLogging()) || _log.shouldLog(Log.WARN))
|
||||
_log.logAlways(Log.WARN, "Refusing connection since peer is " + why +
|
||||
(synPacket.getOptionalFrom() == null ? "" : ": " + synPacket.getOptionalFrom().calculateHash().toBase64()));
|
||||
(synPacket.getOptionalFrom() == null ? "" : ": " + synPacket.getOptionalFrom().toBase32()));
|
||||
reject = true;
|
||||
} else {
|
||||
assignReceiveStreamId(con);
|
||||
|
Reference in New Issue
Block a user