mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Make each Pushover alert triageable from a lock-screen preview: titles now carry the device's identity (hostname, vendor, or MAC suffix) and a concise verb, and bodies are sectioned (Device / Status / Activity or Changes) with the registration line and device type so a user can decide whether to act without opening the app. Adds a security hint on new-unregistered devices and on vendor-change-on-same-MAC (a MAC-spoofing tell); IP-only changes stay quiet since DHCP rotation is normal. Rendering moves into pure helpers covered by unit tests. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
OOTT ToDo list
- Add linting to CLAUDE.md for both Rust and Dart
Backend
- Add the scanner that triggered the event to the device_events table
- Improve notifications layout/text
- Implement the pushover API call directly to support HTML content and review notification text to use it
- Add uPNP scanner
- Add DHCP scanner
Frontend
- In the notifications list, modify the behavior so that you can fully see the text of the notification before navigating to the device details
- Can we add front-end tests?
- In the devices list, add a color dot to reflect the last seen status (less than 10 minutes green, otherwise grey)
- Change the URI for the homepage from /notifications to /home
- In the devices list, the order by name is not consistent (iPad... before Lutron when ordering by name descending, maybe it should be case insensitive)
- In the devices list, when the width is "medium", the list looks bad. Maybe make status pills not wrap to new lines
- The ARP scanner status change the yellow to gray (yellow conveys problems, the scanner is just waiting)
Improve engine
Several complementary approaches work well alongside ARP:
Passive (low noise, no probing):
- SSDP/UPnP — similar but for smart devices/IoT; multicast on 239.255.255.250:1900
- DHCP snooping — monitor DHCP DISCOVER/REQUEST packets; new devices must ask for an IP before doing anything else, so this catches them very early
- Passive packet capture — observe any broadcast/multicast traffic; a device that never responds to ARP still generates traffic
Active (you probe the network):
- ICMP ping sweep — ping every host in the subnet range; more universal than ARP but generates traffic
- TCP/UDP SYN scan — probe common ports (22, 80, 443, etc.); finds devices that silently drop ICMP
- NDP (Neighbor Discovery Protocol) — IPv6 equivalent of ARP; important if the network uses IPv6
Via infrastructure:
- SNMP query to router/switch — pull the router's ARP table or switch MAC table directly; no need to scan at all