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

    Captive portal /free radius2 traffic counting seems buggy

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    9 Posts 2 Posters 2.6k 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.
    • A
      Alan87i
      last edited by

      I just updated a test box I have not had time to mess with for a few months.

      I have CP and FR2 setup using the mac address as the user name/ same pass word.
      I noticed right off that the same old bug still exists , the traffic is counting up super fast. I set 2048MB of traffic for the user and in no time browsing the net and a few utube videos the user is disconnected.

      The system resets the daily usage at 12:00 . The pc was on all night (4+ hours,) and not being used it has racked up over 400MB of traffic according to fr2 but the RRD graphs show 0 traffic all night.

      My goal was to use this setup with allowed IP's for work and the rest of the internet is limited . Sort of an abuse limiter. Users on break can surf the net , but not hog it watching videos all day instead of working.
      Any idea when this might get fixed?
      Allan

      1 Reply Last reply Reply Quote 0
      • A
        Alan87i
        last edited by

        Any comment ?
        This has been a problem for what 2 years?
        Another test passing a 700mMB file through the portal (pfsense wan to lan) racked up well over 2400MB.

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

          It was reported fixed since the issue investigation.
          Can you provide various runs of the stats collection of pfSense?

          1 Reply Last reply Reply Quote 0
          • A
            Alan87i
            last edited by

            Mar 20 09:45:21 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 0 MB of 2048 MB! The user was accepted!!!
            Mar 20 09:45:52 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 126 MB of 2048 MB! The user was accepted!!!
            Mar 20 09:46:59 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 682 MB of 2048 MB! The user was accepted!!!
            Mar 20 09:48:01 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 1414 MB of 2048 MB! The user was accepted!!!
            

            That was after resetting the used octets to zero and downloading a 700MB file through the interfaces.

            I remember it did seem to be working back in July 2012.
            I was waiting for the final release and decided to try the last few snaps again. Same bug is back.

            Mar 20 10:00:18 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 0 MB of 2048 MB! The user was accepted!!!
            Mar 20 10:01:26 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 271 MB of 2048 MB! The user was accepted!!!
            Mar 20 10:02:35 	root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 977 MB of 2048 MB! The user was accepted!!!
            Mar 20 10:03:43 	root: FreeRADIUS: Credentials are probably correct but the user 00:1b:38:b0:e1:51 has reached the daily Amount of Upload and Download Traffic which is 2116 MB of 2048 MB! The user was rejected!!!
            

            This was trying to Download 1.5 gb through, it got to 1.1GB and was booted.

            1 Reply Last reply Reply Quote 0
            • A
              Alan87i
              last edited by

              BandwidthD this morning  Daily

              192.168.1.23	7.7M
              ``` 
              
              Pf system log
              
              

              Mar 23 08:27:06 root: FreeRADIUS: Used amount of daily traffic by 00:1b:38:b0:e1:51 is 710 MB of 10448 MB! The user was accepted!!

              1 Reply Last reply Reply Quote 0
              • A
                Alan87i
                last edited by

                After watching the logs for a few days now. 1 Laptop with ubuntu ,authed with radius2 the logs show 1 MB increase every minute and the laptop is idle with the browser closed.

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

                  Can you show me the counters through
                  ipfw table 1 $ip entrystats

                  for difference of 1 download?

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alan87i
                    last edited by

                    @ermal:

                    Can you show me the counters through
                    ipfw table 1 $ip entrystats

                    for difference of 1 download?

                    I'm going to need help with getting that data. I tried

                    /root(9): ipfw table 1 entrystats 192.168.1.23                              " Ip of laptop"
                    ipfw: Context is mandatory: No such file or directory

                    Did some google searching and can't quite figure out how to get these entry stats.
                    Thanks Allan

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alan87i
                      last edited by

                      I've tried all I can find and can't get the command to work for showing the entrystats.
                      Open to suggestions.
                      Thanks

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