Ivan Nardi
06f4814085
STUN: try to stop extra dissection earlier, if possible ( #2390 )
2024-04-13 14:45:17 +02:00
Ivan Nardi
0535e54484
STUN: fix boundary checks on attribute list parsing ( #2387 )
...
Restore all unit tests.
Add some configuration knobs.
Fix the endianess.
2024-04-12 22:55:51 +02:00
Luca Deri
b83eb7c7a2
Implemented STUN peer_address, relayed_address, response_origin, other_address parsing
...
Added code to ignore invalid STUN realm
Extended JSON output with STUN information
2024-04-12 19:50:04 +02:00
Ivan Nardi
1b3ef7d7b2
STUN: improve extraction of Mapped-Address metadata ( #2370 )
...
Enable parsing of Mapped-Address attribute for all STUN flows: that
means that STUN classification might require more packets.
Add a configuration knob to enable/disable this feature.
Note that we can have (any) STUN metadata also for flows *not*
classified as STUN (because of DTLS).
Add support for ipv6.
Restore the correct extra dissection logic for Telegram flows.
2024-04-08 10:24:51 +02:00
Ivan Nardi
c0d3f8a92e
STUN: rework sub-classification ( #2361 )
...
The main goal is to have the "real" application (if any; i.e.
Signal/Whatsapp/Telegram/...) always as "application" protocol and not
as "master" one
2024-04-04 18:16:40 +02:00
Ivan Nardi
97fae6e00a
STUN: fix parsing of DATA attribute ( #2345 )
2024-03-14 14:20:51 +01:00
Ivan Nardi
6152d595e8
STUN: add a parameter to configure how long the extra dissection lasts ( #2336 )
...
Tradeoff: performance (i.e. number of packets) vs sub-classification
2024-03-07 14:39:32 +01:00