From d48c177e363dfbcff1f40da3a7513d76569189a9 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Tue, 23 Apr 2019 15:01:34 +0500 Subject: [PATCH] comment out the message active fingerprinting - there is too many messages --- mtprotoproxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 29db673..71e4bcd 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -999,9 +999,9 @@ async def handle_client(reader_clt, writer_clt): # protection against replay-based fingerprinting MIN_FIRST_PKT_SIZE = 12 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("If this causes problems set BLOCK_SHORT_FIRST_PKT = False " - "in the config") + # print_err("Active fingerprinting detected from %s, dropping it" % cl_ip) + # print_err("If this causes problems set BLOCK_SHORT_FIRST_PKT = False " + # "in the config") wr.write_eof() await wr.drain()