Page MenuHomeVyOS Platform

PPPoE-server don't start with local authentication
Closed, ResolvedPublicBUG

Description

Configuration

set service pppoe-server access-concentrator 'ACN'
set service pppoe-server authentication local-users username foo password 'bar'
set service pppoe-server authentication local-users username foo rate-limit download '20480'
set service pppoe-server authentication local-users username foo rate-limit upload '10240'
set service pppoe-server authentication mode 'local'
set service pppoe-server client-ip-pool start '10.1.1.100'
set service pppoe-server client-ip-pool stop '10.1.1.111'
set service pppoe-server gateway-address '10.1.1.1'
set service pppoe-server interface eth0

Logs

Mar 04 17:20:10 wan-ppp sudo[1507]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 04 17:20:10 wan-ppp systemd[1]: Created slice system-accel\x2dppp.slice.
Mar 04 17:20:10 wan-ppp systemd[1]: Starting Accel-PPP - High performance VPN server application for Linux...
Mar 04 17:20:10 wan-ppp systemd[1]: accel-ppp@pppoe.service: Can't open PID file /run/accel-pppd/pppoe.pid (yet?) after start: No such file or directory
Mar 04 17:20:10 wan-ppp systemd[1]: Started Accel-PPP - High performance VPN server application for Linux.
Mar 04 17:20:10 wan-ppp sudo[1507]: pam_unix(sudo:session): session closed for user root
Mar 04 17:20:10 wan-ppp vyos-configd[500]: Sending response 1
Mar 04 17:20:10 wan-ppp sudo[1501]: pam_unix(sudo:session): session closed for user root
Mar 04 17:20:10 wan-ppp kernel: PPP generic driver version 2.4.2
Mar 04 17:20:10 wan-ppp kernel: NET: Registered protocol family 24
Mar 04 17:20:10 wan-ppp kernel: NET: Registered protocol family 17
Mar 04 17:20:10 wan-ppp kernel: vlan_mon: loading out-of-tree module taints kernel.
Mar 04 17:20:10 wan-ppp kernel: vlan-mon driver v1.11
Mar 04 17:20:10 wan-ppp systemd[1]: accel-ppp@pppoe.service: Main process exited, code=exited, status=1/FAILURE
Mar 04 17:20:10 wan-ppp systemd[1]: accel-ppp@pppoe.service: Failed with result 'exit-code'.
Mar 04 17:20:10 wan-ppp sudo[1524]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/sh -c /usr/sbin/vyshim /usr/libexec/vyos/conf_mode/ntp.py
Mar 04 17:20:10 wan-ppp sudo[1524]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 04 17:20:10 wan-ppp vyos-configd[500]: Received message: {"type": "node", "data": "/usr/libexec/vyos/conf_mode/ntp.py"}
Mar 04 17:20:10 wan-ppp sudo[1528]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/systemctl daemon-reload
Mar 04 17:20:10 wan-ppp sudo[1528]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 04 17:20:10 wan-ppp systemd[1]: accel-ppp@pppoe.service: Service RestartSec=100ms expired, scheduling restart.
Mar 04 17:20:10 wan-ppp systemd[1]: accel-ppp@pppoe.service: Scheduled restart job, restart counter is at 1.
Mar 04 17:20:10 wan-ppp systemd[1]: Stopped Accel-PPP - High performance VPN server application for Linux.
Mar 04 17:20:10 wan-ppp systemd[1]: Starting Accel-PPP - High performance VPN server application for Linux...
Mar 04 17:20:10 wan-ppp systemd[1]: Reloading.
Mar 04 17:20:11 wan-ppp sudo[1528]: pam_unix(sudo:session): session closed for user root
Mar 04 17:20:11 wan-ppp systemd[1]: accel-ppp@pppoe.service: New main PID 1531 does not exist or is a zombie.
Mar 04 17:20:11 wan-ppp systemd[1]: accel-ppp@pppoe.service: Failed with result 'protocol'.
Mar 04 17:20:11 wan-ppp systemd[1]: Failed to start Accel-PPP - High performance VPN server application for Linux.

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.3.0-rc1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

There is a bug exactly with client-ip-pool range, config generated with the mistake

[ip-pool]
gw-ip-address=10.1.1.1
10.1.1.100-10.1.1.111

but expected

10.1.1.100-111
c-po moved this task from Backport Candidates to Finished on the VyOS 1.4 Sagitta board.
c-po added a subscriber: c-po.

Backport to 1.3 done

Viacheslav changed the task status from Open to Needs testing.Mar 4 2021, 9:02 PM
SrividyaA set Issue type to Bug (incorrect behavior).Aug 31 2021, 1:58 PM