Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Query for "Rejected" packets possible?

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 1.1k 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.
    • C Offline
      ConfusedUser
      last edited by

      Hi All,

      I wanted to query rejected packets via the firewall logs and I saw it didn't show any results.
      Google and the pfSense forum told me, that pf is only logging pass or block - reject will be logged as blocked. That sounds like I won't be able to query for rejected packets in the Firewall log.

      If that is truly the case can someone from the Dev team remove the check box in the firewall logs? This is confusing really…

      Thanks,
      Mike
      Clipboard04.jpg
      Clipboard04.jpg_thumb

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

        yeah this seems to be an unusable check box, I just created a reject rule for icmp top of the list, marked as log.  But shows as blocked in the log not rejected.  If filter on reject nothing is shown.  Also tried reject of tcp port just to verify it wasn't something odd with icmp blocking, and same thing with tcp - in log shows block even though rule is set to reject..  So seems there would be no way to filter on rejected?

        reject.png
        reject.png_thumb

        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 26.07 | Lab VMs 2.9.0, 26.07

        1 Reply Last reply Reply Quote 0
        • C Offline
          ConfusedUser
          last edited by

          Should I report that as bug in redmine.pfsense.org ?

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

            Doesn't really seem like a bug, more like just a feature that is not really usable..  Unless you consider that them being logged as blocked vs rejected is the bug..  Not sure that is with pfsense and more something to do with PF itself.

            https://forum.pfsense.org/index.php?topic=50655.0
            "PF strictly logs block or pass, not reject. Reject is logged as blocked. "

            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 26.07 | Lab VMs 2.9.0, 26.07

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy