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

    Captive Portal bytes transferred in radius accounting is incorrect

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 4.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.
    • K
      ktrace
      last edited by

      I am running a 2.0-RC3 (i386) snapshot built on Tue Aug 2 05:38:08 EDT 2011. I am having an issue where the AcctInputOctets and AcctOutputOctets bytes sent in the captive portal radius accounting is incorrect. I have confirmed it is a problem with the ipfw command and not the radius logic.

      I did the following:

      1. Logged in as a new captive portal user.
      2. Downloaded a 50MB file.
      3. Ran the following command in pfSense:

      ipfw table 2 entrystats 192.168.1.100
      192.168.1.100/32 0 106246 315406522 1312348169

      You can see that it returns 315406522 which is about 300MB… six times higher than the actual data usage.

      I can confirm the problem existed in the RC3 snapshot built on Sun Jul 24 01:58:22 EDT 2011 as well as the latest build but it works as expected in the normal RC3 build. I can't seem to figure out what has changed. Any help would be extremely appreciated.

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

        Can you try various dates of snapshots and see if you can narrow it down? Is that i386 or amd64?

        1 Reply Last reply Reply Quote 0
        • K
          ktrace
          last edited by

          I will see if I can try to narrow it down to the first snapshot it stopped working in. I was testing with i386.

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            Do you have any bandwidth limits specified in CP?

            1 Reply Last reply Reply Quote 0
            • K
              ktrace
              last edited by

              Nope nothing special in the setup. I did a fresh install enabled captive portal on the LAN interface an had this issue.

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