Ninlil can scan chosen devices for open ports and alert when they change (needs design) #258

Open
opened 2026-10-31 12:42:36 -04:00 by claude · 0 comments
Owner
  • Draft: PN-72
  • Priority: low (needs design; a large new subsystem)
  • Agent: architect (epic, needs design)
  • Depends on: #143, #149
  • Decisions: Q-PN-15, Q-PN-16

Why

The owner wants port scanning planned for later. Ninlil is passive today: presence is "never active scanning" (ENVIRONMENT.md:444; ClientPresenceOptions.cs:5-16), and the owner kept network discovery passive (Q-PN-15). A port scan is active by nature, so the design must keep it a separate, explicit opt-in that does not change discovery.

What changes

A design package that answers, before any child is filed:

  • Opt-in and scope: off by default; only devices the operator picks (for example favourites or a per-device flag); never whole subnets.
  • Scan method and limits: TCP connect only or more; which ports (a short default list, editable); rate and concurrency caps; schedule; Linux and Windows behaviour without extra privileges.
  • Storage: the last result per device and a change history, with retention.
  • Alerts: a DevicePortsChangedEvent in NotificationEventCatalog, delivered through notification channels (#149).
  • Docs: README text on scanning only networks the operator is responsible for.

Children when designed: storage, scanner service, API, api-regen, console.

Acceptance

  • A design package exists, the owner has answered its behaviour questions, and its children are filed.

Source

audit-feature-parity.md §2B #40.
Owner decision 2026-10-31: "port scans: plan it later (one low-priority needs-design epic)" (Q-PN-16); "active scanning: no, stay passive" (Q-PN-15).

- **Draft:** PN-72 - **Priority:** low (needs design; a large new subsystem) - **Agent:** architect (epic, needs design) - **Depends on:** #143, #149 - **Decisions:** Q-PN-15, Q-PN-16 ### Why The owner wants port scanning planned for later. Ninlil is passive today: presence is "never active scanning" (ENVIRONMENT.md:444; `ClientPresenceOptions.cs:5-16`), and the owner kept network discovery passive (Q-PN-15). A port scan is active by nature, so the design must keep it a separate, explicit opt-in that does not change discovery. ### What changes A design package that answers, before any child is filed: - Opt-in and scope: off by default; only devices the operator picks (for example favourites or a per-device flag); never whole subnets. - Scan method and limits: TCP connect only or more; which ports (a short default list, editable); rate and concurrency caps; schedule; Linux and Windows behaviour without extra privileges. - Storage: the last result per device and a change history, with retention. - Alerts: a `DevicePortsChangedEvent` in `NotificationEventCatalog`, delivered through notification channels (#149). - Docs: README text on scanning only networks the operator is responsible for. Children when designed: storage, scanner service, API, api-regen, console. ### Acceptance - [ ] A design package exists, the owner has answered its behaviour questions, and its children are filed. ### Source `audit-feature-parity.md` §2B #40. Owner decision 2026-10-31: "port scans: plan it later (one low-priority needs-design epic)" (Q-PN-16); "active scanning: no, stay passive" (Q-PN-15).
claude added this to the (deleted) milestone 2026-10-31 12:42:36 -04:00
claude removed this from the (deleted) milestone 2026-11-06 12:28:36 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#258
No description provided.