aboutsummaryrefslogtreecommitdiff
path: root/python/tests.py
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-04-25 19:25:07 +0200
committerGitHub <noreply@github.com>2023-04-25 19:25:07 +0200
commit8934f7b45f1fde715ecd0d4c5fa8b2301ce5e647 (patch)
treed2a54f93000a1b5d857c3313e6c72118a18c99fd /python/tests.py
parent40b6d5a2e193322e6e93b2eeb087c51d8eb6faad (diff)
Add an heuristic to detect/ignore some anomalous TCP ACK packets (#1948)
In some networks, there are some anomalous TCP flows where the smallest ACK packets have some kind of zero padding. It looks like the IP and TCP headers in those frames wrongly consider the 0x00 Ethernet padding bytes as part of the TCP payload. While this kind of packets is perfectly valid per-se, in some conditions they might be treated by the TCP reassembler logic as (partial) overlaps, deceiving the classification engine. Add an heuristic to detect these packets and to ignore them, allowing correct detection/classification. This heuristic is configurable. Default value: * in the library, it is disabled * in `ndpiReader` and in the fuzzers, it is enabled (to ease testing) Credit to @vel21ripn for the initial patch. Close #1946
Diffstat (limited to 'python/tests.py')
0 files changed, 0 insertions, 0 deletions