first working

This commit is contained in:
2025-08-03 20:20:55 -04:00
commit cde56494ec
52 changed files with 1893 additions and 0 deletions

13
pyshark_poc/models.py Normal file
View File

@@ -0,0 +1,13 @@
from dataclasses import dataclass
from typing import Optional
@dataclass(frozen=True)
class FlowKey:
"""Flow identifier for network traffic analysis."""
src_ip: str
src_port: int
dst_ip: str
dst_port: int
protocol: str
extended_type: Optional[str] = None # For extended frame types like IENA, Chapter 10, etc.