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

    Log Browser always empty

    Scheduled Pinned Locked Moved pfBlockerNG
    54 Posts 11 Posters 11.6k 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.
    • RonpfSR
      RonpfS @SebM
      last edited by

      @sebm Go to the shell or Diagnostics / Command prompt :

      ls -al /var/log/pfblockerng
      
      total 41989
      drwxr-xr-x  2 unbound  unbound        13 Dec 15 17:15 .
      drwxr-xr-x  7 root     wheel          30 Oct  2 19:39 ..
      -rw-------  1 unbound  unbound  56569458 Dec 15 18:22 dns_reply.log
      -rw-------  1 unbound  unbound  12481370 Dec 15 18:19 dnsbl.log
      -rw-------  1 unbound  unbound   3320732 Mar 29  2019 dnsbl.log_old
      -rw-------  1 root     wheel    15909775 Dec 15 17:15 dnsbl_parsed_error.log
      -rw-------  1 root     wheel      626075 Dec 15 17:15 error.log
      -rw-------  1 root     wheel      180038 Dec 15 17:15 extras.log
      -rw-------  1 root     wheel    20548660 Dec 15 18:21 ip_block.log
      -rw-------  1 root     wheel      330794 Dec 15 17:15 ip_permit.log
      -rw-r--r--  1 root     wheel         120 Dec 10 04:00 maxmind_ver
      -rw-------  1 root     wheel    10299841 Dec 15 17:15 pfblockerng.log
      -rw-r--r--  1 unbound  unbound         0 Oct  2 18:53 py_error.log
      

      2.4.5-RELEASE-p1 (amd64)
      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

      johnpozJ SebMS 2 Replies Last reply Reply Quote 1
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @RonpfS
        last edited by

        ^ Exactly.. good check!

        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.8, 24.11

        1 Reply Last reply Reply Quote 0
        • SebMS
          SebM @RonpfS
          last edited by

          @ronpfs Thanks for your comment.
          This is the output I get for that command:

          total 13696
          drwxr-xr-x  2 root  wheel      512 Dec 15 15:10 .
          drwxr-xr-x  7 root  wheel     1024 Jun  2  2020 ..
          -rw-------  1 root  wheel  2382734 Dec 15 15:24 dnsbl.log
          -rw-------  1 root  wheel    16336 Dec 15 15:01 dnsbl_parsed_error.log
          -rw-------  1 root  wheel   664071 Dec 15 15:10 error.log
          -rw-------  1 root  wheel     3331 Dec 15 15:01 extras.log
          -rw-------  1 root  wheel  3011054 Dec 15 15:01 ip_block.log
          -rw-r--r--  1 root  wheel      120 Dec 13 15:01 maxmind_ver
          -rw-------  1 root  wheel   730595 Dec 15 15:01 pfblockerng.log
          
          johnpozJ RonpfSR 2 Replies Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @SebM
            last edited by johnpoz

            @sebm Well you should be able to view those.. call up say the maxmind ver

            Your not logged in as some other account other than admin into the webgui are you?

            maxmind.png

            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.8, 24.11

            SebMS 1 Reply Last reply Reply Quote 0
            • RonpfSR
              RonpfS @SebM
              last edited by RonpfS

              @sebm

              tail /var/log/pfblockerng/pfblockerng.log
              
              [ SCANR_Shodan_v4 ]		 exists.
              [ SCANR_ISC_Onyphe_v4 ]		 exists.
              [ DNSBLIP_v4 ]			 exists.
              
              ===[  Aliastables / Rules  ]==========================================
              
              No changes to Firewall rules, skipping Filter Reload
              No Changes to Aliases, Skipping pfctl Update
              
               UPDATE PROCESS ENDED
              

              Then check System log, Console to see if any errors are displayed.
              No Crash report in the Dashboard ?

              2.4.5-RELEASE-p1 (amd64)
              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

              SebMS 1 Reply Last reply Reply Quote 0
              • SebMS
                SebM @johnpoz
                last edited by

                @johnpoz I confirm being logged in as admin, and do not even have other users created.

                I tried to open that very file after having enabled MaxMind the other day, before posting here.

                Here's the sad screenshot of what I see:
                Screen Shot 3.png

                johnpozJ RonpfSR 2 Replies Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @SebM
                  last edited by johnpoz

                  Can you try it with a different browser? Are you using any sort of addons in your browser that could block stuff?

                  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.8, 24.11

                  SebMS 1 Reply Last reply Reply Quote 1
                  • SebMS
                    SebM @RonpfS
                    last edited by

                    @ronpfs There you go my friend:

                    Shell Output - tail /var/log/pfblockerng/pfblockerng.log

                    Alias table IP Counts
                    -----------------------------
                       22091 /var/db/aliastables/pfB_PRI1_v4.txt
                    
                    pfSense Table Stats
                    -------------------
                    table-entries hard limit   400000
                    Table Usage Count         140261
                    
                     UPDATE PROCESS ENDED [ 12/15/20 15:01:40 ]
                    

                    I don't see any errors in Status / System Logs / System / General

                    No crash report in Dashboard that I can see.

                    1 Reply Last reply Reply Quote 0
                    • RonpfSR
                      RonpfS @SebM
                      last edited by

                      @sebm Try F5 or CTRL-F5 to refresh the code.

                      Maybe something went wrong last time you upgraded. Disable pfBlockerNG, reinstall pfBlockerNG, enable pfBlockerNG.

                      2.4.5-RELEASE-p1 (amd64)
                      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                      SebMS 1 Reply Last reply Reply Quote 0
                      • SebMS
                        SebM @johnpoz
                        last edited by

                        @johnpoz I use Safari and have no Extensions enabled.

                        Just tried the same with a clean Firefox, same problem.
                        Nothing in the Log/File Details or Log sections...

                        Should I try a reboot? 😰

                        SebMS 1 Reply Last reply Reply Quote 0
                        • SebMS
                          SebM @RonpfS
                          last edited by

                          @ronpfs said in Log Browser always empty:

                          Maybe something went wrong last time you upgraded. Disable pfBlockerNG, reinstall pfBlockerNG, enable pfBlockerNG.

                          As suggested:

                          1. disabled
                          2. uninstalled
                          3. re-installed
                          4. re-enabled

                          Same problem...

                          RonpfSR 1 Reply Last reply Reply Quote 0
                          • RonpfSR
                            RonpfS @SebM
                            last edited by RonpfS

                            @sebm You can view files with Diagnostics / Edit File tab.
                            You can also download File with the Diagnostics / Command Prompt tab.

                            2.4.5-RELEASE-p1 (amd64)
                            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                            SebMS 1 Reply Last reply Reply Quote 0
                            • SebMS
                              SebM @SebM
                              last edited by

                              @sebm said in Log Browser always empty:

                              Should I try a reboot?

                              FYI,
                              I did the unimaginable after a 120 days uptime: rebooted.
                              Same problem persists...

                              RonpfSR 1 Reply Last reply Reply Quote 0
                              • SebMS
                                SebM @RonpfS
                                last edited by

                                @ronpfs said in Log Browser always empty:

                                @sebm You can view files with Diagnostics / Edit File tab.
                                You can also download File with the Diagnostics / Command Prompt tab.

                                That's right my friend: I confirm I was able to open or download any files from the /var/log/pfblockerng/ folder using these two methods.

                                Is that your subtle way to say "forget about it", use a workaround? 😉

                                RonpfSR 1 Reply Last reply Reply Quote 0
                                • RonpfSR
                                  RonpfS @SebM
                                  last edited by

                                  @sebm What version of pfsense ? No disk full ?

                                  2.4.5-RELEASE-p1 (amd64)
                                  Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                  Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                                  1 Reply Last reply Reply Quote 0
                                  • RonpfSR
                                    RonpfS @SebM
                                    last edited by RonpfS

                                    @sebm said in Log Browser always empty:

                                    Is that your subtle way to say "forget about it", use a workaround?

                                    It's a way for you to inspect 🕵 log files until @BBcan177 find time 🚶 to read your post.

                                    2.4.5-RELEASE-p1 (amd64)
                                    Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                    Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                                    1 Reply Last reply Reply Quote 0
                                    • SebMS
                                      SebM
                                      last edited by

                                      @ronpfs said in Log Browser always empty:

                                      @sebm What version of pfsense ? No disk full ?

                                      pfSense 2.4.5-RELEASE-p1 (amd64)
                                      pfBlockerNG-devel 3.0.0_5
                                      I have 450GB of space left

                                      @ronpfs said in Log Browser always empty:

                                      It's a way for you inspect 🕵 log files until @BBcan177 find time 🚶 to read your post.

                                      It is what it is I suppose. I sure appreciate your time trying to help!

                                      Should I try to install version 3.0.0_6?

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stepheng
                                        last edited by

                                        As stated before, I have exactly the same problem. I am running
                                        2.4.5-RELEASE-p1 (amd64)

                                        pfBlockerNG-devel net 3.0.0_3

                                        which obviously needs updating to _5 or is it _6 now?

                                        I can see all the log files in the /var directory and access them directly via the diagnostics / edit file, but not via the pfBlockerNG menus.

                                        I am running on a PC Engines APU2 device with a relatively small SSD but I do not have much used disk space:

                                        Disk usage:
                                        /
                                        8% of 11GiB - zfs
                                        /tmp
                                        0% of 10GiB - zfs
                                        /var
                                        8% of 11GiB - zfs
                                        /zroot
                                        0% of 10GiB - zfs
                                        /var/run
                                        5% of 3.4MiB - ufs in RAM

                                        This is more annoying than anything else. PfBlocker is clearly working and the logs show nothing strange (at least to my eyes).

                                        The tail of my pfblockerng.log reads ....

                                        Database Sanity check [ PASSED ]

                                        Masterfile/Deny folder uniq check
                                        Deny folder/Masterfile uniq check

                                        Sync check (Pass=No IPs reported)

                                        Alias table IP Counts

                                        21104 total
                                        21067 /var/db/aliastables/pfB_PRI1_v4.txt
                                        37 /var/db/aliastables/pfB_PRI1_6_v6.txt

                                        pfSense Table Stats

                                        table-entries hard limit 400000
                                        Table Usage Count 139282

                                        UPDATE PROCESS ENDED [ 12/16/20 10:00:20 ]

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

                                          And your seeing the same blank file section?

                                          2020-12-16_043625.png

                                          If not showing you which log file its trying to open or that is doesn't exist.. Points to reason being blank is its not trying to even open anything.

                                          Could be a browser side problem..

                                          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.8, 24.11

                                          GertjanG S 2 Replies Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @johnpoz
                                            last edited by Gertjan

                                            @johnpoz said in Log Browser always empty:

                                            Could be a browser side problem..

                                            Note : I'm not seeing any issues.

                                            It's the user, by selecting the "Log/File type" and then "Log/File selection" a fires a POST against the pfSense WebGUI/pfblockerng_log.php - ajax does it's job, and returns the info.
                                            Nothings special, exactly the same thing is happening on the dashboard page (does your auto refresh work ?) , and other pfSense WebGUI pages.

                                            edit : even this forum.netgate.com is using ajax heavily, right now, while your reading and typing.

                                            I tried some basic "ajax" debugging with my browser (Firefox) as they all have some 'web development' functionalities integrated.

                                            Hit Shift-Ctrl-E to access the "network" part direcly.
                                            It will show up at the bottom.
                                            Now, open the Firewall > pfBlockerNG > Log Browser page.
                                            Select your file.

                                            You will (should) see this at the bottom of the network-log-list-windows :

                                            b1a8949a-732c-47a8-ba21-44899c04afab-image.png

                                            Clickint twice on this line will show the content being send from the webGUi to the browser (the file itself is base64 encoded).

                                            /maxmind_ver|TWF4TWluZCBHZW9MaXRlMiBEYXRlL1RpbWUgU3RhbXAKTGFzdC1Nb2RpZmllZDogV2VkLCAwOSBEZWMgMjAyMCAxOTo0MDo1NSBHTVQKRHVwbGljYXRlIFJlcHJlc2VudGVkIElQNCBOZXR3b3JrczogNzgyNTUK|
                                            

                                            You see the same thing ?

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

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