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

    Rule numbers on logs, but not on rules page?

    Scheduled Pinned Locked Moved Firewalling
    7 Posts 3 Posters 1.1k 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.
    • W
      wkearney99
      last edited by

      Ok, I see a bunch of rules being logged on /status_logs_filter.php as "USER_RULE (1518191846)" but nowhere within /firewall_rules.php?if=lan do I see those numbers.

      How do I get the log to show the a friendlier name.  Or where via the web UI do I find a cross-reference to get me those numbers?

      1 Reply Last reply Reply Quote 0
      • W
        wkearney99
        last edited by

        And how does the system determine how to number a rule?  Might it be possible to manually edit a rule to give it a more readily recognized number?  I'd be fine if I had short numbers for the rules.  But a lot of long ones does not make for easy deciphering of logs.

        1 Reply Last reply Reply Quote 0
        • B
          biggsy
          last edited by

          You can have the rule description and number displayed in the log by changing

          Status > System Logs > Settings : Where to show rule descriptions

          1 Reply Last reply Reply Quote 0
          • W
            wkearney99
            last edited by

            Mine were already setup to "Display as column" and listed them like: "USER_RULE (1518191846)"

            The next option is "Display as second row" and that just bumps the same "USER_RULE (1518191846)" to the next line.

            Thing is, there's no place I've found in the firewall rules area that tells me which of my rules is #1518191846

            Where do I at least find THAT?

            1 Reply Last reply Reply Quote 0
            • W
              wkearney99
              last edited by

              OH, WAIT…. yeah... found out why... the Description field for a rule is what gets used for these.

              So, yeah, if you don't have a description in there... it defaults to reading "USER_RULE" and that number.

              Putting text into the description has that shown in the logs.  So, yay for the OBVIOUS.

              My second question still stands though, where would I cross-reference one of those numbers to the actual rule?

              1 Reply Last reply Reply Quote 0
              • B
                biggsy
                last edited by

                Click on the pass/block icon on the left-most side of the displayed log and it will show you the actual rule - if I understand your question correctly.

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

                  There isn't a way to see a tracker ID from the rule list or the rule edit page but it should be fairly easy to add in. I opened a ticket for it here https://redmine.pfsense.org/issues/8348

                  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
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.