diff options
author | Toni <matzeton@googlemail.com> | 2022-09-21 18:24:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 18:24:04 +0200 |
commit | 644ad34962365fa794b8f58e01a7290496f3d6ef (patch) | |
tree | 6585447ab509e90ce4733066c8182f8e930ebc36 /example/reader_util.h | |
parent | d6701e8979292834cd50abc78e8beafea7c7be8c (diff) |
Improved NATPMP dissection. (#1745)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |