acct_unique problem
Alan DeKok
aland at deployingradius.com
Mon Feb 8 20:48:23 CET 2016
On Feb 8, 2016, at 10:32 AM, Viana <freeradius at radius.net.br> wrote:
>
> Hello! Last post was messed up because HTML format was on. So, I´ll try again. Sorry about that.
That helps, thanks.
> Then simulated an error: Quit FreeRadius, then I disconnected the client. Then I turned on the server and the client connected again.
That should work.
> I realized that acctuniqueid was created differently:
>
> (0) Received Access-Request Id 253 from 192.168.0.1:36215 to 192.168.0.98:1812 length 144
> (0) Service-Type = Framed-User
> (0) Framed-Protocol = PPP
> (0) NAS-Port = 15729402
> (0) NAS-Port-Type = Ethernet
> (0) User-Name = "test"
> (0) Calling-Station-Id = "C0:4A:00:87:C6:D9"
> (0) Called-Station-Id = "service1"
> (0) NAS-Port-Id = "bridge1"
> (0) CHAP-Challenge = 0x14fabff364f33d09f97a7992e7658be9
> (0) CHAP-Password = 0x011ad42c708f1b1279142669b5d1d20f23
> (0) NAS-Identifier = "Main_Router"
> (0) NAS-IP-Address = 192.168.0.1
> (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
> (0) authorize {
Ok...
> (0) sql: Executing select query: SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = 'test' AND acctstoptime IS NULL
> -r: not found
> (0) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
> (0) preacct {
> (0) [preprocess] = ok
Uh... what did you do?
You've managed to configure the server so that it runs an Access-Request packet through the "preacct" section.
That's wrong on so many levels.
Whatever you're doing, stop. Go back to the default configuration. It works.
Alan DeKok.
More information about the Freeradius-Users
mailing list