Page 1 of 1

Multiple login

Posted: 23 Jan 2018, 17:54
by gondim
Hi Dmitry,

I had a multiple login case here on my server, same login connected:

ppp83 | d719d178a7b8a963 | edinaldo038051 | 98:DE:D0:EB:59:DD | 131.xxx.92.214 | | | 2097/2097 | pppoe | active | 00:08:21
ppp584 | d719d178a7b8acf4 | edinaldo038051 | 98:DE:D0:EB:59:DD | 131.xxx.94.174 | | | 10485/10485 | pppoe | active | 00:01:05

My conf:

[ppp]
single-session=deny
min-mtu=1280
mtu=1480
mru=1480
ccp=0
check-ip=0
ipv4=require
ipv6=allow
lcp-echo-interval=20
lcp-echo-timeout=120

[pppoe]
sid-uppercase=1
verbose=1
ac-name=accel01
ip-pool=pool1
interface=re:eth5\.([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-4][0-9][0-9][0-9])
vlan-mon=eth5,1-4095
vlan-timeout=600
mac-filter=/etc/mac-blacklist,deny

I used single-session=deny but it still did not work. Is there any other parameter?

Thanks and best regards.

Re: Multiple login

Posted: 23 Jan 2018, 18:25
by gondim
Another case:

ppp709 | d719d178a7b84ca0 | aristote038087 | 00:30:67:C6:B2:F9 | 131.xxx.95.123 | | | 10485/10485 | pppoe | active | 04:00:17
ppp83 | d719d178a7b8bade | aristote038087 | 70:4F:57:0B:BE:58 | 131.xxx.92.214 | | | 10485/10485 | pppoe | active | 00:09:24

In this case the subscriber changed the network interface and had two connections.

Re: Multiple login

Posted: 23 Jan 2018, 18:43
by gondim
Hi Dmitry,

I solved the problem through Radius. It was probably because of this that I exceeded the amount of allocated IPs.

Re: Multiple login

Posted: 25 Jan 2018, 09:05
by uesleycorrea
I'm using radius option for only one connection for subscriber, and solve this.

Re: Multiple login

Posted: 25 Jan 2018, 18:06
by gondim
Hi Dmitry,

Even using single-session=deny accel is allowing two logged-in logins at the same time.

ppp452 | d719d178a7bebd0d | alex058593 | 70:4F:57:74:6C:0F | 131.xxx.93.225 | 2804:xxxx:acce:380:200::/64 | 2804:xxxx:acce:1095::/64 | 10485/10485 | pppoe | active | 00:33:36
ppp838 | d719d178a7bed393 | alex058593 | 70:4F:57:74:6C:0F | 131.xxx.95.147 | 2804:xxxx:acce:440:200::/64 | 2804:xxxx:acce:10de::/64 | 10485/10485 | pppoe | active | 00:00:31

Re: Multiple login

Posted: 27 Jan 2018, 11:33
by hugleo
Try:

[common]
single-session=replace

Re: Multiple login

Posted: 27 Jan 2018, 13:22
by gondim
Hi,

I'll try it here. I was using this parameter in [pppoe]. Thank you!