On Wed, Apr 13, 2011 at 5:12 PM, Alan DeKok <[email protected]> wrote:
> Marius Pesé wrote:
>> This is both the same package. Maybe the odd thing is not the duplicate 
>> every once in a while but rather the fact that the bulk of them is not 
>> duplicated?
>
>  Accounting packets WILL get sent twice.  There's little you can do to
> avoid that.
>
>  You need to design the system so that it handles duplicate accounting
> packets.

... which sometimes is as simple as changing the database schema to
use (username,acctuniqid) as unique key. When you do that and a
duplicate accounting start packet arrives, the default
accounting_start_query (insert) on dialup.conf should fail and
accounting_start_query_alt (update) will be executed instead. So you
won't have duplicate records.

-- 
Fajar

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

Reply via email to