Navigation

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

    Not seeing rule description in logs

    NAT
    2
    5
    283
    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?

      1 Reply Last reply Reply Quote 0
      • johnpoz
        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
        2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

        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


          1 Reply Last reply Reply Quote 0
          • johnpoz
            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
            2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

            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