mirror of https://github.com/Kkevsterrr/geneva
Removed GFW specific message
This commit is contained in:
parent
3427d5fc2a
commit
e35038f131
|
@ -278,9 +278,8 @@ class Engine():
|
||||||
# Run the given strategy
|
# Run the given strategy
|
||||||
packets = self.strategy.act_on_packet(packet, self.logger, direction="in")
|
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":
|
if packet.haslayer("TCP") and packet.get("TCP", "flags") == "RA":
|
||||||
self.logger.debug("Detected GFW censorship - strategy failed.")
|
|
||||||
self.censorship_detected = True
|
self.censorship_detected = True
|
||||||
|
|
||||||
# Branching is disabled for the in direction, so we can only ever get
|
# Branching is disabled for the in direction, so we can only ever get
|
||||||
|
|
Loading…
Reference in New Issue