Page MenuHomeVyOS Platform

accel-ppp: a RADIUS send error ends the request without retry and terminates the session
Open, HighPublicBUG

Description

With one RADIUS server, a transient error when sending to the RADIUS server (e.g. EPERM from an output filter, ENETUNREACH/EHOSTUNREACH during a routing flap, ENOBUFS, or a pending ECONNREFUSED reported on the next send; only EPERM was measured) now fails the request at once instead of retrying. For an interim accounting update this terminates the PPPoE/IPoE session. 1.5.1 retried and kept the session.

Rolling, write blocked for ~2.5 s during an interim update:

ppp0:alice: radius:write: Operation not permitted
ppp0:alice: radius: no available servers
ppp0:alice: radius:acct: no servers available, terminating session...
sessions=0

1.5.1 with the same trigger: sessions=1, no termination.

Cause
accel-ppp-ng commit dbefbdf "T9351: radius: support Message-Authenticator in Access-Request packets" (PR https://github.com/accel-ppp/accel-ppp-ng/pull/39, merged 2026-10-07, Blast-RADIUS mitigation). The send path now treats a socket write error as a final failure of the server for that request, for every request type, with or without the new Message-Authenticator options.

Suggested fix
Restore the retry on a socket write error (as before T9351), or count it as one failed attempt subject to timeout/max-try instead of an immediate "no available servers".

Details

Version
rolling, 1.5
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)