Establish a TCP session without the need to manipulate the firewall #24
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
priority/medium
question
Further information is requested
To do better what we did here #22, one solution is to use Socket itself directly. As a result, we do not need to configure the firewall to prevent instant RST packets from being sent by our kernel. Although this problem does not appear to exist in the new Linux kernels (version 5), it may still be worth considering.
An incomplete and slightly wrong code is:
But the main unsolvable problem I saw is that we in Python could not change TCP_RTO_MIN to prevent consecutive retransmissions (every 200 milliseconds). This can increase false positives as well as unpredictable behavior.
some good resources:
The text was updated successfully, but these errors were encountered: