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

    See rule name in web log?

    Firewalling
    4
    5
    4.2k
    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.
    • M
      mavsol
      last edited by

      Hello,

      First post. I have been lurking for the last few months and using Pfsense since about September.

      Is is possible to patch or configure the system to see the rule name in web log? This is very useful when traffic is blocked that you think shouldn't be.

      I have seen this question before: http://forum.pfsense.org/index.php/topic,20077.0.html but no answer.

      1 Reply Last reply Reply Quote 0
      • M
        mavsol
        last edited by

        Oops 3 min later I found this post: http://forum.pfsense.org/index.php/topic,22113.0.html
        Now I have a second question: When I click on the red X etc. to see the rule name some of them are blank.
        The popup says "The rule that triggered this action is:" and that is all it says. Why might the name be blank?

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          Did you put a name into the description field of each rule?

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • R
            Rezin
            last edited by

            @mavsol:

            The popup says "The rule that triggered this action is:" and that is all it says. Why might the name be blank?

            I've seen this happen when the entry is already present in the logs, and you change a firewall rule.

            I'm guessing the firewall rule numbers (e.g., "diag_logs_filter.php?getrulenum=193") are changed when you add/delete rules, so therefore the description will either be for another rule altogether (added or deleted), or blank (deleted).

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

              @mavsol:

              Is is possible to patch or configure the system to see the rule name in web log? This is very useful when traffic is blocked that you think shouldn't be.

              Unfortunately, the only reference to the rule in the pf log is the rule number, and since this number can change (as the poster before me guessed correctly), it's not 100% reliable. There's no easy way to capture this when it's actually logged either.

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