Commit Graph

6 Commits

Author SHA1 Message Date
dcstephenson ece8193967 Disable paramiko keyboard-interactive auth fallback
Patches Transport.auth_password at module load to default fallback=False,
ensuring each switch produces exactly one RADIUS/AD auth attempt instead
of two. Also moves the paramiko.transport import to module level.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 20:46:00 +00:00
dcstephenson b19494bc2d Add TCP pre-flight check before SSH to prevent RADIUS lockout
Unreachable hosts are detected via a 3s socket connect on SSH_PORT
before any credentials are sent. Truly offline switches now fail
fast without touching RADIUS/AD at all.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 20:44:06 +00:00
dcstephenson c8de2620c8 Add scan concurrency and login delay sliders
Serialised logins now sleep `login_delay` seconds between each SSH
auth to prevent AD/LDAP lockout. Both max sessions (1-10) and login
delay (0-15s) are configurable via UI sliders in the header and
passed as JSON to all scan endpoints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 20:22:01 +00:00
dcstephenson d3a761baf5 Limit scan concurrency: serialise logins, cap at 5 sessions
Only one SSH handshake/auth runs at a time via a module-level semaphore
to avoid RADIUS lockout. Up to 5 sessions can remain open concurrently
(down from 10) while commands run in parallel after login.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 20:04:27 +00:00
dcstephenson d32ca80a22 Update core scanner, parser, SSH client, and UI 2026-05-05 20:07:24 +00:00
dstephenson 40d4679a59 Initial commit — LLDP network mapper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 20:56:13 +00:00