ipoe shared=1 on accel-ppp reload

Bug reports
Post Reply
manyax
Posts: 20
Joined: 24 Jun 2016, 15:41

ipoe shared=1 on accel-ppp reload

Post by manyax » 16 May 2017, 07:08

Code: Select all

accel-ppp reload 
terminates the ipoe interfaces. Reload doesn't affect the ipoe shared=0 subscribers or pppoe.

accel-ppp version 928aefd7779593961beca41376dd829c26d58de5
Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

https://pastebin.com/CiRh8rRy

manyax
Posts: 20
Joined: 24 Jun 2016, 15:41

Re: ipoe shared=1 on accel-ppp reload

Post by manyax » 16 May 2017, 08:42

Looks like is because of my configuration. Shouldn't this suppose to work ?

Code: Select all

[ipoe]
verbose=100
lua-file=/etc/accel-ppp.lua
#lease-time=600
max-lease-time=86400
username=ifname
unit-cache=1
attr-l4-redirect=L4-Redirect
attr-dhcp-client-ip=Framed-IP-Address
attr-dhcp-router-ip=DHCP-Router-IP-Address
attr-dhcp-mask=DHCP-Mask
attr-dhcp-lease-time=DHCP-Lease-Time
l4-redirect-table=100
ip-unnumbered=1
proxy-arp=1
shared=0
ifcfg=1
ipv6=1
mode=L2
proto=100
start=dhcpv4
vlan-mon=re:eth1\.[0-9][0-9][0-9],10-150
vlan-mon=re:eth1\.[1-4][0-9][0-9][0-9],10-150
vlan-timeout=600
interface=re:eth1\.[0-9][0-9][0-9]\.[1-4][0-9]
interface=re:eth1\.[1-4][0-9][0-9][0-9]\.[1-4][0-9]
interface=re:eth1\.[0-9][0-9][0-9]\.1[1-4][0-9],mode=L2,start=dhcpv4,shared=1,ifcfg=1,ipv6=0
interface=re:eth1\.[1-4][0-9][0-9][0-9]\.1[1-4][0-9],mode=L2,start=dhcpv4,shared=1,ifcfg=1,ipv6=0
If I use instead of the interface regex

Code: Select all

interface=eth1.800.11
interface=eth1.800.111,mode=L2,start=dhcpv4,shared=1,ifcfg=0,ipv6=0
all works fine.
Am I doing it wrong .. or it is suppose to work this way?

Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: ipoe shared=1 on accel-ppp reload

Post by Dmitry » 29 May 2017, 09:07

it is some bug
it shoudn't terminate ipoe sessions on reload

vsteshak
Posts: 5
Joined: 17 Jan 2019, 10:04

Re: ipoe shared=1 on accel-ppp reload

Post by vsteshak » 16 May 2021, 21:20

Наблюдаю такую-же картину. При reload дропаются сессии на интерфейсах с shared=1. Сессии qinq не дропаются
Одинаково на двух серверах. На одном система Debian 10, 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1, accel-ppp 1.12.0-128-g277ad4c. На другом openSUSE-Leap-42.3, 4.4.90-28-1 #2 SMP Fri Oct 20 13:00:30 EEST 2017 x86_64, accel-ppp version 1.10.3
Конфиг одинаковый

Code: Select all

[modules]
log_file
#log_syslog
#log_tcp
#log_pgsql
pptp
l2tp
#sstp
#pppoe
ipoe

auth_mschap_v1
auth_chap_md5
auth_mschap_v2
#auth_pap

radius
#chap-secrets

#ippool

pppd_compat

#shaper
#net-snmp
#logwtmp
connlimit

#ipv6_nd
#ipv6_dhcp
#ipv6pool

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

[common]
single-session=deny
sid-case=lower
sid-source=seq
#single-session-ignore-case=0
max-sessions=0
max-starting=0
check-ip=1

[ppp]
verbose=1
min-mtu=1280
mtu=1420
mru=1420
accomp=deny
pcomp=deny
ccp=0
mppe=deny
ipv4=require
ipv6=deny
#ipv6-intf-id=0:0:0:1
#ipv6-peer-intf-id=0:0:0:2
#ipv6-accept-peer-intf-id=1
lcp-echo-interval=30
lcp-echo-failure=4
lcp-echo-timeout=120
unit-cache=1500
unit-preallocate=1

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

[pptp]
verbose=1
echo-interval=30
#ip-pool=pptp
#ipv6-pool=pptp
#ipv6-pool-delegate=pptp
ifname=pptp%d

[pppoe]
verbose=1
#ac-name=xxx
#service-name=yyy
#pado-delay=0
#pado-delay=0,100:100,200:200,-1:500
called-sid=mac
#tr101=1
#padi-limit=0
#ip-pool=pppoe
#ipv6-pool=pppoe
#ipv6-pool-delegate=pppoe
#ifname=pppoe%d
#sid-uppercase=0
#vlan-mon=eth0,10-200
#vlan-timeout=60
#vlan-name=%I.%N
#interface=eth1,padi-limit=1000
interface=eth0

[l2tp]
verbose=1
dictionary=/usr/share/accel-ppp/l2tp/dictionary
hello-interval=60
timeout=60
rtimeout=5
#rtimeout-cap=16
retransmit=5
#recv-window=16
host-name=bras1
dir300_quirk=1
#secret=
#dataseq=allow
#reorder-timeout=0
#ip-pool=l2tp
#ipv6-pool=l2tp
#ipv6-pool-delegate=l2tp
avp_permissive=1
ifname=l2tp%d

[sstp]
verbose=1
#cert-hash-proto=sha1,sha256
#cert-hash-sha1=
#cert-hash-sha256=
#accept=ssl,proxy
#ssl-protocol=tls1,tls1.1,tls1.2,tls1.3
#ssl-dhparam=/etc/ssl/dhparam.pem
#ssl-ecdh-curve=prime256v1
#ssl-ciphers=DEFAULT
#ssl-prefer-server-ciphers=0
#ssl-ca-file=/etc/ssl/sstp-ca.crt
#ssl-pemfile=/etc/ssl/sstp-cert.pem
#ssl-keyfile=/etc/ssl/sstp-key.pem
#host-name=domain.tld
#http-error=allow
#timeout=60
#hello-interval=60
#ip-pool=sstp
#ipv6-pool=sstp
#ipv6-pool-delegate=sstp
#ifname=sstp%d

[ipoe]
verbose=1
lua-file=/etc/accel-ppp.lua
username=lua:username
password=username
lease-time=120
#renew-time=600
max-lease-time=150
unit-cache=1000
gw-ip-address=192.168.0.5
#l4-redirect-table=4
#l4-redirect-ipset=l4
#l4-redirect-on-reject=300
#l4-redirect-ip-pool=pool1
#shared=0
#ifcfg=1
#mode=L2
#start=dhcpv4
#ip-unnumbered=1
proxy-arp=1
#nat=0
#proto=100
#relay=10.10.10.10
attr-dhcp-client-ip=DHCP-Client-IP-Address
attr-dhcp-router-ip=DHCP-Router-IP-Address
#attr-dhcp-router-ip=192.168.0.5
attr-dhcp-mask=DHCP-Mask
#attr-dhcp-lease-time=DHCP-Lease-Time
#attr-dhcp-renew-time=DHCP-Renewal-Time
#attr-dhcp-rebind-time=DHCP-Rebinding-Time
#attr-dhcp-opt82=DHCP-Option82
#attr-dhcp-opt82-remote-id=DHCP-Agent-Remote-Id
#attr-dhcp-opt82-circuit-id=DHCP-Agent-Circuit-Id
#attr-l4-redirect=L4-Redirect
#attr-l4-redirect-table=4
#attr-l4-redirect-ipset=l4-redirect
#offer-delay=0,100:100,200:500,-1:1000
vlan-mon=re:^eth1\.[1-9][0-9]+$
vlan-timeout=60
vlan-name=%I.%N
#ip-pool=ipoe
ipv6=0
#ipv6-pool=ipoe
#ipv6-pool-delegate=ipoe
#idle-timeout=0
#session-timeout=0
soft-terminate=0
check-mac-change=0
calling-sid=mac
#local-net=192.168.0.0/16
interface=re:^eth1,start=dhcpv4,mode=L2,ifcfg=1,shared=0,ip_unnumbered=1
interface=eth1.87,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.88,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.89,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.90,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.91,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.92,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.93,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.94,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.95,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.96,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.97,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.98,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.99,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.100,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.101,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.102,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.103,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.104,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.105,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.106,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.107,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.108,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.109,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.110,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.134,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.135,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.136,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.137,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.138,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.139,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.140,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.141,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.142,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.143,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.144,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.145,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.146,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.147,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.149,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.150,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.151,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.152,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.153,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.154,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.155,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.156,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.157,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.158,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.159,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.160,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.161,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.162,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.163,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.164,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.165,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.166,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.167,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.168,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.169,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.170,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.171,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.171,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.172,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.173,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.174,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.175,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.176,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.177,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.178,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.179,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.180,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.181,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.182,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.183,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.184,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.185,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.186,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.187,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.188,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.190,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.191,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.193,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.197,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.203,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.204,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.205,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.206,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.207,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.208,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.209,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.210,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.211,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.212,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.213,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.214,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.215,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.216,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.217,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.218,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.219,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.220,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.221,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.222,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.223,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.224,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.225,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.226,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.311,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.312,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.313,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.314,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.315,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.316,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.317,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.318,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.319,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.320,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.321,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.322,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.323,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.324,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.325,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.326,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.326,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.328,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.329,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.330,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.331,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.332,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.333,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.334,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.335,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.338,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.339,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.340,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.429,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.430,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.431,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.432,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.433,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.434,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.435,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.436,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.437,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.438,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.439,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.440,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.441,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.442,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.443,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.444,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.445,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.446,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.447,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.448,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.449,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.450,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.451,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.452,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0
interface=eth1.453,start=dhcpv4,mode=L2,ifcfg=1,shared=1,ip_unnumbered=0

[dns]
dns1=192.168.1.1
dns2=192.168.1.1

[wins]
#wins1=172.16.0.1
#wins2=172.16.1.1

[radius]
dictionary=/usr/share/accel-ppp/radius/dictionary
nas-identifier=bras1
nas-ip-address=192.168.0.5
#gw-ip-address=192.168.0.5
server=10.250.0.240,pass,auth-port=1812,acct-port=1813,req-limit=0,fail-timeout=10,max-fail=0,weight=1
dae-server=127.0.0.1:3799,testing123
verbose=3
timeout=10
#max-try=2
acct-timeout=0
#acct-delay-time=0
acct-on=1
acct-interim-interval=120
#acct-interim-jitter=0
#default-realm=
#strip-realm=0
#attr-tunnel-type=My-Tunnel-Type

[client-ip-range]
10.0.0.0/8
#31.41.48.0/21

[ip-pool]
gw-ip-address=192.168.0.1
#vendor=Cisco
#attr=Cisco-AVPair
attr=Framed-Pool
192.168.0.2-255
192.168.1.1-255,name=pool1
192.168.2.1-255,name=pool2
192.168.3.1-255,name=pool3
192.168.4.1-255,name=pool4,next=pool1
192.168.4.0/24

[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-debug=/dev/stdout
#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=3

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

[pppd-compat]
verbose=1
#ip-pre-up=/etc/ppp/ip-pre-up
ip-up=/etc/ppp/ip-up
ip-down=/etc/ppp/ip-down
#ip-change=/etc/ppp/ip-change
radattr-prefix=/var/run/radattr
#fork-limit=16

[chap-secrets]
#gw-ip-address=192.168.10.116
#chap-secrets=/etc/ppp/chap-secrets
#encrypted=0
#username-hash=md5

[shaper]
#attr=Filter-Id
#down-burst-factor=0.1
#up-burst-factor=1.0
#latency=50
#mpu=0
#mtu=0
#r2q=10
#quantum=1500
#moderate-quantum=1
#cburst=1534
#ifb=ifb0
up-limiter=police
down-limiter=tbf
#leaf-qdisc=sfq perturb 10
#leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn]
#rate-multiplier=1
#fwmark=1
#rate-limit=2048/1024
verbose=1

[cli]
verbose=1
telnet=0.0.0.0:2000
tcp=127.0.0.1:2001
password=qazwsx
#sessions-columns=ifname,username,ip,ip6,ip6-dp,type,state,uptime,uptime-raw,calling-sid,called-sid,sid,comp,rx-bytes,tx-bytes,rx-bytes-raw,tx-bytes-raw,rx-pkts,tx-pkts

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

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

[ipv6-pool]
#gw-ip6-address=fc00:0:1::1
#vendor=
#attr-prefix=Delegated-IPv6-Prefix-Pool
#attr-address=Stateful-IPv6-Address-Pool
#fc00:0:1::/48,64
#fc00:0:2::/48,64,name=pool1
#fc00:0:3::/48,64,name=pool2,next=pool1
#delegate=fc00:1::/36,48
#delegate=fc00:2::/36,48,name=pool3
#delegate=fc00:3::/36,48,name=pool4,next=pool3

[ipv6-dns]
#fc00:1::1
#fc00:1::2
#fc00:1::3
#dnssl=suffix1.local.net
#dnssl=suffix2.local.net.

[ipv6-dhcp]
#verbose=1
#pref-lifetime=604800
#valid-lifetime=2592000
#route-via-gw=1

vsteshak
Posts: 5
Joined: 17 Jan 2019, 10:04

Re: ipoe shared=1 on accel-ppp reload

Post by vsteshak » 14 Jun 2021, 08:17

Вопрос актуален. Есть-ли вариант чтобы сессии не дропались при релоаде?

dimka88
Posts: 779
Joined: 13 Oct 2014, 05:51
Contact:

Re: ipoe shared=1 on accel-ppp reload

Post by dimka88 » 29 Jun 2021, 21:22

Была дана рекомендация, сделать строгие регулярки, что бы интерфейсы не пересекались. Есть результат?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest