Sorry to be restarting this thread, but I never got any response to
it, and I'm pretty lost.  To recap, since we upgraded our NAS OS (CVX
OS 4.2 Bld#4948) the radwtmp db contains no IPs.  The IPs are being
logged in the detail file, but not radwtmp.  I've searched through all
the documentation I can find and looked at the freeradius
rlm_unix.c file, but my C skills are nil.  If anyone has any ideas,
even a hint or glimmer, I'd sure appreciate it.  We're running a
free dialup service, nocharge.com, where all users log in as "guest",
so without the IPs in radwtmp, we have no way of tracing the
occasional malefactor, which makes me feel very uneasy.

I just tried "strings" on one of the old radwtmp files, one that was
correctly logging the IPs, and compared it with the new radwtmp files,
and noticed that besides the missing IPs, there's also another missing
line.  The new files show output like this:

  17044748:x2
  eldredge

Whereas the old ones had:

  17043989:x2
  emeraldechidna
  64.40.51.74
  @(3J

Any ideas?

Thanks much --dbrick

On Tue, 26 Nov 2002 09:17:17 -0800, Douglas Brick wrote:

> We recently upgraded our CVX's to OS version 4.2 Bld#4948, which fixed
> a few problems with general dialup, but ever since then radwtmp has no
> IP numbers listed.  We're using two copies of freeradius-0.8 on Redhat
> Linux 7.0 and 7.2 respectively.  They both used to list the IPs just
> fine.  Now radlast shows stuff like this, with no IPs in the 3rd
> column.
> 
> xyz      17045272:x2              Tue Nov 26 09:11   still logged in
> abc      17044995:x2              Tue Nov 26 09:10   still logged in
> mno      17044997:x2              Tue Nov 26 09:10   still logged in
> 
> Just to make sure it wasn't a bug in last's reading of the radwtmp
> file, I did a "strings /etc/radwtmp" and the IPs simply aren't there.
> The IPs do show up in /etc/radacct/nas.ip.address/detail.  But I'd
> much prefer that they show up in radwtmp.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to