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

    Not seeing rule description in logs

    Scheduled Pinned Locked Moved NAT
    5 Posts 2 Posters 553 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
      biggsy
      last edited by

      Added a new NAT today on OPT (DSL) interface today and watched the logs for a while.  All good.

      Once logging is disabled in the firewall rule, though, the earlier logs don't show the rule description.

      Maybe I just never noticed this but is it the expected behaviour?
      Capture.PNG
      Capture.PNG_thumb

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Huh?  Those rules are different rules you can see that one if 5430, and other is 1540..

        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
        • B
          biggsy
          last edited by

          Yeah, sorry about the confusing screenshot.  I'm only talking about 1540.

          With logging set on for 1540 the rule description is shown.  Turn it off (as in the image) and the description disappears.

          Edit:

          Screencap with logging turned back on

          Capture2.PNG
          Capture2.PNG_thumb

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Why would a rule that is not set to log be logged need a description ;)

            If something is not suppose to be in the log, why would the log need to show its description… So I would say its expected behavior to be honest..

            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
            • B
              biggsy
              last edited by

              @johnpoz:

              Why would a rule that is not set to log be logged need a description ;)

              If something is not suppose to be in the log, why would the log need to show its description… So I would say its expected behavior to be honest..

              Because it was set to be logged and is still in the log - at least until the log rolls over.  Sure, if the rule had been deleted, no description available.

              However, the rule IS still there, with its description (and pf label), so why have the display of the description depend on whether logging for the rule is currently disabled or not?

              Perhaps it is by design but I'd never noticed it before, so I thought I'd ask.  Day to day it's no big deal.

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