Simultaneous sessions and deleting stale sessions
8zero2ops at gmail.com
Tue Oct 4 13:16:40 CEST 2016
On Mon, Oct 3, 2016 at 9:46 PM, Alan DeKok <aland at deployingradius.com>
> On Oct 3, 2016, at 12:14 PM, Anirudh Malhotra <8zero2ops at gmail.com> wrote:
> >> The solution then is to fetch the Acct-Unique-Session-Id, and to use
> >> that.
> > You are talking about using unlang and fetching acct-unique-sessionid in
> > accounting right also for zapping??
> That won't work. You'll have to edit the queries and the source code.
> Our plans for version 4 are that this will all be a lot more
Tried generating a fake accounting packet using radclient and sending
acct-unique-session-id in it, apparently the server doesn't take that
attribute and still is calculating it.
(35) Received Accounting-Request Id 166 from 127.0.0.1:42717 to
127.0.0.1:1813 length 137
(35) User-Name = "xxxxx"
(35) User-Password = "\200\030\364\035bL\354\320B\2154\222h\376\026P"
(35) Acct-Status-Type = Stop
(35) Acct-Session-Id = "17efb0f3/e4:25:e7:bb:b9:69/192806"
(35) NAS-Port = 8
(35) NAS-Port-Type = Wireless-802.11
(35) NAS-IP-Address = xxxxx
(35) NAS-Identifier = "xxxx"
(35) # Executing section preacct from file
echo "User-Name=xxxx,User-Password=qwert,Acct-Status-Type =
Stop,Acct-Session-Id = 17efb0f3/e4:25:e7:bb:b9:69/192806,Nas-Port =
| radclient 127.0.0.1:1813 acct testing123 -x
More information about the Freeradius-Users