Deduplication of accounting requests
aland at deployingradius.com
Fri Feb 12 15:28:18 CET 2016
On Feb 12, 2016, at 9:25 AM, apopov at cybervisiontech.com wrote:
> From RFC: "The RADIUS server can detect a duplicate request if
> it has the same client source IP address and source UDP port and
> Identifier within a short span of time."
> Does it mean, if my application send accounting requests from one port, I can send only 256 request in short span of time, next request will be handled as duplicate regardless of attributes in it?
> How freeradius detect that package is duplicated? What fields used for this purposes ? Where and how it configured?
It detects duplicates using (among other things) the request authenticator.
To be clear, if you're not implementing a RADIUS client or a RADIUS server, you have no reason to worry about this kind of detail. Just trust that the RADIUS client and server do the right thing.
If you are implementing a RADIUS client or a RADIUS server, go read the RFCs, and the FreeRADIUS source code. This list is for FreeRADIUS questions. We're not in the business of helping people write competing software.
More information about the Freeradius-Users