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.5k 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.
    • 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
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @Gertjan
          last edited by

          @gertjan Not seeing any issues here either can not duplicate this problem. So its clearly not some issue in pfblocker that presents itself to everyone.

          Since the logs are there.. And they can access them and they have info in them - I would look to see if browser related. Are you seeing the same issue on all browsers? Without any addons, etc.

          I can not duplicate the problem - so its something specific to their setup, and since files are there and can be read - I would validate not a browser issue.

          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
          • S
            stepheng @johnpoz
            last edited by

            @johnpoz Yes I have that same blank section that was reported by sebM.

            I normally use Safari, but get the same behaviour using Firefox.

            GertjanG 1 Reply Last reply Reply Quote 1
            • GertjanG
              Gertjan @stepheng
              last edited by

              @stepheng did you saw the 'interaction' I showed above ?

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

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

                @gertjan I looked at the developer mode stuff (on both Safari and Firefox) and didn't see any traffic happening at all on the log page, beyond the initial load of the page.

                Interestingly, on my rather old MacBook Pro, it doesn't work under Safari, but it does work correctly under Firefox.

                ... and as a third data point, it does work although a bit clunky on my iPad (it takes forever to load initially - one seems to need to give it some encouragement my selecting a different log file like the error.log and then it seems to work fine with the reload button.

                I really don't know what it different about this iMac (running Catalina - it is probably the "cleanest" of my machines with the fewest add-ons and plug-ins as it is the newest and I've been very ruthless in not adding software that I don't think I actually need whereas my MacBookPro is about 10 years old and full of cruft.

                I know that Safari can sometimes be a bit temperamental, but I've not seen anything quite of this nature before - I have seen the odd problem with CSS files being interpreted differently to other browsers. Firefox is my goto for such sites and I tend to use as my reference.

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @stepheng
                  last edited by

                  @stepheng The only 'native' Safari device I have, is an iPhone.
                  I used it's build in Safari to access the pfBlokcerNG-devel (3.0.0.6 now) logs and it was .... awkward.

                  Managed to see 3 lines MaxMind logs, but had to change both log type and file somewhat randomly.

                  It's a browser issue.

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

                  1 Reply Last reply Reply Quote 0
                  • H
                    HuskerDu
                    last edited by

                    Very browser related.

                    I gave up using Safari to read logs.

                    Firefox on my Mac works, or kind of... The trick is to first select "maxmind_ver" or "wizard" on the list and only then go to "dnsbl" or "ip_block" logs. Going straight to the last one doesn't work generally speaking.

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

                      @huskerdu said in Log Browser always empty:

                      Very browser related.

                      I gave up using Safari to read logs.

                      Firefox on my Mac works, or kind of... The trick is to first select "maxmind_ver" or "wizard" on the list and only then go to "dnsbl" or "ip_block" logs. Going straight to the last one doesn't work generally speaking.

                      Hey! I confirm the behavior.
                      I couldn't get anywhere with Safari.
                      But with Firefox, if I do that little "back and forth" between selected files as you described, it works...

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

                        @sebm @HuskerDu @Gertjan Thanks for all the replies. It looks like we all have much the same experience that for whatever reason Safari does not play well with this, and even Firefox requires a bit of forward and back playing. I'm glad I'm not the only one!

                        As an occasional web developer, I'm always looking out for odd behaviours - some of which I can never quite get to the bottom of with some browser versions / OS version combinations, so I'm not entirely surprised.

                        1 Reply Last reply Reply Quote 0
                        • H
                          HuskerDu
                          last edited by

                          Clicking like a maniac in Firefox is the solution. You can mark the topic as solved ;-).

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

                            Just bumping this thread to highlight that v3.0.0_7 (despite having changelog saying "2) Fix issues with Safari browser and log file selection") didn't fix my problem with Safari.

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

                              @sebm said in Log Browser always empty:

                              Safari browser

                              Desktop or iPad / iPhone (using iOS 14.3 ?)

                              Using my iPhone and Safari, after changing Log/File selection from "Clixk to select log fie" to, example, "pfblockerng.log", the file is shown :

                              8c08dad6-f396-4bc5-8e14-4a27e183204a-image.png

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

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

                                @gertjan Thank you for you're input.

                                It also works for me on iOS.

                                But on macOS 11.1 with Safari 14.0.2, it doesn't work.

                                BBcan177B 1 Reply Last reply Reply Quote 0
                                • BBcan177B
                                  BBcan177 Moderator @SebM
                                  last edited by

                                  @sebm said in Log Browser always empty:

                                  @gertjan Thank you for you're input.
                                  It also works for me on iOS.
                                  But on macOS 11.1 with Safari 14.0.2, it doesn't work.

                                  If you hit F12 and open Dev tools, goto "Console", do you see any errors? Do you have any Browser Add-on's installed?

                                  "Experience is something you don't get until just after you need it."

                                  Website: http://pfBlockerNG.com
                                  Twitter: @BBcan177  #pfBlockerNG
                                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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

                                    @bbcan177 said in Log Browser always empty:

                                    If you hit F12 and open Dev tools, goto "Console", do you see any errors? Do you have any Browser Add-on's installed?

                                    No console errors, and no extensions installed... :(

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

                                      @sebm @BBcan177 I can also confirm that it doesn't work in Safari 14.0.2 (on Mac OS X 10.14.6 Mojave) Some previous version did work on this Mac. It does work on my iPad running the most current version of iOS.

                                      Like @sebM, there are no error messages showing on the console and although at one time I did have the extension for 1Password running on this machine, that seems to have disappeared now.

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

                                        I've upgraded to 3.0.0_8, the problem persists on macOS and Safari 14.0.2.
                                        Seems to be working find on iOS.

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

                                          @sebm If anyone is still looking into this problem I just want to add that it has been plaguing me for years.
                                          iMac and Safari. Through various versions of Mac OS and Safari updates. Through various ver of pfBlocker and pfBlocker-devel. I had this problem on an SG2440 and now on 3100. Now I only occasionally bother to load the log files from my 3100. I wish someone would sort this out.

                                          It does work fine on a linux box w/ firefox.

                                          A few years ago I saw a reference online to 'Ajax' being a problem with Safari. I don't know if Ajax is used.

                                          GertjanG V 2 Replies Last reply Reply Quote 1
                                          • GertjanG
                                            Gertjan @JonH
                                            last edited by

                                            @jonh said in Log Browser always empty:

                                            Through various versions of Mac OS and Safari updates

                                            As I have an iPhone, thus iOS (latest) and Safari, I accessed pfSense.
                                            All the log pages showed up just fine.
                                            I know this doesn't mean anything, but I really believe that as my 'mini'" Safari works, why shouldn't the desktop version work ?

                                            As soon as you receive someone at your place using an iPad or better : iMac, ask him to test.
                                            And say to yourself : the only difference is : our local browser settings ^^

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

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