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

    Unofficial E2guardian package for pfSense

    Scheduled Pinned Locked Moved Cache/Proxy
    1.2k Posts 71 Posters 1.6m 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.
    • J
      jetberrocal
      last edited by

      @marcelloc:

      @jetberrocal:

      If I could find a way to say to the E2g to use MITM by default on most sites and not use it for some specific sites then those strict sites or Apps will not break.

      Did you tried to add this site on exceptionsitelist?

      Yes I tried on v3 but still did not work.

      1 Reply Last reply Reply Quote 0
      • J
        jetberrocal
        last edited by

        @marcelloc:

        pkg 0.4.2 is almost done too with realtime tab.

        The squidanalyser, provide the information like that?

        SARG could do it except the reason.

        1 Reply Last reply Reply Quote 0
        • J
          jetberrocal
          last edited by

          @marcelloc:

          pkg 0.4.2 is almost done too with realtime tab.

          The log is showing the data from access.log?
          In what format? Dans format os squid format or squid extended format or other?

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            @jetberrocal:

            The log is showing the data from access.log?

            yes. original e2guardian format.  If you want to see or grep the log, it's in /var/log/e2guardian/access.log

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              @jetberrocal:

              The squidanalyser, provide the information like that?

              Not in realtime.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • J
                jetberrocal
                last edited by

                @marcelloc:

                @jetberrocal:

                The log is showing the data from access.log?

                yes. original e2guardian format.  If you want to see or grep the log, it's in /var/log/e2guardian/access.log

                This can represent a problem. If the access.log file has to be in e2g format, then squidanalyser and SARG can not use it.

                So using the real time gui will bring conflict with permanent reports.

                1 Reply Last reply Reply Quote 0
                • P
                  pfsensation
                  last edited by

                  We actually need a page that can save the data in real time, and can be filtered down based on user, IP address, banned category, or time.

                  An actual page in list view with a search function is what I had in mind… :P  Not a realtime tab like Squid.

                  EDIT: I tried adding HOST, FilterGroup back into my block page. And it caused my pfSense to crash again, and E2Guardian did not start up again, even with the watchguard script.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jetberrocal
                    last edited by

                    @marcelloc:

                    @jetberrocal:

                    The squidanalyser, provide the information like that?

                    Not in realtime.

                    Real time is nice and is needed but permanent reports are also needed. Every time the access.log is recycled the data is lost and for business use you need to have long periods of data retantion.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jetberrocal
                      last edited by

                      By the way, how is the access.log and dst something log being recycled. If its not then we have a huge problem. It will grow until Disc is full.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfsensation
                        last edited by

                        @jetberrocal:

                        @marcelloc:

                        @jetberrocal:

                        The squidanalyser, provide the information like that?

                        Not in realtime.

                        Real time is nice and is needed but permanent reports are also needed. Every time the access.log is recycled the data is lost and for business use you need to have long periods of data retantion.

                        Now we're getting somewhere. This is why I suggested having a page where all the data would be logged in real time, and we can filter and search based on user, blocked category, and see what site was blocked, why, banned phrase detected etc.

                        @Marcelloc, now I'm unable to turn off SSL certificate forging for certain groups. What's going on? Before I was able to easily turn it on or off in group settings, now whether SSL forging is on or off for a group. It still intercepts.

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          @pfsensation:

                          @Marcelloc, now I'm unable to turn off SSL certificate forging for certain groups. What's going on? Before I was able to easily turn it on or off in group settings, now whether SSL forging is on or off for a group. It still intercepts.

                          Did you closed the browser after changing it? Mozilla keeps "certificate cache" until you close the app.

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfsensation
                            last edited by

                            @marcelloc:

                            @pfsensation:

                            @Marcelloc, now I'm unable to turn off SSL certificate forging for certain groups. What's going on? Before I was able to easily turn it on or off in group settings, now whether SSL forging is on or off for a group. It still intercepts.

                            Did you closed the browser after changing it? Mozilla keeps "certificate cache" until you close the app.

                            I'm on chrome, tried closing it, tried clearing history, cache etc. I tried another browser, and tried my mobile too. They're all being SSL intercepted, when they shouldn't be.

                            Any changes I make to the block page also don't seem to take effect… I tried saving and restarting, turning off e2guardian by unchecking. And still having problems.

                            EDIT: Tried uninstalling E2Guardian for a reinstall, while uninstalled somehow E2Guardian is still running. HOW? XD

                            1 Reply Last reply Reply Quote 0
                            • P
                              pfsensation
                              last edited by

                              @marcelloc:

                              @pfsensation:

                              I'm asking because FredB, over at GitHub recons that the blacklist categories not showing maybe due to not having the following :

                              # List categorisation
                              #listcategory: "Banned Sites"
                              

                              Check it here: https://github.com/e2guardian/e2guardian/issues/244

                              try pkg 0.4.1.2

                              https://github.com/marcelloc/Unofficial-pfSense-packages/commit/113159cbac10e68568b77b8a0a22c65fdf4607ec

                              Have you pushed it out? Can't upgrade to it

                              1 Reply Last reply Reply Quote 0
                              • marcellocM
                                marcelloc
                                last edited by

                                @pfsensation:

                                EDIT: Tried uninstalling E2Guardian for a reinstall, while uninstalled somehow E2Guardian is still running. HOW? XD

                                It's running on memory. It's missing a stop services on uninstall script call.

                                Treinamentos de Elite: http://sys-squad.com

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  @pfsensation:

                                  Have you pushed it out? Can't upgrade to it

                                  It's on 2.3 amd64 repo.

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • marcellocM
                                    marcelloc
                                    last edited by

                                    @pfsensation:

                                    We actually need a page that can save the data in real time, and can be filtered down based on user, IP address, banned category, or time.

                                    An actual page in list view with a search function is what I had in mind… :P  Not a realtime tab like Squid.

                                    EDIT: I tried adding HOST, FilterGroup back into my block page. And it caused my pfSense to crash again, and E2Guardian did not start up again, even with the watchguard script.

                                    You can tail -f the /var/log/e2guardian/ access.log to filter realtime logs.

                                    Fully php report shows all the info you need on report page, including host. try it with wpad package.

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • marcellocM
                                      marcelloc
                                      last edited by

                                      With fully report, I can create a deny log with full info.

                                      This way you keep report logs in squid mode and full info will have what you want, both on realtime tab.

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pfsensation
                                        last edited by

                                        @marcelloc:

                                        @pfsensation:

                                        Have you pushed it out? Can't upgrade to it

                                        It's on 2.3 amd64 repo.

                                        I'm running 0.4.1.2 I believe, no new updates available. However sites banned by ShallaList, don't show their categories.

                                        @marcelloc:

                                        @pfsensation:

                                        EDIT: Tried uninstalling E2Guardian for a reinstall, while uninstalled somehow E2Guardian is still running. HOW? XD

                                        It's running on memory. It's missing a stop services on uninstall script call.

                                        I have suspicions that E2Guardian is not reloading itself, and is somehow running old instances. That's why when I modify my block page, it doesn't update.

                                        EDIT: I changed another setting in group settings, now I'm able to turn off SSL MITM weirdly enough. Not sure why that happened, must be a one off bug in config writing.

                                        1 Reply Last reply Reply Quote 0
                                        • marcellocM
                                          marcelloc
                                          last edited by

                                          @pfsensation:

                                          I'm running 0.4.1.2 I believe, no new updates available. However sites banned by ShallaList, don't show their categories.

                                          This is the version I've pushed to fix the missing line on config from

                                          https://github.com/e2guardian/e2guardian/issues/244

                                          Treinamentos de Elite: http://sys-squad.com

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          • marcellocM
                                            marcelloc
                                            last edited by

                                            Hi guys!

                                            Version 0.4.2 is ready for download.

                                            whats new:

                                            • Included sample logic rotine to html report page, so you can back to original file at any time if you want

                                            • Improved e2gerror logic and added a denied only log feature to the package

                                            • Added e2guradian real time tab, processing e2guardian default logs, e2g squid format logs and logs form e2gerror.php page

                                            e2g_realtime.PNG
                                            e2g_realtime.PNG_thumb

                                            Treinamentos de Elite: http://sys-squad.com

                                            Help a community developer! ;D

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