Implemented historical TCP flow stats formatting

Changed TCP flags color to make them easier to detect
This commit is contained in:
Luca Deri 2025-11-04 12:44:18 +01:00
parent e22bc9c344
commit 81907d8df8
8 changed files with 81 additions and 43 deletions

View file

@ -1166,9 +1166,8 @@ local flow_columns = {
['CLIENT_FINGERPRINT'] = { tag = "cli_fingerprint", dt_func = dt_format_generic, order = 11, db_type = "String", db_raw_type = "String" },
['TCP_FINGERPRINT'] = { tag = "tcp_fingerprint", dt_func = dt_format_generic, order = 11, db_type = "String", db_raw_type = "String" },
['TCP_STATS_SRC_TO_DST'] = { tag = "tcp_stats_src_to_dst", dt_func = dt_format_tcp_stats, order = 11, db_type = "String", db_raw_type = "String" },
['TCP_STATS_SRC_TO_DST'] = { tag = "tcp_stats_src_to_dst", dt_func = dt_format_tcp_stats, order = 11, db_type = "String", db_raw_type = "String" },
-- ['TCP_STATS_SRC_TO_DST'] = { tag = "tcp_stats_src_to_dst", dt_func = dt_format_tcp_stats, order = 11, db_type = "String", db_raw_type = "String" },
-- ['TCP_STATS_SRC_TO_DST'] = { tag = "tcp_stats_src_to_dst", dt_func = dt_format_tcp_stats, order = 11, db_type = "String", db_raw_type = "String" },
['SRC_ASN'] = { tag = "cli_asn", simple_dt_func = simple_format_src_asn, db_type = "Number", db_raw_type = "Uint32" },
['DST_ASN'] = { tag = "srv_asn", simple_dt_func = simple_format_dst_asn, db_type = "Number", db_raw_type = "Uint32" },