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

    Radius stop packets contain no stats

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    3 Posts 3 Posters 1.0k 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.
    • F
      frankerooney
      last edited by

      Hi all,
        Just trying 2.2 beta for kicks, and noticed that although most things work ok, there seems to be an issue with zero sizes for input / output octets, and packets too in radius accounting stats.
      I've had a bit of a poke around and it seems to use the getVolume function which in turn uses pfsense_ipfw_tablestats, but I've no idea what that is, can't find it as a function anywhere in the php.
      Also, I'm not good enough with ipfw to find out the traffic stats manually. I got as far a looking at the tables with ipfw -x 2 table all list, but not sure about traffic.
      Anyone help?
      Thanks
      Andy

      1 Reply Last reply Reply Quote 0
      • U
        unox
        last edited by

        I also had this issue on 2.2 RC.
        Tried setting up CP + FreeRADIUS 2 with a bandwith quota, but the measured bandwith usage for the user was always 0 MB:
        "root: FreeRADIUS: Used amount of daily traffic by test is 0 MB of 20 MB! The user was accepted!!!"

        I then tried 2.1.5 and the exact same setup, and it worked like a charm.

        Setup:
        CP:
        Disable concurrent logins
        Enable per-user bandwidth restriction
        Send RADIUS accounting packets
        stop/start accounting
        Reauthenticate connected users every minute

        FreeRADIUS:
        Disable Acct_Unique

        • Unox
        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          Confirmed, ticket opened. https://redmine.pfsense.org/issues/4131

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