Browse Source

Removed GFW specific message

pull/8/merge
Kkevsterrr 3 years ago
parent
commit
e35038f131
  1. 3
      engine.py

3
engine.py

@ -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

Loading…
Cancel
Save