Page MenuHomeVyOS Platform

VPN Openconnect does not check the dictionary key server with the authentication mode RADIUS
Closed, ResolvedPublicBUG

Description

VPN Openconnect does not check dictionary key server with authentication mode RADIUS
To reproduce:

set vpn openconnect authentication mode radius
set vpn openconnect network-settings client-ip-settings subnet 100.64.55.0/24
commit

commit:

vyos@r14# commit
[ vpn openconnect ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 144, in run_script
    script.verify(c)
  File "/usr/libexec/vyos//conf_mode/vpn_openconnect.py", line 96, in verify
    if not ocserv["authentication"]['radius']['server']:
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'server'

[[vpn openconnect]] failed
Commit failed
[edit]
vyos@r14# 

vyos@r14# run show ver
Version:          VyOS 2025.03.23-0020-rolling
Release train:    current
Release flavor:   generic

Built by:         autobuild@vyos.net
Built on:         Sun 23 Mar 2025 00:20 UTC
Build UUID:       75ea1ea5-7266-4cbd-b615-8ed7197c1c7e
Build commit ID:  feb144cdd771c4

Details

Version
VyOS 2025.03.23-0020-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

natali-rs1985 changed the task status from Open to In progress.May 19 2025, 9:30 AM
natali-rs1985 claimed this task.
natali-rs1985 moved this task from Need Triage to Completed on the VyOS Rolling board.
natali-rs1985 moved this task from Open to Finished on the VyOS 1.5 Circinus board.
natali-rs1985 moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.3) board.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
syncer renamed this task from VPN Openconnect does not check dictionary key server with authentication mode RADIUS to VPN Openconnect does not check the dictionary key server with the authentication mode RADIUS.Jul 17 2025, 12:36 PM