test backend codec ndpi
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m40s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m40s
This commit is contained in:
30
frontend/src/types/packets.ts
Normal file
30
frontend/src/types/packets.ts
Normal 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[];
|
||||
}
|
||||
Reference in New Issue
Block a user