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

Problem with Log Filterlog

Scheduled Pinned Locked Moved Firewalling
8 Posts 4 Posters 337 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.
  • O
    oscar.pulgarin
    last edited by Mar 7, 2024, 2:12 PM

    I am having a problem since the traffic direction should normally be "in" or "out", and in the logs it appears as unknown.
    Has anyone had this problem? How do you correct it?

    Mar 7 09:02:30 FWASK filterlog[48348]: 85,,,4294967295,igb4,match,pass,unkn(%u),4,0x0,,127,2618,0,none,17,udp,43,172.24.1.6,108.61.171.103,27070,21116,23

    O 1 Reply Last reply Mar 7, 2024, 2:30 PM Reply Quote 0
    • O
      oscar.pulgarin @oscar.pulgarin
      last edited by Mar 7, 2024, 2:30 PM

      @oscar-pulgarin @johnpoz do you know about this?

      J 1 Reply Last reply Mar 7, 2024, 2:37 PM Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator @oscar.pulgarin
        last edited by Mar 7, 2024, 2:37 PM

        @oscar-pulgarin I rarely look at raw logs.. What is logging that traffic? Do you have some rule that does both directions set to log in your floating tab?

        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 24.11 | Lab VMs 2.7.2, 24.11

        O 1 Reply Last reply Mar 7, 2024, 2:41 PM Reply Quote 0
        • O
          oscar.pulgarin @johnpoz
          last edited by Mar 7, 2024, 2:41 PM

          @johnpoz No, that has not been defined.
          These are logs that are generated from Filterlog, that is, the logs of the blocking actions or allowing traffic to and from the Pfsense.
          The part that appears unkn(%u) should normally be "in" or "out"

          J 1 Reply Last reply Mar 7, 2024, 3:02 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @oscar.pulgarin
            last edited by johnpoz Mar 7, 2024, 3:03 PM Mar 7, 2024, 3:02 PM

            @oscar-pulgarin I just switched over to showing raw longs, and did a find for last 3000 entries and only thing I see with unkn in it is this

            Mar 7 07:57:48 sg4860 filterlog[56621]: 290,,,1512830048,igb2,match,pass,in,4,0x0,,64,0,0,DF,6,tcp,68,192.168.2.203,52.14.255.202,50722,443,0,S,886123752,,65535,,mss;nop;wscale;Unknown Option %u;nop;nop;TS;sackOK;eol
            

            Which has to do with option, not in out direction

            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 24.11 | Lab VMs 2.7.2, 24.11

            J 1 Reply Last reply Apr 11, 2025, 3:23 AM Reply Quote 0
            • J
              jmchenry @johnpoz
              last edited by Apr 11, 2025, 3:23 AM

              Just adding info to the thread, I'm seeing this as well.

              2025-04-10 23:15:04.712665-04:00 FRONTIER pfB_PRI5_v4 auto rule (1770004411)
              2025-04-10 23:15:04.712592-04:00 FRONTIER pfB_Europe_v4 auto rule (1770004467)

              First action is block, second is unkn(%u)

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by Apr 11, 2025, 2:57 PM

                This is likely from a rule with the "match" action somewhere, such as Floating rules.

                It should be fixed on 25.03 & 2.8.0, or at least appear better in the GUI logs:

                https://redmine.pfsense.org/issues/16093

                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!

                J 1 Reply Last reply Apr 11, 2025, 4:23 PM Reply Quote 0
                • J
                  jmchenry @jimp
                  last edited by Apr 11, 2025, 4:23 PM

                  I just checked, you are correct. First action on PRI5 is block and second action on Europe is match =)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received