Commit Graph

10 Commits

Author SHA1 Message Date
dcstephenson 9610fc66d3 Use dedicated RADIUS credentials for Web Access Control SSH login
Switches authenticate SSH via RADIUS (aaa authentication login ssh
radius local), which is separate from the local admin account used
for the HTTPS GUI and baked into generated configs. Web Access
Control (HTTPS enable/disable and Disable Telnet) was reusing that
local admin credential (or per-switch NocoDB creds) for its SSH
connection, which is the wrong credential pair.

Adds a dedicated SSH Credentials (RADIUS) section in Settings and a
getSshCredentials() helper that Web Access Control uses exclusively,
plus an upfront error toast if those fields are left blank.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLfUJoQTaUePx1m1d2v2j9
2026-08-18 11:39:13 -05:00
dcstephenson ac13c913e3 Add live Disable Telnet action to Web Access Control
Adds a standalone DISABLE TELNET button (no enable counterpart, per
requirement) alongside the existing HTTPS enable/disable toggle. Reuses
the same target/concurrency controls and SSH push flow, backed by a new
"disable_telnet" action mapped to "no ip telnet" on the switch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLfUJoQTaUePx1m1d2v2j9
2026-08-18 11:28:23 -05:00
dcstephenson 7233386d36 Disable telnet in generated configs; mount templates volume
- Add "no ip telnet" to generated switch configs for security
- Bind-mount templates/ into the container (read-only) so template
  edits take effect without a rebuild, matching config.py/configs/

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLfUJoQTaUePx1m1d2v2j9
2026-08-18 11:24:48 -05:00
dcstephenson 0e9effe198 Consolidate SNMP checkmk/jdisc users into single switchmon user
Replaces the separate checkmk and jdisc SNMPv3 users with one
switchmon user, updating both the settings UI and config template
generation. The operatorauth SNMP group is unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-10 08:18:05 -05:00
dcstephenson 4625e60a6b Integrate with shared nocodb-network and add NocoDB env vars 2026-06-23 11:41:49 -05:00
dcstephenson 220b5e2354 Change AMI VLAN name default from AMI_SCADA to AMI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 08:29:10 -05:00
dcstephenson e06187337e Add AMI department — badge, VLAN settings, and config template support
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 08:07:04 -05:00
dcstephenson 766d6e357c Fix RADIUS key default — replace double-encoded value with correct plaintext
The previous default (NZXMkUA62QZHfG3FTYNCz4Y) was already base64-encoded,
causing the config generator to double-encode it via b64(). Updated to the
correct plaintext key (4VXMKUA62QZHFG3FTYNCZ4Y) so b64() produces the right
key-encrypted value in the switch config output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 14:44:45 +00:00
dcstephenson 93a558e8f0 Add README.md 2026-05-05 20:11:51 +00:00
dcstephenson 000ba27387 Initial commit 2026-05-05 19:57:47 +00:00