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

    Disable logging of default deny

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 508 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.
    • P
      peterlecki
      last edited by

      I wanted to turn off "default deny" logging so I created a rule at the end of the rule set denying all source to all destination on all ports and protocols. Rule is set to not log. Yet, "default deny" still logs.

      defaultdeny.png

      This solution was suggested here: https://forum.netgate.com/topic/10505/disable-logging-of-default-deny-rule

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

        @peterlecki if you don't want to log default, then just turn it off.

        In the system logs settings
        logs.jpg

        What exactly was being logged that you don't want to see? Keep in mind while that might not log IPv4, you could still be logging out of state traffic, etc.

        Where exactly did you place that rule? It doesn't even show that its being evaluated as of yet, see the 0/0 B means nothing has triggered that rule.

        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

        P 1 Reply Last reply Reply Quote 1
        • P
          peterlecki @johnpoz
          last edited by

          @johnpoz
          That rule was at the very end of the rule set. I only made it because saw that suggested in another thread. I was hoping for such a setting that you pointed out that the previous threads I read were not aware of so thank you for this.

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

            @peterlecki creating a rule at the end that blocks and does not log can work for some traffic. But that rule for example wouldn't stop out of state traffic. wouldn't stop ipv6 traffic.

            Which is why I asked to see what where you actually seeing in the logs..

            And are you seeing that rule evaluated - because again what you posted 0/0 which means that rule was never evaluated to not even not log something.

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