Duplicate release of IP ?
adrian.sandu at asandu.eu
adrian.sandu at asandu.eu
Wed Apr 16 21:00:17 CEST 2014
>> The only thing with "Access-Accept" in the radius.log file I see is
>> the
>> result of
>> [sql] expand: INSERT INTO radpostauth (username, pass, reply,
>> authdate) VALUES ( '%{User-Name}',
>> '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')
>
> No... that's not Access-Accept. If you're running in debugging mode,
> you'll see Access-Accept, followed by a series of attributes. It
> should
> be *very* obvious.
Ok, well .. I don't see it ! :|
Can you give me an example ?
>>> Next, look for accounting packets for that user, which contain the
>>> IP.
>>> This means that the NAS has still marked the IP as active for the
>>> user.
>>
>> How would those look ?
>
> Look for the IP address. If the NAS is sending accounting packets,
> the IP will show up in the logs.
I am looking .. I don't get it .. I wish there were an easy way to track
the IP ..
> Then accounting isn't enabled. Enable it on the NAS.
Dang. http://linux.die.net/man/8/pppd-radius Doesn't tell anything about
it :\
Here's a link to a rather long post ( manually copy/pasted everything I
could (tried to keep the consistency )).
I also wish there was a tool to easily mask sensitive data from the log
..
http://pastebin.com/9bLNBBZi
[asandu at asandu3 ~]$ grep -iE "^(allocated|released) ip" log | grep
x.x.x.244
Allocated IP: x.x.x.244 from main (did cli 00:16:76 port 33 user pav)
Released IP x.x.x.244 (did cli 00:16:76 user pav)
Allocated IP: x.x.x.244 from main (did cli 00:0B:6A port 431 user
ocv)
Released IP x.x.x.244 (did cli 00:0B:6A user ocv)
Allocated IP: x.x.x.244 from main (did cli 00:0C:61 port 686 user
lum)
Released IP x.x.x.244 (did cli 00:0C:61 user lum)
Released IP x.x.x.244 (did cli 00:0C:61 user lum)
Allocated IP: x.x.x.244 from main (did cli 00:19:21 port 643 user
enm)
Released IP x.x.x.244 (did cli 00:19:21 user enm)
Released IP x.x.x.244 (did cli 00:0C:61 user lum)
Allocated IP: x.x.x.244 from main (did cli 00:0F:EA port 173 user
sii)
Released IP x.x.x.244 (did cli 00:0F:EA user sii)
Allocated IP: x.x.x.244 from main (did cli D8:EB:97 port 216 user
cog)
Released IP x.x.x.244 (did cli D8:EB:97 user cog)
More information about the Freeradius-Users
mailing list