Page MenuHomePhabricator

VyOS - pppoe-server
Backport candidate, NormalPublicBUG

Description

The current version of accel_pppoe.py does not allow for radius server attribute responses in the default form - in order to get the server to accept replies from radius I had to move the following:

{% if authentication['mode'] == 'radius' %}
radius
{% endif %}

to line 47, below pppoe and above ippool

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2-rolling-201911190217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change

Event Timeline

leacho created this task.Sat, Nov 23, 11:51 AM
syncer assigned this task to Dmitry.Sat, Nov 23, 12:02 PM
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
Dmitry changed the task status from Open to Needs testing.Sat, Nov 23, 12:08 PM
Dmitry changed the task status from Needs testing to Backport candidate.Fri, Nov 29, 12:29 PM

tested successfully

Nov 29 15:14:54 R1 accel-pppoe: eth1:: recv [RADIUS(1) Access-Accept id=1 <Filter-Id "500/500"> <Framed-IP-Address 100.64.0.117>]

vyos@R1# run show pppoe-server sessions 
 ifname | username |      ip      | ip6 | ip6-dp |    calling-sid    | rate-limit | state  |  uptime  | rx-bytes | tx-bytes 
--------+----------+--------------+-----+--------+-------------------+------------+--------+----------+----------+----------
 ppp1   | vyos     | 100.64.0.117 |     |        | 00:0c:29:0e:6e:b1 | 500/500    | active | 00:01:41 | 94 B     | 76 B