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

    Can someone explain this behavior

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 916 Views 2 Watching
    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.
    • E Offline
      eshwayri
      last edited by

      2.5.2-RELEASE (amd64) seeing events like this in my log:
      firewall_log.png

      This makes no sense. There are three blocking rules for this interface:
      firewall_rules.png

      Only the bottom rule is set to log. The first rule is set to block IPv4 broadcasts, but not log. The second rule is set to block all IPv6, but not log. The last rule is set to block anything IPv4 left, and log it. This is what the middle rule looks like:

      ipv6_rule.png

      Can someone explain to me why this rule isn't matched? and why a log entry is still being created?

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

        @eshwayri because you have IPv6 blocked - and it creates a rule that would be above those?

        blockipv6.jpg

        You should enabled description being shown so you know what rule is blocking what.

        ruledescription.jpg

        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 25.07 | Lab VMs 2.8, 25.07

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          eshwayri @johnpoz
          last edited by

          @johnpoz No; I don't have that set.

          general_ipv6.png

          Good idea to add that filed, but...

          rule_info.png

          So, as you can see it's being blocked by the rule that was told NOT to log, but it logged it anyway.

          1 Reply Last reply Reply Quote 0
          • E Offline
            eshwayri
            last edited by

            Ah I have to check this box to NOT block IPv6. I flipped that; let's see if it fixes it.

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

              @eshwayri You did have it set ;) unchecked is block.. As you can see by the description in your logs ;)

              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 25.07 | Lab VMs 2.8, 25.07

              E 1 Reply Last reply Reply Quote 1
              • E Offline
                eshwayri @johnpoz
                last edited by

                @johnpoz Thank you. The logic on that option is inverted, and it didn't compute.

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