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

    Lots of blocks in log - any comments

    Scheduled Pinned Locked Moved Firewalling
    12 Posts 4 Posters 693 Views 5 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.
    • johnpozJ Offline
      johnpoz LAYER 8 Global Moderator @hspindel
      last edited by

      @hspindel Those entries about icmpv6 could be anything on your isp networks.. Do you see a bunch from different sources? You could set a rule on your wan to not log icmpv6 completely, or you could just block it to the noise your seeing ie ff02::1 which multicast address.

      As to the TCP:S from Ukraine - yeah the internet is a noisy place.. So sure you will see traffic to your IP from all over the globe..

      If your not able to use dhcpv6 with your isp, set your wan interface to none for IPv6

      ipv6.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.1 | Lab VMs 2.8, 25.07.1

      H 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @hspindel
        last edited by

        @hspindel we always turn off logging of the default block rules. Eliminates a LOT of log noise, and disk writes.

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

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

          @SteveITS said in Lots of blocks in log - any comments:

          we always turn off logging of the default block rules.

          Same here - I only log tcp syn directed to my wan IP, and then common udp ports. Just for curiosity really to see what ports might be trending at the moment ;)

          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.1 | Lab VMs 2.8, 25.07.1

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hspindel @johnpoz
            last edited by

            Thank you for the informative response.

            @johnpoz said in Lots of blocks in log - any comments:

            If your not able to use dhcpv6 with your isp, set your wan interface to none for IPv6

            ipv6.jpg

            That's the setting I missed -TYVM!

            1 Reply Last reply Reply Quote 0
            • H Offline
              hspindel @johnpoz
              last edited by hspindel

              @johnpoz said in Lots of blocks in log - any comments:

              Same here - I only log tcp syn directed to my wan IP, and then common udp ports. Just for curiosity really to see what ports might be trending at the moment ;)

              #johnpoz: Do you setup a new WAN firewall rule that overrides the default block in order to log tcp syn? Would you mind sharing the rules you set up?

              Thank you.

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

                @hspindel Just turn off default logging, and then here is what I have on wan

                wan.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.1 | Lab VMs 2.8, 25.07.1

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  hspindel @johnpoz
                  last edited by

                  @johnpoz Thank you very much for the rules. Seem to be working fine for me.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    CZvacko @hspindel
                    last edited by

                    I'm also looking way how to solve firewall log noise (for IPV6), but want to keep ON logging of the default block rules.
                    LanLogs.jpg
                    I was trying to create block rules (with "Log packets" disable) to eliminate related records, but they keep appear.
                    LanRules.jpg
                    I know there are hidden implicit rules, but they should be evaluated last, isnt it ? So when packet reach my own rule, should be blocked accordingly (and not logged). Or I dont understand it corectly ?

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

                      @CZvacko said in Lots of blocks in log - any comments:

                      I know there are hidden implicit rules, but they should be evaluated last,

                      Not when you click the BLOCK all IPv6 checkbox.. Or uncheck it if you will, if you don't want IPv6 noise, then allow IPv6, just don't create any allow rules.. Any noise then blocked by the default deny which is last, you can create rules above that do not log.

                      blockipv6.jpg

                      You can put in a feature request that if your blocking all ipv6, you should be able to not log it specific, but right now its tied to the log default deny.. When you uncheck the allow IPv6, it creates specific rules

                      # Block all IPv6
                      block in log quick inet6 all ridentifier 1000000003 label "Block all IPv6"
                      block out log quick inet6 all ridentifier 1000000004 label "Block all IPv6"
                      

                      If you allow it then those rules are not created, and if you just do not allow it, you can put in rules to not log it which are above the normal default deny rules

                      If you allow it, you could then create your own rules in floating just like the above that are auto created, but not put in the log part.

                      You could put in a feature request, that allows not logging when you block IPv6, maybe like the log settings that allow you not to log the bogon or rfc1918 rules.

                      ipv6log.jpg

                      I always thought it was a bit odd you couldn't do something like that, but then again I allow IPv6 and don't even log default deny - so never an issue for me..

                      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.1 | Lab VMs 2.8, 25.07.1

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        CZvacko @johnpoz
                        last edited by

                        @johnpoz
                        I think I understand it now, implicit/hidden firewall rules are generally evaluated last, but if the Allow IPv6 checkbox is enabled, implicit/hidden IPv6 rules are evaluated first (so other IPv6 rules from the user are not reachable).

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

                          @CZvacko said in Lots of blocks in log - any comments:

                          implicit/hidden firewall rules are generally evaluated last

                          No not the case at all.. For example there are hidden rules for dhcp, etc.. Yes the default deny rule is last..

                          If you explicit say block IPv6 by unchecking that box, then yes those are first.. How could that sort of rule not be first, you might have created rules that allow IPv6.. And since there is a default deny at the end any way for both ipv4 and ipv6.. Then yes wanting block all IPv6 would have to be first on the list.

                          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.1 | Lab VMs 2.8, 25.07.1

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