manag veth directly with sniffer
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s
This commit is contained in:
@@ -53,6 +53,10 @@ class BackendSettings:
|
||||
sniffer_thread_join_timeout_seconds: float
|
||||
capture_interface: str
|
||||
capture_header_enabled: bool
|
||||
capture_automanage: bool
|
||||
capture_automanaged_mirror_if: str
|
||||
capture_automanaged_capture_if: str
|
||||
capture_build_dir: str
|
||||
telemetry_process_stop_timeout_seconds: float
|
||||
telemetry_reader_join_timeout_seconds: float
|
||||
ndpi_max_flows: int
|
||||
@@ -84,6 +88,10 @@ def load_settings() -> BackendSettings:
|
||||
sniffer_thread_join_timeout_seconds=_env_float("BACKEND_SNIFFER_THREAD_JOIN_TIMEOUT_SECONDS", 2.0),
|
||||
capture_interface=_env_str("BACKEND_CAPTURE_INTERFACE", ""),
|
||||
capture_header_enabled=_env_bool("BACKEND_CAPTURE_HEADER_ENABLED", True),
|
||||
capture_automanage=_env_bool("BACKEND_CAPTURE_AUTOMANAGE", True),
|
||||
capture_automanaged_mirror_if=_env_str("BACKEND_CAPTURE_MIRROR_INTERFACE", "mitmcap0"),
|
||||
capture_automanaged_capture_if=_env_str("BACKEND_CAPTURE_AUTOMANAGED_INTERFACE", "mitmcap1"),
|
||||
capture_build_dir=_env_str("BACKEND_CAPTURE_BUILD_DIR", "/tmp/mitm-bpf"),
|
||||
telemetry_process_stop_timeout_seconds=_env_float("BACKEND_TELEMETRY_PROCESS_STOP_TIMEOUT_SECONDS", 3.0),
|
||||
telemetry_reader_join_timeout_seconds=_env_float("BACKEND_TELEMETRY_READER_JOIN_TIMEOUT_SECONDS", 2.0),
|
||||
ndpi_max_flows=_env_int("BACKEND_NDPI_MAX_FLOWS", 200_000),
|
||||
|
||||
Reference in New Issue
Block a user