@@ -70,7 +70,6 @@ local mtd_types = {
70
70
[0 ] = " Padding" ,
71
71
[1 ] = " Server Name" ,
72
72
[2 ] = " JA4C" ,
73
- [3 ] = " TLS Heuristic Fingerprint" ,
74
73
}
75
74
ndpi_fds .metadata_type = ProtoField .new (" nDPI Metadata Type" , " ndpi.metadata.type" , ftypes .UINT16 , mtd_types )
76
75
ndpi_fds .metadata_length = ProtoField .new (" nDPI Metadata Length" , " ndpi.metadata.length" , ftypes .UINT16 )
@@ -79,16 +78,6 @@ ndpi_fds.metadata_value = ProtoField.new("nDPI Metadata Value", "ndpi.meta
79
78
-- Specific fields
80
79
ndpi_fds .metadata_server_name = ProtoField .new (" nDPI Server Name" , " ndpi.metadata.server_name" , ftypes .STRING )
81
80
ndpi_fds .metadata_ja4c = ProtoField .new (" nDPI JA4C" , " ndpi.metadata.ja4c" , ftypes .STRING )
82
- ndpi_fds .metadata = ProtoField .new (" nDPI Metadata" , " ndpi.metadata" , ftypes .NONE )
83
- ndpi_fds .metadata_tls_heuristic_fingerprint = ProtoField .new (" nDPI TLS Heuristic Fingerprint" , " ndpi.metadata.tls_heuristic_fingerprint" , ftypes .NONE )
84
- ndpi_fds .metadata_tls_heuristic_fingerprint_bytes0 = ProtoField .new (" Bytes[0]" , " ndpi.metadata.tls_heuristic_fingerprint.bytes0" , ftypes .UINT32 )
85
- ndpi_fds .metadata_tls_heuristic_fingerprint_bytes1 = ProtoField .new (" Bytes[1]" , " ndpi.metadata.tls_heuristic_fingerprint.bytes1" , ftypes .UINT32 )
86
- ndpi_fds .metadata_tls_heuristic_fingerprint_bytes2 = ProtoField .new (" Bytes[2]" , " ndpi.metadata.tls_heuristic_fingerprint.bytes2" , ftypes .UINT32 )
87
- ndpi_fds .metadata_tls_heuristic_fingerprint_bytes3 = ProtoField .new (" Bytes[3]" , " ndpi.metadata.tls_heuristic_fingerprint.bytes3" , ftypes .UINT32 )
88
- ndpi_fds .metadata_tls_heuristic_fingerprint_pkts0 = ProtoField .new (" Pkts[0]" , " ndpi.metadata.tls_heuristic_fingerprint.pkts0" , ftypes .UINT32 )
89
- ndpi_fds .metadata_tls_heuristic_fingerprint_pkts1 = ProtoField .new (" Pkts[1]" , " ndpi.metadata.tls_heuristic_fingerprint.pkts1" , ftypes .UINT32 )
90
- ndpi_fds .metadata_tls_heuristic_fingerprint_pkts2 = ProtoField .new (" Pkts[2]" , " ndpi.metadata.tls_heuristic_fingerprint.pkts2" , ftypes .UINT32 )
91
- ndpi_fds .metadata_tls_heuristic_fingerprint_pkts3 = ProtoField .new (" Pkts[3]" , " ndpi.metadata.tls_heuristic_fingerprint.pkts3" , ftypes .UINT32 )
92
81
93
82
94
83
local flow_risks = {}
@@ -1976,17 +1965,6 @@ function ndpi_proto.dissector(tvb, pinfo, tree)
1976
1965
elseif mtd_type == 2 then
1977
1966
metadata_tree :append_text (" JA4C: " .. trailer_tvb (offset + 4 , mtd_length ):string ())
1978
1967
metadata_tree :add (ndpi_fds .metadata_ja4c , trailer_tvb (offset + 4 , mtd_length ))
1979
- elseif mtd_type == 3 then
1980
- metadata_tree :append_text (" TLS Heuristic Fingerprint" )
1981
- tls_tree = metadata_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint , trailer_tvb (offset + 4 , mtd_length ))
1982
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_bytes0 , trailer_tvb (offset + 4 , 4 ))
1983
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_bytes1 , trailer_tvb (offset + 8 , 4 ))
1984
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_bytes2 , trailer_tvb (offset + 12 , 4 ))
1985
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_bytes3 , trailer_tvb (offset + 16 , 4 ))
1986
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_pkts0 , trailer_tvb (offset + 20 , 4 ))
1987
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_pkts1 , trailer_tvb (offset + 24 , 4 ))
1988
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_pkts2 , trailer_tvb (offset + 28 , 4 ))
1989
- tls_tree :add (ndpi_fds .metadata_tls_heuristic_fingerprint_pkts3 , trailer_tvb (offset + 32 , 4 ))
1990
1968
else
1991
1969
-- Generic field
1992
1970
metadata_tree :add (ndpi_fds .metadata_value , trailer_tvb (offset + 4 , mtd_length ))
0 commit comments