Add host network info display and custom subnet scan to Receivers tab #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Receivers tab in the admin panel should display the host's network interfaces and allow scanning custom subnets for ADS-B receivers.
Changes
Server (
server.py)GET /api/admin/network-infoendpoint returning non-loopback IPv4 interfaces (name, IP, netmask, CIDR network)POST /api/admin/scan-receiversnow accepts optional{"subnet": "10.0.0.0/24"}body for custom subnet scansipaddress.IPv4Network, capped at /20 (4096 hosts)_scan_subnet()helper extracted fromscan_for_receivers()Admin UI
Files Changed
server.pyadmin/admin.htmladmin/admin.jsadmin/admin.cssCommit
0b16218— Add host network info display and custom subnet scan to Receivers tab