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

    Cosmetic bug: Counters are not measured in bytes

    Scheduled Pinned Locked Moved 1.2.1-RC Snapshot Feedback and Problems-RETIRED
    4 Posts 3 Posters 2.8k 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.
    • B Offline
      berniem
      last edited by

      On the "Status -> Interfaces", there's a line at the bottom that reads:

      "Note: In/out counters will wrap at 32bit (4 Gigabyte) !"

      I suspect the word "billion" is meant instead of "Gigabyte" since "4 Gigabyte" describes an amount of storage rather than the maximum number a counter can reach.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG Offline
        GruensFroeschli
        last edited by

        This is no cosmetical bug.
        2^32 = 4'294'967'296 (= 4 Giga)
        It means that number of bytes can be transfered until the counter overflows.
        After you transfer 4 Gigabyte of data over the firewall the counter will start again at 0 byte.

        Gigabyte is not only used to describe how much data can be stored on a device.
        It is a general term to quantify data.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • W Offline
          wallabybob
          last edited by

          I think the original poster was making the point that the counters on that page are labelled "In/out packets" and "In/out errors" and that neither of these directly measure bytes. So, strictly speaking, they don't wrap at any number of bytes.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG Offline
            GruensFroeschli
            last edited by

            Ok that would make sense :)
            But the 4 Gigabyte in note refers to the amount of data that will be transfered until the counter overflows.

            It's not like gigabyte stands next to the error-counter itself.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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