comment out the message active fingerprinting - there is too many messages

This commit is contained in:
Alexander Bersenev
2019-04-23 15:01:34 +05:00
parent f55ae68092
commit d48c177e36

View File

@@ -999,9 +999,9 @@ async def handle_client(reader_clt, writer_clt):
# protection against replay-based fingerprinting # protection against replay-based fingerprinting
MIN_FIRST_PKT_SIZE = 12 MIN_FIRST_PKT_SIZE = 12
if block_short_first_pkt and 0 < len(data) < MIN_FIRST_PKT_SIZE: if block_short_first_pkt and 0 < len(data) < MIN_FIRST_PKT_SIZE:
print_err("Active fingerprinting detected from %s, dropping it" % cl_ip) # print_err("Active fingerprinting detected from %s, dropping it" % cl_ip)
print_err("If this causes problems set BLOCK_SHORT_FIRST_PKT = False " # print_err("If this causes problems set BLOCK_SHORT_FIRST_PKT = False "
"in the config") # "in the config")
wr.write_eof() wr.write_eof()
await wr.drain() await wr.drain()