Re: radiusd and duplicate requests

Jon Lewis (jlewis@inorganic5.fdt.net)
Mon, 13 May 1996 09:03:39 -0400 (EDT)

On Mon, 13 May 1996, John W. Temples wrote:

> I noticed that I was getting some duplicate records in my radiusd
> accounting data, so I started reviewing the code. I found two things:
>
> 1. radiusd never checks accounting packets for duplicate IDs. All
> accounting packets are logged regardless.
>
> 2. The duplicate ID checking for authentication requests is only done
> in multi-process mode. If you run in single-process mode, that code is
> never executed.

What are "multi-process mode" and "single-process mode"? I see
occasional dupes logged even though they should be theoreticaly
impossible on my current setup. I'm using a hacked RADIUS login on Linux
boxes...and set auth->id based on the ttyC port the user logs in on.
Therefore, there can't be more than one auth request at a time with the
same id...but I still get a few dupes logged per day.

------------------------------------------------------------------
Jon Lewis | Mime attachments are OK
jlewis@inorganic5.fdt.net | But please ask before sending
http://inorganic5.fdt.net | unsolicited huge files.
________Finger jlewis@inorganic5.fdt.net for PGP public key_______