remove ndpi
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m49s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m49s
This commit is contained in:
@@ -33,7 +33,6 @@ from src.utilities.interface_bridge_helpers import (
|
||||
)
|
||||
from src.config import settings
|
||||
from src.utilities.bridge_telemetry import bridge_telemetry_manager
|
||||
from src.utilities.ndpi_classifier import ndpi_classifier
|
||||
from src.utilities.nfstream_manager import nfstream_manager
|
||||
from src.utilities.packet_identity import build_packet_uid
|
||||
from src.utilities.packet_tracker import packet_tracker
|
||||
@@ -380,14 +379,6 @@ def parse_packet(pkt, bridge_label: str, capture_metadata: Optional[Dict[str, An
|
||||
except Exception:
|
||||
logger.exception("NFStream enrichment failed")
|
||||
|
||||
# Best-effort DPI enrichment using nDPI (optional dependency).
|
||||
try:
|
||||
dpi_info = ndpi_classifier.classify_packet(pkt)
|
||||
if dpi_info:
|
||||
_merge_enrichment(pkt_info, dpi_info)
|
||||
except Exception:
|
||||
logger.exception("nDPI enrichment failed")
|
||||
|
||||
if ICMP in pkt:
|
||||
inner = pkt[ICMP].payload
|
||||
if inner and IP in inner:
|
||||
|
||||
Reference in New Issue
Block a user