Skip to main content
g3rman
New Member
October 24, 2017
Question

Repeated RADIUS Requests

  • October 24, 2017
  • 5 replies
  • 14356 views

We have successfully configured RADIUS authentication against our RADIUS server. We have also changed the "set remoteauthtimeout" in the global options to 120 seconds to wait for the RADIUS server to respond. The RADIUS server sends a message to the user's phone, prompting them to approve the connection. Even though the "remoteauthtimeout" parameter is set to 120 seconds, the Fortinet sends duplicate RADIUS requests to the authentication server every 5 seconds. This results in the end user being prompted multiple times to approve the same connection until they approve the connection. In the packet capture below you can see the requests being sent every 5 seconds. Is there a parameter that can be set that sends a single RADIUS request and simply waits until a response is received?? 6.962772 port16 out 1.1.1.1.14835 -> 2.2.2.2.1812: udp 113 11.966974 port16 out 1.1.1.1.14835 -> 2.2.2.2:1812: udp 113 16.977282 port16 out 1.1.1.1.14835 -> 2.2.2.2.1812: udp 113

    5 replies

    oheigl
    New Member
    October 24, 2017

    Looks a lot like the setting in the config user radius section. There is a timeout value which is default set to 5 seconds. Maybe you can try to change it:

    config user radius edit <server_name>

    set timeout <secs_int>

    end

    Enter the timeout in seconds between resending authentication requests. These requests occur during the remoteauthtimeout period set in system global

    g3rman
    g3rmanAuthor
    New Member
    October 24, 2017

    Thanks, that did the trick.

    I set the timeout in the RADIUS server to 120 seconds to match the "remoteauthtimeout" and now it only sends a single RADIUS request.

    xsilver_FTNT
    Staff
    Staff
    October 25, 2017

    Hi,

     that's because "remoteauthtimeout" governs how long FGT will wait for response from RADIUS server.

    It is not neither applied to waiting for user input, nor resends to server.

    It's applied just onto response times from the server.

    And from this point of view 120 sec is hell lot of time. I would not recommend to use that high value.

    Because you might face requests quing if RADIUS get trully unresponsive, then FGT will be waiting 120 sec before realizing that server is unreachable.

    Best regards,

    Tomas

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!