accounting to db - duplicate entrys & missing stop time?

2005-07-14 Thread Roger Kristiansen
Hi, First of all, I'm not very familiar with freeradius, so bear with me. If more specific information is needed, please ask. We have set up freeradius to do accounting to a postgresql database, and I was expecting to see one record pr. session, and mostly we do. But there are also a lot of

Re: accounting to db - duplicate entrys & missing stop time?

2005-07-14 Thread Alan DeKok
Roger Kristiansen <[EMAIL PROTECTED]> wrote: > We have set up freeradius to do accounting to a postgresql database, and > I was expecting to see one record pr. session, and mostly we do. But > there are also a lot of records that: ... Are screwed up. Can you say "NAS implementations are often

Re: accounting to db - duplicate entrys & missing stop time?

2005-07-18 Thread Roger Kristiansen
Alan DeKok wrote: Can I get freeradius to log every "Alive" message to the database, so that I at least know when the last "Alive" was received? See "accounting_update_query", which is run for Alive (i.e. Interim-Update) packets. Ok, thanks for clearing up a few things. We seem to hav

Re: accounting to db - duplicate entrys & missing stop time?

2005-07-18 Thread Alan DeKok
Roger Kristiansen <[EMAIL PROTECTED]> wrote: > For some (quite a few, actually) session, we get two almost identical > entries. > > Could this be because freeradius does something like this: It logs the packets that the NAS sends. If the NAS sends a number of packets simultaneously, FreeRADIU