Skip to content

Persist host identity across runs and networks - #2200

Open
AlyaGomaa wants to merge 1 commit into
sebas/feat/bounded_history_retentionfrom
sebas/feat/persistent_host_identity
Open

AlyaGomaa wants to merge 1 commit into
sebas/feat/bounded_history_retentionfrom
sebas/feat/persistent_host_identity

Conversation

@AlyaGomaa

@AlyaGomaa AlyaGomaa commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Sub-PR of #2141: part 3 of 12. The parent PR stays open and unchanged; this PR carries one feature of it so it can be reviewed on its own.

What this PR adds

  • HostProfileStore (host_profiles.py): permanent host profiles keyed by device identity and network; names, notes and network names survive restarts and network changes.
  • host_profile module profiles hosts in a worker, not in the flow path.
  • Device names come from real mDNS record owners (mdns-identity.zeek); cached metadata no longer counts as a device visit.
  • A routed public endpoint is not saved as the owner of a MAC; group and invalid addresses are rejected.
  • ip_info: bounded enrichment that stops cleanly on shutdown.
  • Apple service ports completed and malformed port mappings repaired.

Where it sits in the split

Tests

  • Unit suite on this branch (local, pytest tests/unit -n 3): 3689 passed, 2 skipped, 0 failed. Integration tests were not run locally.

Related issues

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#2141 sub-PR Part of the split of PR #2141

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants