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.7m 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.
    • B
      bedmakaveli
      last edited by

      Hello guys,
      here I am again :) .
      After setting all up, and get E2guardian working correctly, I would love to redirect to the courtesy page also for https pages.
      I've read a lot of posts without finding something clear.
      I'm using explicit proxy setting, so i don't need the MITSSL, or at least I think so.
      There is a way to redirect the https pages to the courtesy page visualized on blocked http traffic or should i lose my hopes?

      Thanks marcelloc for all the work, I'll repay the efforts with a lot of coffes :)

      PS: sorry for the repost, maybe here is the correct place for this kind of question :)

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

        Take a look on report options. You can redirect to a external url or chance current template.

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • B
          bedmakaveli
          last edited by

          @marcelloc:

          Take a look on report options. You can redirect to a external url or chance current template.

          Thanks marcelloc for the reply.
          But how can I redirect to the report page when I try to access to an https site?
          It seems to work only for http sites.

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

            @bedmakaveli:

            @marcelloc:

            Take a look on report options. You can redirect to a external url or chance current template.

            Thanks marcelloc for the reply.
            But how can I redirect to the report page when I try to access to an https site?
            It seems to work only for http sites.

            Intercepting SSL. You can setup it on group settings but you need to install certificate authority on clients.

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • B
              bedmakaveli
              last edited by

              @marcelloc:

              @bedmakaveli:

              @marcelloc:

              Take a look on report options. You can redirect to a external url or chance current template.

              Thanks marcelloc for the reply.
              But how can I redirect to the report page when I try to access to an https site?
              It seems to work only for http sites.

              Intercepting SSL. You can setup it on group settings but you need to install certificate authority on clients.

              Thanks Marcello, it works like a charm now. I've tried with a self signed CA.

              Thanks again!

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

                Hi Marcello,

                I'm still getting crashes, can you please investigate this as there's no where else that will provide support for this setup… I'm currently on pfsense 2.4 with the latest version of E2 Guardian.

                1 Reply Last reply Reply Quote 0
                • M
                  modinadar
                  last edited by

                  Hello dear users of this forum. I have a question about this package. As much as I'm not trying to set up "Phrase Lists", it allways skips to sites with these words. Perhaps this is due to the fact that I use phrases from my language (Russian, I have not tried English words). I set up the mitm, it blocks everything well, "serach engines" works also only on English words, but it's not surprising. Simply Russian characters are encoded in some% as% dc% 5g … and so on. The only way for me to block using "Phrase lists", as I read on a Russian-language forum that the predecessor of Dansguardian knew how to do it, but there were difficulties with encodings. In general, it may be necessary to include some parameter in the configuration about which I do not know.
                  Sorry for my english, I used an interpreter.

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

                    Thanks to some brilliant help from the Pfsense community, I think my crashes are finally resolved with some bootloader.conf.local addons.

                    It'll be nice to see this package kept up to date, especially as V5 is coming out soon!

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

                      @modinadar:

                      Hello dear users of this forum. I have a question about this package. As much as I'm not trying to set up "Phrase Lists", it allways skips to sites with these words. Perhaps this is due to the fact that I use phrases from my language (Russian, I have not tried English words). I set up the mitm, it blocks everything well, "serach engines" works also only on English words, but it's not surprising. Simply Russian characters are encoded in some% as% dc% 5g … and so on. The only way for me to block using "Phrase lists", as I read on a Russian-language forum that the predecessor of Dansguardian knew how to do it, but there were difficulties with encodings. In general, it may be necessary to include some parameter in the configuration about which I do not know.
                      Sorry for my english, I used an interpreter.

                      For this matter you may be better off bringing it up in the E2 Guardian GitHub page. I believe there was an issue raised for Russian character encoding.

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

                        @pfsensation:

                        Thanks to some brilliant help from the Pfsense community, I think my crashes are finally resolved with some bootloader.conf.local addons.

                        Think you could share please?

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

                          @justroach:

                          @pfsensation:

                          Thanks to some brilliant help from the Pfsense community, I think my crashes are finally resolved with some bootloader.conf.local addons.

                          Think you could share please?

                          Are you having crashes too? If so do let us know more in terms of your specs.

                          Here's the lines I'm using currently.

                          kern.cam.boot_delay=10000
                          kern.ipc.nmbclusters=1000000
                          legal.intel_ipw.license_ack=1
                          legal.intel_iwi.license_ack=1
                          hw.re.enable_msix=0
                          hw.em.enable_msix=0
                          hw.pci.enable_msix=0
                          net.inet.tcp.tso=0
                          hw.em.fc_setting=0
                          hw.re.fc_setting=0

                          Do keep us informed so we can get these issues ironed out!

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

                            Those lines made the system more stable, but the system still seems to crash after about 7 days or so. I have fully confirmed that it's related to E2Guardian. As without E2 Guardian on a system with the same setup with all my other plugins, it's all good. The crash dump also shows E2 Guardian threads going a bit haywire. @Marcelloc please have a look into this, especially as new updates have been released by the E2 Guardian team.

                            1 Reply Last reply Reply Quote 0
                            • B
                              Biscuitsntea
                              last edited by

                              On a fresh install:
                              When I navigate to ACLs>Site Lists and click edit on the default list the Save button is partially blocked by the lower banner.
                              Thank you for your work on this package.

                              Savebutton.jpg
                              Savebutton.jpg_thumb

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

                                My E2guardian won't start after a reboot, and the only way to get it working again is to reinstall the package. Anyone else getting the same problem?

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

                                  @slim2016:

                                  My E2guardian won't start after a reboot, and the only way to get it working again is to reinstall the package. Anyone else getting the same problem?

                                  I have the same issue from time to time, after pfsense upgrades a reinstall is pretty much a must. I still seem to get crashes… I wish this would get updated.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    slim2016
                                    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

                                    My real time logs don't show up like this. All the ip's are the same '127.0.0.1' on mine and it doesn't show me the 'detailed denied logs'

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

                                      I've managed get the ip's showing by using these settings :

                                      
                                      forwardedfor = on
                                      usexforwardedfor = on
                                      
                                      

                                      But how how get it to show the 'Default Denied Log' ?

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

                                        I've started migrating e2guardian package to version 5

                                        according to developer, E2guardian 5 has

                                        • Direct access mode

                                        • ICAP mode to work as a 'helper' for squid

                                        • transparent ssl

                                        It requires a lot of tests and config file changes, so it may take some time.

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

                                        Help a community developer! ;D

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

                                          @marcelloc:

                                          I've started migrating e2guardian package to version 5

                                          As v4.1 crashes without squid parent with ssl interception enabled, i decided to remove it from Unofficial 2.4 repo package list

                                          What is working on 0.5.0.5 version

                                          • Direct access mode

                                          I'm using with direct mode access and ssl interception. Until now, no crashes. I'll start including ssl transparent rules code and fix xmlrpc sync.

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

                                          Help a community developer! ;D

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

                                            package Version 0.5.0_9

                                            • Fixed xmlrpc code to sync between master and slave boxes

                                            • transparent proxy rules

                                            Missing/ Need testing

                                            • ICAP mode to work as a squid helper

                                            I Did a lot of tests with E2guardian as the only proxy installed on pfSense and until now no crashes

                                            A lot of lists and config has changed since v4.1, so testing and feedbacks are always welcome.

                                            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.