Navigation

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

    CaptivePortal not counting traffic for specific domain

    Captive Portal
    2
    2
    526
    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.
    • R
      rvolwater last edited by

      Hello,

      We currently have CaptivePortal+FreeRadius+MySQL running, with mobile devices connecting to it. We can see the data usage of all connected devices, based on MAC address. We can block the devices based on a max amount of traffic in MySQL.

      However, for 1 domain, the traffic isn't counted. We've tested several files from
      http://www.glasvezel.nu/speedtest-servers-100mb-1000mb-bin
      to test speed and traffic counting. All the files from different providers are counted correctly, except the files from www.colocenter.nl, they are not counted. I can see (using tcpdump) the traffic passing the CaptivePortal from le1 to le0 and back again. The files are downloaded completely to the mobile device.

      For instance, the following files can downloaded 'for free':
      http://www.colocenter.nl/speedtest/10mb.bin
      http://www.colocenter.nl/speedtest/25mb.bin
      http://www.colocenter.nl/speedtest/100mb.bin

      Is there any way I can analyse why these files aren't counted? I've also tried copying the files to a different domain, but then they are counted correctly.

      The domain colocenter.nl and IP 5.39.184.5 are not in the list of 'Allowed IP addresses' or 'Allowed Hostnames'.

      1 Reply Last reply Reply Quote 0
      • Y
        yanqian last edited by

        Hi,
        I tried to download the files from those links you provided, they are counted correctly.
        I am using 2.2.4.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post