Igor Chen <[EMAIL PROTECTED]> wrote:
> I have a problem with radius accounting, seems like other proxy radius
> (old cistron) sends duplicate Stop queries, and sometimes even Stop
> queries with equal acctsessionid,username,nasipaddress but wrong time (set
> to now().

  Then the server should probably ignore the duplicate STOP packets.

> Can anyone tell me, is any workaround for that situation? How can i
> recieve (or write to sql) only first Stop for that session?
> Maybe i can use acct_unique but i do not know what can be unique key :-\

  Use the attributes which don't change between accounting packets.
You listed them above: acctsessionid,username,nasipaddress

  Get the SQL module to do an 'insert' of the stop record if it isn't
there, and NOT to do an 'update' if the record already exists.

  Alan DeKok.

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

Reply via email to