aboutsummaryrefslogtreecommitdiff
path: root/python/tests.py
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-04-12 14:39:10 +0200
committerGitHub <noreply@github.com>2023-04-12 14:39:10 +0200
commit032e778a6dc1ee2173c4cdb2c671180c5b5df245 (patch)
treedeeb6df554a9ec98f4ada5921ac9f73b1aee1343 /python/tests.py
parent6660feed3509db0eaa91d03dd5a1b0da1195abbd (diff)
Simplify `ndpi_internal_guess_undetected_protocol()` (#1941)
`ndpi_guess_undetected_protocol()/ndpi_internal_guess_undetected_protocol()` is a strange function: * it is exported by the library and it is actively used by `ntopng` * it is intrinsecally ipv4-only * it returns basically something like "classification_by_ip"/"classification_by_port" (these information have already been calculated in `ndpi_do_guess()`...) * it access the bittorrent LRU caches (similarly to `ndpi_detection_giveup()` but without all the other caches...) So: * make the interface IPv4/6 agnostic * use the classifications already available This work will allow to make the Bittorrent caches IPV6-aware (see 81e1ea5). Handle Dropbox classification "by-port" in the "standard" way.
Diffstat (limited to 'python/tests.py')
0 files changed, 0 insertions, 0 deletions