shankar0123
fd6f236a5c
fix(security): TICKET-013 filter reserved IP ranges in network scanner
- Added isReservedIP() function to detect loopback, link-local, multicast, broadcast ranges
- Blocks 127.0.0.0/8 (loopback), 169.254.0.0/16 (link-local/cloud metadata), 224.0.0.0/4 (multicast), 255.255.255.255
- Preserves RFC1918 private ranges (10.x, 172.16.x, 192.168.x) for self-hosted scenarios
- Updated expandCIDR() to filter reserved IPs during CIDR expansion
- Updated expandEndpoints() to log warnings when reserved ranges are filtered
- Added 16 comprehensive tests covering loopback, link-local, multicast filtering
- Tests verify private ranges and public IPs are not blocked
- Tests verify single IP filtering and bulk CIDR expansion filtering
2026-03-27 21:36:10 -04:00
..
2026-03-21 23:43:32 -04:00
2026-03-27 21:35:22 -04:00
2026-03-20 02:19:28 -04:00
2026-03-27 21:35:22 -04:00
2026-03-15 00:25:01 -04:00
2026-03-14 21:38:11 -04:00
2026-03-17 19:32:29 -04:00
2026-03-23 18:56:02 -04:00
2026-03-20 20:39:49 -04:00
2026-03-20 20:39:49 -04:00
2026-03-20 01:20:03 -04:00
2026-03-24 00:25:00 -04:00
2026-03-24 00:25:00 -04:00
2026-03-25 15:31:06 -04:00
2026-03-25 15:31:06 -04:00
2026-03-25 15:48:49 -04:00
2026-03-25 15:31:06 -04:00
2026-03-21 23:43:32 -04:00
2026-03-20 01:20:03 -04:00
2026-03-20 20:39:49 -04:00
2026-03-20 21:02:35 -04:00
2026-03-27 21:36:10 -04:00
2026-03-27 21:36:10 -04:00
2026-03-15 00:25:01 -04:00
2026-03-22 10:59:18 -04:00
2026-03-21 23:43:32 -04:00
2026-03-20 01:20:03 -04:00
2026-03-17 19:32:29 -04:00
2026-03-20 01:20:03 -04:00
2026-03-20 20:39:49 -04:00
2026-03-20 20:39:49 -04:00
2026-03-20 20:39:49 -04:00
2026-03-25 15:31:06 -04:00
2026-03-22 16:02:36 -04:00
2026-03-25 20:55:48 -04:00
2026-03-24 12:17:24 -04:00
2026-03-20 01:20:03 -04:00
2026-03-22 10:59:18 -04:00
2026-03-20 01:20:03 -04:00
2026-03-25 15:31:06 -04:00
2026-03-27 21:21:24 -04:00
2026-03-27 21:11:16 -04:00