From 644ad34962365fa794b8f58e01a7290496f3d6ef Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 21 Sep 2022 18:24:04 +0200 Subject: Improved NATPMP dissection. (#1745) Signed-off-by: Toni Uhlig Signed-off-by: Toni Uhlig --- example/reader_util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'example/reader_util.h') diff --git a/example/reader_util.h b/example/reader_util.h index 26510f700..703e33094 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -167,6 +167,7 @@ enum info_type { INFO_FTP_IMAP_POP_SMTP, INFO_TLS_QUIC_ALPN_VERSION, INFO_TLS_QUIC_ALPN_ONLY, + INFO_NATPMP, }; // flow tracking @@ -241,6 +242,12 @@ typedef struct ndpi_flow_info { char platform[32]; char services[48]; } tivoconnect; + struct { + uint16_t result_code; + uint16_t internal_port; + uint16_t external_port; + char ip[16]; + } natpmp; }; ndpi_serializer ndpi_flow_serializer; -- cgit v1.2.3