Hello, I'm using Ubuntu server 22.04 and FreeRADIUS Version 3.0.26 I'm trying to connect with Mikrotik and my mikrotik has 267 users but when users are trying to connect to freeradius the freeradius Error: (0) Ignoring duplicate packet from client SaraNet port 46328 - ID: 175 due to unfinished request in component authorize module sql. my database server is capable of handling 267 users and also freeradius server. database resource 2GB Memory and 2 CPU freeradius resource 1GB Memory and 1CPU can you guide me? how can I prevent duplicate packet from client. Is Freeradius have by default configuration to prevent duplicate packet from client or any configuration?. I need to solve this error anyway. I'm trying to solve this problem by changing some the freeradius configuration but I can't solve it. Fri Sep 6 07:03:22 2024 : Info: Loaded virtual server inner-tunnel Fri Sep 6 07:03:22 2024 : Info: Ready to process requests Fri Sep 6 07:06:44 2024 : Error: (0) Ignoring duplicate packet from client SaraNet port 46328 - ID: 175 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (1) Ignoring duplicate packet from client SaraNet port 45985 - ID: 176 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (2) Ignoring duplicate packet from client SaraNet port 54469 - ID: 177 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (3) Ignoring duplicate packet from client SaraNet port 57714 - ID: 178 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (4) Ignoring duplicate packet from client SaraNet port 37314 - ID: 179 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (5) Ignoring duplicate packet from client SaraNet port 52315 - ID: 180 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (7) Ignoring duplicate packet from client SaraNet port 38181 - ID: 182 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (6) Ignoring duplicate packet from client SaraNet port 48777 - ID: 181 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (8) Ignoring duplicate packet from client SaraNet port 49147 - ID: 183 due to unfinished request in component authorize module sql Fri Sep 6 07:06:44 2024 : Error: (9) Ignoring duplicate packet from client SaraNet port 38949 - ID: 184 due to unfinished request in component authorize module sql *Sincerly* Mamun Ahmed
On Sep 6, 2024, at 10:51 PM, Mamun Ahmed <mamunahmedusa@gmail.com> wrote:
I'm using Ubuntu server 22.04 and FreeRADIUS Version 3.0.26 I'm trying to connect with Mikrotik and my mikrotik has 267 users but when users are trying to connect to freeradius the freeradius Error: (0) Ignoring duplicate packet from client SaraNet port 46328 - ID: 175 due to unfinished request in component authorize module sql.
The SQL database is slow. Fix the database. No amount of poking FreeRADIUS will fix the database. Alan DeKok.
On 7.9.2024. 20:24, Alan DeKok wrote:
The SQL database is slow. Fix the database.
No amount of poking FreeRADIUS will fix the database.
Alan DeKok.
- List info/subscribe/unsubscribe? Seehttp://www.freeradius.org/list/users.html
While Alan rightly noted that the issue is likely due to a slow database, there’s also a chance that the NAS may be sending duplicate packets. I saw this firsthand at my previous job, where we had a Cisco ASR 9K series that sent three authorization packets in rapid succession—each less than a millisecond apart and with the same hash. This was clearly a bug in Cisco IOS, but the result was a log entry saying 'Error: Discarding duplicate request from client...'. If possible, try running |tcpdump| to capture traffic during these errors. This should help reveal if the same issue is occurring in your setup. The most precise method would be to capture all packets on the switch connected to the NAS or on the firewall if the RADIUS server and NAS communicate through one. Good luck!
participants (3)
-
Alan DeKok -
Igor Smitran -
Mamun Ahmed