Navigation

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

    Reject rule displays as block in firewall logs

    Firewalling
    2
    2
    718
    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.
    • Z
      zardoz last edited by

      Hi,

      I have set all my rules to reject rather than block. However when I look at the firewall logs, the reject rule has the red x beside it instead of the yellow x as in the rule list.

      Is this just a cosmetic issue? or is something wrong?

      Pic 1 is the log
      Pic 2 is the rule

      TIA.




      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Reject only works for certain protocols (tcp, udp). For protocols where reject does not work, it acts like a block rule.

        From pf.conf(5):

        return    A TCP RST is returned for blocked TCP packets, an ICMP
                            UNREACHABLE is returned for blocked UDP packets, and all
                            other packets are silently dropped.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post