Page MenuHomeVyOS Platform

IPoE server incorrect interface regex
Closed, ResolvedPublicBUG

Description

Incorrect regex for IPoE interface template
The correct regex that works for PPPoE interface

Tested configuration

set service ipoe-server authentication mode 'noauth'
set service ipoe-server interface eth1 client-subnet '100.64.24.0/24'
set service ipoe-server interface eth1 network 'vlan'
set service ipoe-server interface eth1 vlan '2000-3000'

Get:

[ipoe]
verbose=1
interface=re:eth1\.\d+,shared=0,mode=L2,ifcfg=1,range=100.64.24.0/24,start=dhcpv4,ipv6=1

Expect:

interface=re:^eth1\.(200\d|20[1-9]\d|2[1-9]\d{2}|3000)$,,shared=0,mode=L2,ifcfg=1,range=100.64.24.0/24,start=dhcpv4,ipv6=1

Details

Version
VyOS 1.4-rolling-202303060908
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to In progress.Mar 7 2023, 7:30 AM
Viacheslav claimed this task.
Viacheslav changed the task status from In progress to Needs testing.Mar 7 2023, 10:12 AM
Viacheslav moved this task from Open to Finished on the VyOS 1.4 Sagitta board.