Page MenuHomeVyOS Platform

Accel-PPP: disabled users can still authenticate
Closed, ResolvedPublicBUG

Description

config:

set service pppoe-server authentication mode local
set service pppoe-server authentication local-users username foo password bar
set service pppoe-server authentication local-users username foo disable
set service pppoe-server client-ip-pool default range 10.0.0.2-10.0.0.254
set service pppoe-server default-pool default
set service pppoe-server gateway-address 10.0.0.1
set service pppoe-server interface eth0

disabled user is still in allowed list, new sessions from the user get established

{F92514343}

There is a typo in the config key name: the template uses user_config.disabled instead of user_config.disable. Because disabled never exists, the filter user_config.disabled is not vyos_defined is always true and disabled users are not excluded from chap-secrets:

data/templates/accel-ppp/chap-secrets.config_dict.j2:
{% for user, user_config in authentication.local_users.username.items() if user_config.disabled is not vyos_defined %}

Details

Version
2026.03.14-0024-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.kudientsov changed the task status from Open to In progress.
a.kudientsov claimed this task.
Viacheslav triaged this task as Normal priority.Mar 16 2026, 2:13 PM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.