Files
camostream/tests/Dockerfile.analyzer
uk0 8852bb7976 add comprehensive testing system with E2E tests and DPI analysis
- E2E test suite: TCP/UDP data integrity, AES-GCM, decoy injection, metrics
- PCAP deep analysis: 7-dimension DPI resistance scoring (protocol, size, timing, entropy, RTP consistency, decoy coverage)
- Docker Compose multi-container test environment
- Traffic stealth analysis with tshark
- Verified: 12/12 E2E tests pass, DPI score 81.9/100 with AES-GCM
2026-04-08 15:30:20 +08:00

17 lines
351 B
Docker

# Lightweight Python image for pcap analysis
FROM python:3.12-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
libpcap-dev \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
scapy \
numpy \
matplotlib
COPY tests/scripts/ /opt/analysis/scripts/
WORKDIR /opt/analysis
ENTRYPOINT ["python3"]