diff options
| author | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-05-22 13:50:27 +0700 |
|---|---|---|
| committer | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-05-22 17:54:18 +0700 |
| commit | ce401c3f099a92c49ee8a0344ac80e113e19883e (patch) | |
| tree | 9b054919698b6a479465dd1df4df2e670a4a0c4c /data | |
| parent | 88b93c96faa5b1016546cbc15d1327b4692a87cc (diff) | |
| download | vyos-1x-ce401c3f099a92c49ee8a0344ac80e113e19883e.tar.gz vyos-1x-ce401c3f099a92c49ee8a0344ac80e113e19883e.zip | |
T8910: ipoe-server: expose accel-ppp idle-timeout option
Add a CLI knob to terminate idle IPoE sessions after a configurable
timeout:
set service ipoe-server idle-timeout <0-86400>
Today there is no way to age out stale IPoE sessions: clients that go
silent (powered off, link down) leave a session record on the router
indefinitely. accel-ppp natively supports idle-timeout in its [ipoe]
section but VyOS did not expose it.
The option is added as a shared accel-ppp include so it can be reused
by other accel-ppp services in follow-up PRs.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/accel-ppp/ipoe.config.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/ipoe.config.j2 b/data/templates/accel-ppp/ipoe.config.j2 index 34dfa529a..b0f83a0d6 100644 --- a/data/templates/accel-ppp/ipoe.config.j2 +++ b/data/templates/accel-ppp/ipoe.config.j2 @@ -38,6 +38,9 @@ level={{ log.level }} [ipoe] verbose=1 +{% if idle_timeout is vyos_defined %} +idle-timeout={{ idle_timeout }} +{% endif %} {% if lua_file is vyos_defined %} lua-file={{ lua_file }} {% endif %} |
