Page MenuHome Accel-ppp

accel-ppp daemon crashes
Closed, ResolvedPublicBUG

Description

accel-ppp has a configuration:

[common]
single-session=deny
[ipoe]
verbose=1
interface=re:^bond1\.[0-9]*$,shared=0,mode=L2,ifcfg=1,start=up,start=dhcpv4,roxy-arp=1,ip-unnumbered=1

When a subscriber host sends packets from several different IP addresses before authentication session, accel-ppp daemon crashes.

Log:

Jun  8 11:19:21 BNG01 accel-ipoe: ipoe: start interface bond1.1406 (shared=0,mode=L2,ifcfg=1,start=up,start=dhcpv4,ipv6=0,proxy-arp=1,ip-unnumbered=1)
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:: send [RADIUS(1) Access-Request id=1 <User-Name "1406.0"> <NAS-Port 28> <NAS-Port-Id "bond1.1406"> <NAS-Port-Type Ethernet> <Calling-Station-Id "a6:0d:b5:33:3e:40"> <Called-Station-Id "bond1.1406"> <Framed-IP-Address 192.168.193.130> <Acct-Session-Id "38a1133d2666f72e"> <User-Password 0x766e535d217f9c2e45191d2540632941>]
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:: recv [RADIUS(1) Access-Accept id=1 <Filter-Id "50000"> <Acct-Interim-Interval 300> <Framed-IP-Address 192.168.193.130> <DHCP-Router-IP-Address 192.168.193.254> <DHCP-Subnet-Mask 255.255.255.128>]
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:: send [RADIUS(1) Access-Request id=1 <User-Name "1406.0"> <NAS-Port 28> <NAS-Port-Id "bond1.1406"> <NAS-Port-Type Ethernet> <Calling-Station-Id "a6:0d:b5:33:3e:40"> <Called-Station-Id "bond1.1406"> <Framed-IP-Address 192.168.193.157> <Acct-Session-Id "38a1133d2666f72f"> <User-Password 0x4d886481cba51585a4e365b7b6296576>]
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:1406.0: 1406.0: authentication succeeded
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:1406.0: send [RADIUS(1) Accounting-Request id=1 <User-Name "1406.0"> <NAS-Port 28> <NAS-Port-Id "bond1.1406"> <NAS-Port-Type Ethernet> <Calling-Station-Id "a6:0d:b5:33:3e:40"> <Called-Station-Id "bond1.1406"> <Acct-Status-Type Start> <Acct-Authentic RADIUS> <Acct-Session-Id "38a1133d2666f72e"> <Acct-Session-Time 0> <Acct-Input-Octets 0> <Acct-Output-Octets 0> <Acct-Input-Packets 0> <Acct-Output-Packets 0> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 192.168.193.130>]
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:: recv [RADIUS(1) Access-Accept id=1 <Filter-Id "50000"> <Acct-Interim-Interval 300> <Framed-IP-Address 192.168.193.130> <DHCP-Router-IP-Address 192.168.193.254> <DHCP-Subnet-Mask 255.255.255.128>]
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:: 1406.0: second session denied
Jun  8 11:19:24 BNG01 accel-ipoe: bond1.1406:: (null): authentication succeeded

Subscriber’s host sends packets with several different source IP addresses, accel-ppp requests access for each IP in the Radius. Accel-ppp receives Access-Accept and session starts.
But after starting a session, accel-ppp no longer expects an Access-Accept radius. After receiving the second Accel-Accept, the daemon crashes.

Details

Protocol
IPoE
Version
1.12.0-72-ged7b287

Event Timeline

Harunaga triaged this task as High priority.Jun 8 2020, 11:04
Harunaga created this task.
Dimka88 changed the task status from Open to Needs testing.Jun 9 2020, 10:24
Dimka88 assigned this task to themiron.
Dimka88 added a subscriber: Dimka88.

Yes, I tested. Daemon does not crash.

Ok, thanks, will mark as resolved.