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

    Firewall rules hitcount for pfSense 2.1.5 and 2.2.4

    Scheduled Pinned Locked Moved webGUI
    50 Posts 16 Posters 17.4k 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.
    • BBcan177B Offline
      BBcan177 Moderator
      last edited by

      @marcelloc:

      The trackerid is used to count rules match.
      If it get merged one day we will need to change the way pfblocker get his rules.

      pfBlockerNG is already using tracker IDs…

      The issue with the current "Rule Count" code, is that its modifying the Description field in certain coditions which removes the human-readable text.... So I don't think the code in the pfBNG package needs to be changed. Let me know if you see it differently and I will consider making changes to the pfBNG code.

      Thanks

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

      1 Reply Last reply Reply Quote 0
      • marcellocM Offline
        marcelloc
        last edited by

        Great. But first the code merge :)

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • RonpfSR Offline
          RonpfS
          last edited by

          @marcelloc:

          The trackerid is used to count rules match.
          If it get merged one day we will need to change the way pfblocker get his rules.

          But the patches changes things in "Status: System logs: Firewall" and "pftop/Label", not the pfBlockerNG tabs.

          2.4.5-RELEASE-p1 (amd64)
          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

          1 Reply Last reply Reply Quote 0
          • L Offline
            loos Netgate
            last edited by

            I'm working to merge this request, but in a way it doesn't break any of existing code.

            We'll have this for 2.3.

            Thanks for this great contribution.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bennyc
              last edited by

              @loos:

              I'm working to merge this request, but in a way it doesn't break any of existing code.

              We'll have this for 2.3.

              Thanks for this great contribution.

              Sounds great, thanks !  :) :)

              4x XG-7100 (2xHA), 1x SG-4860, 1x SG-2100
              1x PC Engines APU2C4, 1x PC Engines APU1C4

              1 Reply Last reply Reply Quote 0
              • marcellocM Offline
                marcelloc
                last edited by

                It's close to get merged  8) after loos-br function added to 2.3

                https://github.com/pfsense/pfsense/pull/1901

                hit_count_23.PNG
                hit_count_23.PNG_thumb
                hit_count_23_02.PNG
                hit_count_23_02.PNG_thumb

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • B Offline
                  brandur
                  last edited by

                  Exciting ;D
                  (fingers crossed)

                  SG-4860 w/128GB SSD & 8GB RAM

                  1 Reply Last reply Reply Quote 0
                  • JackLJ Offline
                    JackL
                    last edited by

                    Congrats Marcelloc!

                    Ou did an excellent work with the hitcount. I look forward to see the feature in pfSense 2.3! ;)

                    []`s
                    Jack

                    Treinamentos de Elite: http://sys-squad.com
                    Soluções: https://conexti.com.br

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      Valex
                      last edited by

                      Great work marcelloc!
                      Hope this feature will be in 2.3 because it is so useful.
                      Last idea of Renato seems to be great too because you have dynamic counters without reloading the page.

                      Edit: Seems like Renato is merging it ;)

                      1 Reply Last reply Reply Quote 0
                      • jimpJ Offline
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        2.3 does now have a hit counter on the rules view, though it was reworked a bit in the process.

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • JackLJ Offline
                          JackL
                          last edited by

                          @jimp:

                          2.3 does now have a hit counter on the rules view, though it was reworked a bit in the process.

                          Great!

                          Congrats for all! ;-)

                          []`s
                          Jack

                          Treinamentos de Elite: http://sys-squad.com
                          Soluções: https://conexti.com.br

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