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

Rules Show Strange Byte Count

Scheduled Pinned Locked Moved General pfSense Questions
22 Posts 6 Posters 1.9k 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.
  • J
    johnpoz LAYER 8 Global Moderator @MaxK 0
    last edited by May 31, 2023, 9:43 AM

    @MaxK-0 how long did it take to go - like that? Did it count up really fast to a very large number?

    What if you change the rule to just be your source net, which I assume is this barsoumsec net? Why would you have any there as the source - is this a transit network for downstream networks that would not be this barsoumsec net?

    An intelligent man is sometimes forced to be drunk to spend time with his fools
    If you get confused: Listen to the Music Play
    Please don't Chat/PM me for help, unless mod related
    SG-4860 24.11 | Lab VMs 2.8, 24.11

    M 1 Reply Last reply May 31, 2023, 11:32 AM Reply Quote 0
    • M
      MaxK 0 @johnpoz
      last edited by May 31, 2023, 11:32 AM

      @johnpoz It took maybe a few hours for it to revert. It seems to make it into the GiB range then goes to the strange number.

      Source net does not matter (happened with any and barsoumsec):

      e0002639-2925-4c7b-a024-68de410b7a5a-image.png

      C 1 Reply Last reply May 31, 2023, 1:23 PM Reply Quote 0
      • C
        cmcdonald Netgate Developer @MaxK 0
        last edited by May 31, 2023, 1:23 PM

        @MaxK-0

        What platform/hardware are you on?

        If you execute the following in the Execute PHP Commands section under Diagnostics > Command Prompt:

        print_r(pfSense_get_pf_rules());
        

        After finding the problematic rules, what do they show for bytes ? This will tell me where in the stack the issue is

        Need help fast? https://www.netgate.com/support

        M 1 Reply Last reply May 31, 2023, 2:24 PM Reply Quote 0
        • M
          MaxK 0 @cmcdonald
          last edited by May 31, 2023, 2:24 PM

          @cmcdonald SG-3100. I rebooted and that did not help. Count gets strange after crossing 2 GiB.

          a2f62abf-a76c-4822-a58f-3e32dedfa81b-image.png

          Output from print_r:

          6c9d961d-4913-4954-b7f9-9ebbb43d2d36-image.png

          81bdada5-835a-4a01-9601-4deca6c9bd66-image.png

          C J 2 Replies Last reply May 31, 2023, 8:56 PM Reply Quote 0
          • C
            cmcdonald Netgate Developer @MaxK 0
            last edited by cmcdonald May 31, 2023, 8:58 PM May 31, 2023, 8:56 PM

            @MaxK-0 Yea, it's an overflow caused by PHP limitations on 32bit platforms. It's cosmetic, but is something we should fix. Internally pf(4) stores counters as uint64. However, PHP on 32bit can only represent integers up to 2,147,483,647.

            Need help fast? https://www.netgate.com/support

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @MaxK 0
              last edited by May 31, 2023, 10:43 PM

              @MaxK-0 said in Rules Show Strange Byte Count:

              SG-3100

              Well they just extended the $60 off upgrade for a 4100 ;)

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              M 1 Reply Last reply May 31, 2023, 11:24 PM Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by May 31, 2023, 11:00 PM

                Opened a bug for this: https://redmine.pfsense.org/issues/14440

                M 1 Reply Last reply May 31, 2023, 11:24 PM Reply Quote 0
                • M
                  MaxK 0 @johnpoz
                  last edited by May 31, 2023, 11:24 PM

                  @johnpoz I was thinking about that but couldn't tell my wife, with a straight face, that I needed to upgrade because of an 32 bit integer overflow display problem (she worked in IT too). On a side note, I was able to supercharge my car by telling her I needed an "active induction system" - she heard "astro projection system." :-)

                  S G 2 Replies Last reply Jun 1, 2023, 2:19 AM Reply Quote 0
                  • M
                    MaxK 0 @stephenw10
                    last edited by May 31, 2023, 11:24 PM

                    @stephenw10 Thank you very much.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @MaxK 0
                      last edited by Jun 1, 2023, 2:19 AM

                      @MaxK-0 said in Rules Show Strange Byte Count:

                      I needed to upgrade because of an 32 bit integer overflow display problem (she worked in IT too)

                      Seems like a perfectly good reason IT to upgrade!
                      https://en.wikipedia.org/wiki/Year_2038_problem
                      (if we get our clients through Y2K and Y2K38 we should be good for a while...right? right? hello?)

                      Interesting this bug didn't seem to be an issue on 23.01...? a4de1144-9f08-4399-b253-a8d4ef540e1b-image.png

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote ๐Ÿ‘ helpful posts!

                      S 1 Reply Last reply Jun 1, 2023, 11:38 AM Reply Quote 0
                      • G
                        Gertjan @MaxK 0
                        last edited by Gertjan Jun 1, 2023, 6:36 AM Jun 1, 2023, 6:15 AM

                        @MaxK-0

                        I would pay a small fortune for that one : coming home, put on the friendly and puzzled face, and ask : honey, can you take care of the overflow issue ?

                        edit :
                        4100 using 23.05 :

                        702aa1e1-98b1-4fa5-8b57-624e426cec5a-image.png

                        IPv6 takes the lead !

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        J 1 Reply Last reply Jun 1, 2023, 8:52 AM Reply Quote 1
                        • J
                          johnpoz LAYER 8 Global Moderator @Gertjan
                          last edited by Jun 1, 2023, 8:52 AM

                          @Gertjan said in Rules Show Strange Byte Count:

                          IPv6 takes the lead !

                          hahah..

                          Not here, on a "old" 4860 on 23.05

                          nothere.jpg

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator @SteveITS
                            last edited by Jun 1, 2023, 11:38 AM

                            @SteveITS said in Rules Show Strange Byte Count:

                            Interesting this bug didn't seem to be an issue on 23.01...?

                            On a 3100?

                            S 1 Reply Last reply Jun 1, 2023, 11:52 AM Reply Quote 0
                            • S
                              SteveITS Galactic Empire @stephenw10
                              last edited by Jun 1, 2023, 11:52 AM

                              @stephenw10 said in Rules Show Strange Byte Count:

                              @SteveITS said in Rules Show Strange Byte Count:

                              Interesting this bug didn't seem to be an issue on 23.01...?

                              On a 3100?

                              Yes, I didn't specify that, did I. You made me check again though since we have a few routers in our office...make sure I connected to the right one yesterday. :) (tip: colored login page backgrounds)

                              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                              Upvote ๐Ÿ‘ helpful posts!

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Jun 1, 2023, 11:56 AM

                                Ha, yup, I've run out of colours at this point!

                                S 1 Reply Last reply Jun 1, 2023, 1:18 PM Reply Quote 0
                                • S
                                  SteveITS Galactic Empire @stephenw10
                                  last edited by Jun 1, 2023, 1:18 PM

                                  @stephenw10 said in Rules Show Strange Byte Count:

                                  Ha, yup, I've run out of colours at this point!

                                  In your next team meeting point out most video drivers now can show 16 million. #a3bd44 and #a3bd43 are different after all. ;)

                                  Perhaps a checkbox to show the router hostname on the login screen?

                                  But I digressโ€ฆ

                                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                  Upvote ๐Ÿ‘ helpful posts!

                                  S 1 Reply Last reply Jun 4, 2023, 7:46 PM Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Jun 1, 2023, 2:18 PM

                                    There are several options being discussed..

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SteveITS Galactic Empire @SteveITS
                                      last edited by Jun 4, 2023, 7:46 PM

                                      @SteveITS said in Rules Show Strange Byte Count:

                                      Perhaps a checkbox to show the router hostname on the login screen?

                                      โ€œShow hostname on login bannerโ€
                                      Oh hey look at that. ๐Ÿ™„

                                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                      Upvote ๐Ÿ‘ helpful posts!

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Jun 5, 2023, 2:21 PM

                                        Be nice to show other things there maybe. ๐Ÿ˜‰

                                        1 Reply Last reply Reply Quote 0
                                        22 out of 22
                                        • First post
                                          22/22
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                          This community forum collects and processes your personal information.
                                          consent.not_received