Skip to content

Merge cristian and jackson fixes#74

Closed
cmromo wants to merge 29 commits intodevelopfrom
merge-cristian-and-jackson-fixes
Closed

Merge cristian and jackson fixes#74
cmromo wants to merge 29 commits intodevelopfrom
merge-cristian-and-jackson-fixes

Conversation

@cmromo
Copy link
Contributor

@cmromo cmromo commented Jan 15, 2026

Fixes duplicate vendor ID issues on startup
Merges routers and router devices
Adds scavenge scan
Update config for scavenge

Jackson Giles and others added 29 commits November 25, 2025 16:18
Instead of assuming /24 for all discovered devices, now parses the CIDR
prefix from the scanner's configured address (e.g., "192.168.1.12/22:47808")
and uses that prefix length for devices on the local network. Falls back
to /24 only when no local subnet info is available.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Enhances local subnet detection by querying the operating system's
network interfaces (via ifconfig/ip addr) to find the actual netmask
for the scanner's IP address. This ensures accurate subnet detection
even when the configured address uses a different CIDR notation.

- Adds _get_system_interfaces() to parse ifconfig (macOS) and ip addr (Linux)
- Adds _detect_local_subnet() to match scanner IP to system interfaces
- Removes conflicting subnets from config when detected subnet differs
- Falls back to address config CIDR if interface detection fails

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cmromo cmromo requested a review from acedrew January 15, 2026 19:13
@cmromo cmromo closed this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants