Hello Christian,

On Mar 30,  1:42pm, Christian Brem wrote:
> Subject: (RADIATOR) Duplicate Accounting Entries
> Hi!
> Consider the following scenario:
>    Client sends accounting request, radius processes it (inserts record
> into database),
> then ACKs it. This ACK is lost in time and space. Client times out, and
> sends its accounting
> request again. Radius tries to insert it into database -- and fails
> miserably because of
> uniqueness constraints, since this record has already been stored. Client
> now either
> gets a NAK or a timeout, and retries again...

Hmmm, I cant see that Radiator will NAK or ignore just because an accounting
insertion failed. Are you sure thats whats happening?

Its true that if the first ACK is lost, the NAS will retransmit (with a new
identifier and Acct-Delay-Time changed), and Radiator will try to insert the
same data in the database. But it should still ACK, even if the insert fails.


>   I have seen clients trying as much as five times to get rid of their
> accounting record...
>   Is there a possibility of saying "when this SQL-error occurs, treat it as
> success"?
> thanx for help, Christian Brem
> ---------------------------------------------------------------------
> debis Systemhaus EDVg
> Internet Services
> Hofmühlgasse 3 - 5, 1060 Wien
> Tel.: +43 1 599 07 / 1749
> Fax: +43 1 599 07 / 1199
> WWW: http://www.debis.at
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Christian Brem

Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, external, etc etc on Unix, Win95/8, NT, Rhapsody
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to