suppress ipv6 noise between veth interfaces
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:
@@ -491,6 +491,15 @@ def _sync_bridge_telemetry() -> None:
|
||||
logger.exception("Failed to update bridge telemetry collector")
|
||||
|
||||
|
||||
def _managed_capture_ifaces() -> set[str]:
|
||||
return {
|
||||
iface
|
||||
for session in sessions.values()
|
||||
if session.get("is_bridge")
|
||||
for iface in session.get("capture_ifaces", [])
|
||||
}
|
||||
|
||||
|
||||
# -------------------------
|
||||
# Per-session reader loop
|
||||
# -------------------------
|
||||
@@ -570,6 +579,9 @@ def _session_reader_loop(session_id: str) -> None:
|
||||
packet_bytes = raw
|
||||
if settings.capture_header_enabled:
|
||||
capture_meta, packet_bytes = parse_capture_header(raw)
|
||||
if capture_meta is None and iface in _managed_capture_ifaces():
|
||||
logger.debug("Skipping unshimmed packet on managed capture interface %s", iface)
|
||||
continue
|
||||
pkt = Ether(packet_bytes)
|
||||
pkt.sniffed_on = iface
|
||||
parse_packet(pkt, label, capture_metadata=capture_meta)
|
||||
|
||||
Reference in New Issue
Block a user