• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Am I able to modify re-authenticate every minute to other value?

Scheduled Pinned Locked Moved Captive Portal
3 Posts 2 Posters 1.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mistralyn
    last edited by May 20, 2013, 12:24 PM

    I'm afraid that re-authenticate every minute would cause too much pressure on the radius server, is it possible to modify the re-authenticate time (every minute) to 30 minutes?

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by May 21, 2013, 3:02 AM

      Not without changing the source. Digging around in the source, you'll find and can change it.

      1 Reply Last reply Reply Quote 0
      • M
        mistralyn
        last edited by May 21, 2013, 3:47 AM

        After digging around, there is post on m0n0wall forum. It seems re-authenticate time interval could be changed in xml config file.

        http://m0n0.ch/wall/list/showmsg.php?id=312/54

        We use FreeRadius and Rodopi billing software. We setup a test gateway and
        enabled captive portal using PFSense. We did not specify an idle timeout
        or hard time. We enabled "re-authenticate user every 1 minute". We cannot
        enable hard timeouts or idle timeouts for fear VOIP customers will get
        sideways. So our only option is to re-authenticate every 1 minute in order
        to terminate their service if they fail to pay their subscription.

        Since the billing system only runs once per day to cut off users
        (essentially just makes them absent in the RADIUS users file), is there a
        way to change this 1 minute to 1 hour or 1 day? If so, would I be making
        resource problems worse by forcing the gateway to track things longer?
        Yes, its a hidden option in the configuration (meaning you should backup
        your config, manually adapt it and restore the adapted config)

        <captiveportal><croninterval>secondsblah</croninterval>
        othercaptiveportalblah</captiveportal>

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received