radclient test data
aland at deployingradius.com
Tue Dec 27 13:16:53 UTC 2022
On Dec 27, 2022, at 7:32 AM, vaiost SSSS via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> Hi,I'm using freeradius 3.2.1 just to log Accounting requests (preferably through linelog module) so as to process data later with an external process.The problem is that when stress freeradius using radclient, many requests are not logged both using linelog or detail modules. I believe that there is something wrong with my test data that is stored in a simple file(i.e. acct_test.txt).Thank you in advanceRegards
> radclient -f acct_test.txt -c 5000 -t 1 -x -p 10 172.19.185.60 acct m2msdp2022|grep Accounting-Response|wc -lTue Dec 27 13:38:11 EET 2022radclient: Received reply to request we did not send. (id=21 socket 4)radclient: Received reply to request we did not send. (id=59 socket 4)5000
That's quite mangled and hard to read.
But... radclient sends the same packet over and over. And the server does de-duplication on packets. So if it receives the "same" packet while processing another one, it ignores the duplicate one.
You should use a test client which sends different packets (e.g. different NAS-Port) for every packet.
More information about the Freeradius-Users