Snapshot of projects/netsentry-iot/design/SDD.md — 28 Nov 2026
NetSentry-IoT — Software Design Description (SDD, IEEE 1016)
Project instance ofprocess/templates/sdd-ieee1016.md— CMMI-DEV v2.0, Level 3 (Defined). Revision 1.0 — aligned withrequirements/REQ.md(MVP + Phase 2).
1. System overview and strategic alignment
NetSentry-IoT is an active network cybersecurity probe deployed on (or beside) the EdgeStream-GW device. It sits on the industrial LAN, inspects IoT traffic in real time, detects malicious behavior (spoofing, DoS) and isolates offenders locally in < 5 ms, with no Cloud signature dependency. It produces the incident evidence required by NIS2 and respects GDPR data minimization.
Target KPIs: detection + isolation < 5 ms; no Cloud signature dependency.
2. IEEE 1016 definitions
| Term | Definition |
|---|---|
| Probe | the NetSentry-IoT software component, attached to a LAN span/tap interface. |
| Frame / packet | a captured Ethernet/IP datagram (Ethernet frame, stripped to its payload for analysis). |
| Detection | the local decision that a traffic pattern is anomalous (spoofing or DoS). |
| Isolation | the local action that blocks or alarms the offending source. |
| Fast path | the latency-critical capture → decode → detect → act path (< 5 ms). |
Stakeholders: OT/security operators (incident response), compliance officers (NIS2/GDPR), and the EdgeStream-GW platform (co-residency, footprint).
3. Architectural viewpoints
- Deployment: a single Python process co-located with EdgeStream-GW; capture via a packet library (Scapy/raw AF_PACKET) on a dedicated interface (see decision D-1).
- Network boundaries: one ingress (mirror/tap port). No southbound dependency; the isolation action targets the local firewall. No egress required for detection (SEC-001).
- Component integration (CBSE): reuse proven bricks for capture and protocol parsing; build the proprietary detection/isolation logic in-house (TDD).
- HW/SW partitioning: pure software in the MVP; FPGA acceleration is out of scope (§4 REQ.md).
4. Modular pipeline
capture ─▶ decode ─▶ detect ─▶ decide ─▶ act (isolation)
│ │
└─────────────────────┴──▶ report (incident log, NIS2/GDPR)
Component (src/) | Responsibility | Traced reqs |
|---|---|---|
packet-engine/ | capture + BPF filter; isolation action dispatch | FUNC-001, FUNC-005, ROB-002 |
protocol-inspection/ | MQTT / HTTP (Zigbee in Phase 2) field decoders | FUNC-002, FUNC-003, FUNC-006 |
anomaly-detection/ | local baselines + thresholds for spoofing / DoS | FUNC-004, SEC-001, ROB-001 |
attack-simulator/ | deterministic traffic + attack generators | VV-001 |
| (reporting) | append-only incident log + minimization | COM-002, COM-003 |
5. Resilience and local loop
- Fast path: the
detect → actloop is fully local and non-blocking (no network/disk I/O), meeting the < 5 ms bound (PERF-001). - Graceful degradation: malformed traffic is quarantined, never fatal (ROB-002); encrypted payloads fall back to metadata-only analysis (SEC-004, documented).
- False-positive control: thresholds are versioned, tunable and calibrated against a clean baseline (ROB-001).
6. Decision log (DAR)
See design/decision-log.md (D-1 capture library, D-2 detection approach, D-3 thresholds/anti-FP, D-4 isolation mechanism, D-5 compliance report, D-6 MVP de-escalation).
7. Document control and traceability
- Traceability:
requirements/RTM.md(bidirectional, every Mandatory requirement → component → test). - Revision history: Rev 1.0 — initial MVP baseline (2026-11-28).
- Approvals: per CMMI L3, frozen baseline; changes are DAR decisions.
Source: raw markdown — published as-is from the source repository.