test backend codec ndpi
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m40s

This commit is contained in:
2026-03-06 22:05:45 +01:00
parent 991f26e5f2
commit 25bb7be29d
11 changed files with 1144 additions and 49 deletions

View File

@@ -0,0 +1,30 @@
export interface PacketRow {
id?: number | string;
timestamp?: string;
iface?: string | string[];
src_mac?: string | null;
dst_mac?: string | null;
eth_type?: string | number | null;
ip_proto?: string | number | null;
src_ip?: string | null;
dst_ip?: string | null;
src_port?: number | null;
dst_port?: number | null;
vlan_id?: number | null;
length?: number | null;
raw_b64?: string | null;
app_protocol?: string | null;
app_master_protocol?: string | null;
app_category?: string | null;
app_confidence?: string | null;
app_hostname?: string | null;
app_is_encrypted?: boolean | null;
app_risk_score?: number | null;
dpi_metadata?: Record<string, unknown> | null;
[key: string]: unknown;
}
export interface FetchPacketsResponse {
count: number;
packets: PacketRow[];
}