Page MenuHome Accel-ppp

1.12.0-107 не плановый перезапуск при работе IPoE + QinQ
Open, Requires assessmentPublicBUG

Description

Работал не более суток. Служба внепланово перезапустилась. В логах причины нет.
При этом версия 1.11 с этим конфигом работает долго без неожиданностей.

Конфиг:
[modules]
log_file
ipoe
radius
ippool
shaper
#net-accel-dp

[core]
log-error=/var/log/accel-ppp/core.log
thread-count=8

[common]
single-session=replace

[auth]
#any-login=1
any-login=0
#noauth=0

[ipoe]
verbose=100
mode=L2
shared=0
start=dhcpv4
ifcfg=1
username=ifname
password=username
gw-ip-address=подсеть/22

soft-terminate=1
lease-time=600
renew-time=300
max-lease-time=660 # edit 2019-09-11
#session-timeout=86400 # 1 Day
session-timeout=432000 # 5 Day's

proxy-arp=2

#offer-delay=0,100:1000,200:2500,300:5000,400:10000,-1:11000
#offer-delay=0,3400:3400,3900:3900,4000:4000

interface=re:stat.3001|stat.3002|stat.3003|stat.3004|stat.3332|stat.3333|stat.3334|stat.3335|stat.3336|stat.3337|stat.3338|stat.3339|stat.611

attr-dhcp-client-ip=Framed-IP-Address
attr-dhcp-router-ip=DHCP-Router-IP-Address
attr-dhcp-mask=DHCP-Mask
attr-down=PPPD-Downstream-Speed-Limit
attr-up=PPPD-Upstream-Speed-Limit
attr-l4-redirect=L4-Redirect
attr-l4-redirect-ipset=L4-Redirect-ipset
L4-Redirect-ipset=badboys

vlan-mon=stat.611,2-4000
vlan-mon=stat.3002,2-130,132-4000
vlan-mon=stat.3003,2-130,132-4000
vlan-mon=stat.3004,1500-4000
vlan-mon=stat.3332,2-130,132-4000
vlan-mon=stat.3333,1460-2035,2037-3400,3600-3800,4015-4094
vlan-mon=stat.3334,2000-2500,2999
vlan-mon=stat.3335,2000-3000
vlan-mon=stat.3336,2000-3333
vlan-mon=stat.3337,2000-2500
vlan-mon=stat.3338,2000-2500
vlan-mon=stat.3339,2000-2035,2037-2500,3600-3601
vlan-mon=stat.3003,2-130,132-4000
vlan-mon=stat.3339,3500-3700
vlan-timeout=300
vlan-name=%I.%N
#local-net=0.0.0.0/0

[dns]
dns1=8.8.8.8
dns2=1.1.1.1

[radius]
dictionary=/usr/share/accel-ppp/radius/dictionary
nas-identifier=NAS6
nas-ip-address=IP
server=IP,pass,auth-port=1812,acct-port=1813,req-limit=100,fail-timeout=0,max-fail=20,weight=1
dae-server=IP:3799,pass
verbose=1
timeout=15
max-try=9
acct-timeout=0
acct-delay-time=0
#acct-on=0
attr-tunnel-type=NAS-Identifier
gw-ip-address=10.0.0.23/20
sid_in_auth=1 # Acct-Session-Id

[client-ip-range]
10.0.0.0/8

[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
log-file=/dev/null
#log-emerg=/dev/null
#log-fail-file=/dev/null

#log-debug=/dev/stdout
log-debug=/var/log/accel-ppp/debug.log
log-debug=/dev/null

#syslog=accel-pppd,daemon
#log-tcp=127.0.0.1:3000
copy=1
color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
level=2

[log-pgsql]
conninfo=user=log
log-table=log

[shaper]
attr-down=PPPD-Downstream-Speed-Limit
attr-up=PPPD-Upstream-Speed-Limit
attr=Filter-Id
#ifb=ifb0
#up-limiter=htb
up-limiter=police
down-limiter=tbf
cburst=1375000
r2q=10
quantum=1500
leaf-qdisc=sfq perturb 10
verbose=1

[cli]
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=123

[snmp]
master=0
agent-name=accel-ppp

[connlimit]
limit=10/min
burst=3
timeout=60

[accel-dp]
socket=/var/run/accel-dp.sock

Accel падал с ошибками:
[2021-03-17 21:36:28.173] accel-ppp version 1.12.0-107-gb1ad6a3
[2021-03-17 21:36:53.055] vlan_mon: nl_add_vlan_mon: error talking to kernel
[2021-03-17 21:36:53.056] vlan_mon: nl_add_vlan_mon: error talking to kernel


Mar 17 21:36:27 nas6 systemd[1]: accel-ppp.service: Main process exited, code=exited, status=255/n/a
Mar 17 21:36:27 nas6 systemd[1]: accel-ppp.service: Unit entered failed state.
Mar 17 21:36:27 nas6 systemd[1]: accel-ppp.service: Failed with result 'exit-code'.
Mar 17 21:36:28 nas6 systemd[1]: accel-ppp.service: Service hold-off time over, scheduling restart.
Mar 17 21:36:28 nas6 systemd[1]: Stopped Accel-PPP.
Mar 17 21:36:28 nas6 systemd[1]: Starting Accel-PPP...
Mar 17 21:36:28 nas6 systemd[1]: Started Accel-PPP.

Details

Protocol
IPoE
Version
1.12.0-107