PTah
0086302605
fix: 503 при сбое GetScan вместо ложного 404 scan not found
...
- Store.GetScan возвращает (job, ok, error); Postgres отдаёт err при ошибке БД/JSON
- API: getScanOrWriteError → 503 scan storage temporarily unavailable
- Web UI: понятное сообщение для HTTP 503 при опросе скана
Made-with: Cursor
2026-04-13 15:38:04 +10:00
PTah
088be32ec5
feat: отмена скана на сервере, стабильнее scan_id, упрощённый UI
...
- Runner: context, POST /api/scans/{id}/cancel, частичный canceled; Start до ответа createScan
- API: scanPathID (PathUnescape), лог при 404; Postgres GetScan логирует ошибки чтения
- newScanID: суффикс 8 hex; тест обновлён
- Web UI: убраны строки scan_id/from-to; скрытое поле scanId; cancel при таймауте/новом скане
Made-with: Cursor
2026-04-13 15:26:23 +10:00
PTah
5b3eeaed45
feat: human-readable scan_id from UTC time + request CIDRs + short random suffix
...
Made-with: Cursor
2026-04-13 14:55:40 +10:00
PTah
42e3c0c925
feat(mac-locations): VLAN-aware port MAC counts, access/trunk thresholds, likely_attachment
...
Made-with: Cursor
2026-04-13 13:11:20 +10:00
PTah
9cdd966039
fix(db): strip NUL bytes from SNMP strings before PostgreSQL insert
...
Made-with: Cursor
2026-04-13 12:59:13 +10:00
PTah
d85ec9ff61
feat: MAC lookup in scan FDB (API mac-locations, UI table, index)
...
Made-with: Cursor
2026-04-13 12:41:48 +10:00
PTah
886300b6c0
feat: VLAN in FDB, persist vlan, enrich port-devices with hostname, UI columns
...
Made-with: Cursor
2026-04-13 12:38:05 +10:00
PTah
936cc6b9bb
fix(snmp,db): save FDB to PG (empty inet null), bridge_port + MAC normalize
...
Made-with: Cursor
2026-04-13 11:58:48 +10:00
Луценко Андрей Анатольевич
5b82901565
feat(snmp,ui): устройства за портом (MAC/IP) в таблице 2
...
Добавил сбор FDB/ARP по SNMP (BRIDGE-MIB + ipNetToMedia), хранение и API /port-devices.
В UI Таблица 2 теперь показывает MAC/IP за выбранным портом после клика по строке Таблицы 1.
Made-with: Cursor
2026-04-10 17:44:42 +10:00
Луценко Андрей Анатольевич
a782d36af9
feat(admin): очистка всех сканов — POST /api/admin/purge-scans + UI (NETTOPO_RESET_DB_SECRET)
...
Made-with: Cursor
2026-04-10 16:08:35 +10:00
Луценко Андрей Анатольевич
a7f80eac9a
feat(ui,snmp): IF-MIB интерфейсы в табл.1 связей, слияние с LLDP, сортировка по локальному порту
...
Made-with: Cursor
2026-04-10 16:04:16 +10:00
Луценко Андрей Анатольевич
a36edbc26b
fix(api): SNMP/hosts — одна строка на IP (DISTINCT ON), лимиты для больших сканов
...
Made-with: Cursor
2026-04-10 15:35:45 +10:00
Луценко Андрей Анатольевич
009aeb5dbf
feat(scan): диапазон IPv4-подсетей CIDR–CIDR в поле целей (нормализация в список)
...
Made-with: Cursor
2026-04-10 15:02:19 +10:00
Andrey Lutsenko
ec7abe384d
Add LLDP neighbor collection and endpoint.
...
Collect LLDP-MIB neighbor fields during SNMP scans, persist records, and expose LLDP results via REST.
Made-with: Cursor
2026-04-09 21:58:30 +10:00
Andrey Lutsenko
cca4477792
Add SNMP v2c probing and results endpoint.
...
Probe sysName/sysDescr/sysObjectID for alive hosts, persist SNMP outcomes, and expose scan SNMP data via REST.
Made-with: Cursor
2026-04-09 21:56:31 +10:00
Andrey Lutsenko
e9452dcc0a
Add TCP port scan persistence and API endpoint.
...
Probe configured ports for alive hosts, persist port states, and expose scan port results via REST.
Made-with: Cursor
2026-04-09 21:54:17 +10:00
Andrey Lutsenko
9afbbbb762
Persist per-host scan results and expose hosts endpoint.
...
Store checked hosts for each scan and add API to fetch host-level up/down probe results.
Made-with: Cursor
2026-04-09 21:51:35 +10:00
Andrey Lutsenko
43cb339605
Add scan queue execution and listing endpoint.
...
Run scans in background with progress/status updates and store scan metrics in memory or PostgreSQL.
Made-with: Cursor
2026-04-09 21:49:38 +10:00