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.5m 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.
    • 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
                                      • P
                                        pfsensation
                                        last edited by

                                        @marcelloc:

                                        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

                                        Jun 25 08:22:58	php-fpm	286	/rc.dyndns.update: Dynamic Dns (opendns.com): Current WAN IP: 92.0.182.57 Cached IP: 92.0.182.57
                                        Jun 25 08:22:58	php-fpm	286	/rc.dyndns.update: phpDynDNS (opendns.com): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
                                        Jun 25 08:23:00	php		/usr/local/www/e2guardian_scheds.php: e2guardian - change on schedules, reapplying config.
                                        Jun 25 08:23:00	php		/usr/local/www/e2guardian_scheds.php: [E2guardian] - Save settings package call pr:1 bp:1 rpc:yes
                                        Jun 25 08:23:00	check_reload_status		Syncing firewall
                                        Jun 25 08:23:01	check_reload_status		Syncing firewall
                                        Jun 25 08:23:03	check_reload_status		Syncing firewall
                                        Jun 25 08:23:03	check_reload_status		Syncing firewall
                                        Jun 25 08:23:06	e2guardian	1776	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:23:15	kernel		pid 11259 (e2guardian), uid 106: exited on signal 11
                                        Jun 25 08:23:15	check_reload_status		Syncing firewall
                                        Jun 25 08:23:15	check_reload_status		Syncing firewall
                                        Jun 25 08:23:16	php-fpm	35776	/rc.start_packages: [E2guardian] - Detected boot process pr:1 bp:1 rpc:no
                                        Jun 25 08:23:18	login		login on ttyv0 as root
                                        Jun 25 08:23:18	sshlockout	41995	sshlockout/webConfigurator v3.0 starting up
                                        Jun 25 08:23:22	e2guardian	17100	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:23:22	e2guardian	40941	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:23:23	e2guardian	25884	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:23:23	e2guardian	40941	I seem to be running already!
                                        Jun 25 08:23:23	root		/usr/local/etc/rc.d/e2guardian.sh: WARNING: failed to start e2guardian
                                        Jun 25 08:23:23	e2guardian	25884	I seem to be running already!
                                        Jun 25 08:23:23	root		/usr/local/etc/rc.d/e2guardian.sh: WARNING: failed to start e2guardian
                                        Jun 25 08:24:14	kernel		pid 42996 (e2guardian), uid 106: exited on signal 11
                                        Jun 25 08:24:19	e2guardian	85838	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:25:14	kernel		pid 86010 (e2guardian), uid 106: exited on signal 11
                                        Jun 25 08:25:19	e2guardian	26270	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:26:16	kernel		pid 26606 (e2guardian), uid 106: exited on signal 11
                                        Jun 25 08:26:24	e2guardian	68286	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:26:24	e2guardian	70077	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:26:25	e2guardian	70077	I seem to be running already!
                                        Jun 25 08:26:25	root		/usr/local/etc/rc.d/e2guardian.sh: WARNING: failed to start e2guardian
                                        Jun 25 08:27:01	kernel		pid 70629 (e2guardian), uid 106: exited on signal 11
                                        Jun 25 08:27:09	e2guardian	8362	Reporting_level is : 0 file /usr/local/etc/e2guardian/e2guardianf3.conf
                                        Jun 25 08:27:16	check_reload_status		Linkup starting re0
                                        

                                        This is so annoying…

                                        EDIT:

                                        I've nearly had enough, and am about to change squid port to 8080.... It keeps turning off and when it's on, performance is abysmal. Extremely slow!

                                        EDIT 2: Reinstalled the package, using the reinstall button and wiped squid cache. Now everything seems to be working properly…I don't know why there's so much inconsistency, the installation and uninstallation scripts definitely need some work to properly remove old binaries, and junk data.

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

                                          I installed it on PfSense 2.3.4 with Squid package and it won't start. I'm sure that is my fault, but configure it is not easy.

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

                                            @pfsensation:

                                            [
                                            EDIT 2: Reinstalled the package, using the reinstall button and wiped squid cache. Now everything seems to be working properly…I don't know why there's so much inconsistency, the installation and uninstallation scripts definitely need some work to properly remove old binaries, and junk data.
                                            [/quote]

                                            Check how often watchdog script is starting e2guardian. Maybe you are getting crashes on daemon.

                                            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.