benchmark mode added test
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s
Build and Deploy MITM Webserver / build (push) Successful in 12s

This commit is contained in:
2026-05-03 20:54:37 +02:00
parent c40ddf4ded
commit 10f0e518c7
6 changed files with 131 additions and 11 deletions

View File

@@ -6,6 +6,7 @@ export interface SnifferStartRequest {
bridge?: string;
interface?: string;
bridge_capture_mode?: 'tc_ebpf' | 'af_packet';
benchmark_mode?: boolean;
}
/**
@@ -17,6 +18,7 @@ export interface SnifferStartResponse {
target: string;
target_type: 'bridge' | 'interface';
capture_mode: 'tc_ebpf' | 'af_packet';
benchmark_mode?: boolean;
}
/**
@@ -47,6 +49,7 @@ export interface InterfaceSnifferStatus {
session_id?: string | null;
session_label?: string | null;
capture_mode?: 'tc_ebpf' | 'af_packet' | null;
benchmark_mode?: boolean | null;
}
/**