Removed GFW specific message

This commit is contained in:
Kkevsterrr 2019-12-12 20:20:50 -05:00
parent 3427d5fc2a
commit e35038f131
1 changed files with 1 additions and 2 deletions

View File

@ -278,9 +278,8 @@ class Engine():
# Run the given strategy
packets = self.strategy.act_on_packet(packet, self.logger, direction="in")
# GFW will send RA packets to disrupt a TCP stream
# Censors will often send RA packets to disrupt a TCP stream - record this
if packet.haslayer("TCP") and packet.get("TCP", "flags") == "RA":
self.logger.debug("Detected GFW censorship - strategy failed.")
self.censorship_detected = True
# Branching is disabled for the in direction, so we can only ever get