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

    Correct evaluation for "Acct-Interim-Interval" from RADIUS

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 894 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.
    • E
      Easter
      last edited by

      There is a patch submitted for review that correct the evaluation for "Acct-Interim-Interval" from RADIUS.
      BUG: Setting "Acct-Interim-Interval :=600" in FreeRadius2 evaluates to 'random' number with PfSense 2.1.
      Possibly a bug related to:
      https://forum.pfsense.org/index.php?topic=60079.0
      https://forum.pfsense.org/index.php?topic=60262.0

      The github pull request is https://github.com/pfsense/pfsense/pull/1285

      I'm using this patched version of radius.inc in production environment successfully.

      Thank you_

      
      --- /etc/inc/radius.inc.orig    2014-09-19 10:16:10.000000000 +0200
      +++ /etc/inc/radius.inc 2014-09-19 10:17:00.000000000 +0200
      @@ -686,7 +686,7 @@
                       break;
      
                   case 85: /* Acct-Interim-Interval: RFC 2869 */
      -                $this->attributes['interim_interval'] = radius_cvt_int($datav[1]);
      +                $this->attributes['interim_interval'] = radius_cvt_int($data);
                       break;
                   }
               }
      
      
      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        It has been merged already

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.