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

      @marcelloc:

      I seem to be running already! Is the error when there is another process running (apply whike reloading, watchdog, etc…)

      I think the watchdog may need to be re-designed, because that shouldn't happen. My E2G is set to kill a running instances and start new ones on config change.

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

        Hi Marcelloc,

        Could you please update the binaries, the E2G developers have pushed out some patches which should help with these segmentation faults. Funnily enough the debug version seems to work more stable for me than the one in the repo.

        Thanks

        1 Reply Last reply Reply Quote 0
        • L
          landforces
          last edited by

          hi marcello

          There are 2 responsibilities

          1. exe zip vs download blocking

          When we try to enter some prohibited sites, such as the second picture, it reacts differently
          one says that this site can not be reached and the other page comes Block.

          e2guard.PNG
          e2guard.PNG_thumb

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

            @pfsensation:

            Hi Marcelloc,

            Could you please update the binaries, the E2G developers have pushed out some patches which should help with these segmentation faults. Funnily enough the debug version seems to work more stable for me than the one in the repo.

            Thanks

            Binaries updated on repo.

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

            Help a community developer! ;D

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

              @landforces:

              hi marcello

              There are 2 responsibilities

              1. exe zip vs download blocking

              When we try to enter some prohibited sites, such as the second picture, it reacts differently
              one says that this site can not be reached and the other page comes Block.

              Have you got Forge SSL certificates turned on? If you enable that and install the CA on all your devices, you will then get the block page on all banned sites.

              Weird that you're getting a DNS error though. Are you sure you don't have any DNS blocking that site?

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

                @marcelloc:

                @pfsensation:

                Hi Marcelloc,

                Could you please update the binaries, the E2G developers have pushed out some patches which should help with these segmentation faults. Funnily enough the debug version seems to work more stable for me than the one in the repo.

                Thanks

                Binaries updated on repo.

                Awesome, updating right away!

                1 Reply Last reply Reply Quote 0
                • L
                  landforces
                  last edited by

                  hi pfsensation

                  I'm in Turkey we have many sites forbidden we have many sites forbidden
                  operator bans telecom with DNS

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

                    Last build I forgot to remove DEBUG compile option, so I've pushed binaries version e2guardian-5.0.2_5.txz without debug to the repo.

                    If you need current debug version, fetch from :

                    pkg add -f https://e-sac.websiteseguro.com/e2g/e2guardian-5.0.2_5.txz
                    

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

                    Help a community developer! ;D

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

                      @landforces:

                      hi pfsensation

                      I'm in Turkey we have many sites forbidden we have many sites forbidden
                      operator bans telecom with DNS

                      That's your problem in the screenshot. Turkey already bans most bad sites due to religious reasons. I recently came back from Turkey (Antalya), went on holiday it was amazing! I'm guessing you're using Turkce Telekom?

                      I'm not too sure how it'll work in your instance as I haven't tested it. E2 Guardian can't do any phrase  checking if the DNS is being null routed. However it should still be detect the URL from ShallaList. Turn on Forge SSL Certificates, and install the CA and give it a shot. Remember, on HTTPS sites you will not get a block page of you do not have MITM enabled.

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

                        Is anybody else receiving ERR_SSL_BAS_RECORD_MAC_ALERT on chrome and firefox after latest updated with MITM?

                        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:

                          Is anybody else receiving ERR_SSL_BAS_RECORD_MAC_ALERT on chrome and firefox after latest updated with MITM?

                          I don't seem to be getting it, just gave it a quick try. What setup are you using? And did you try clearing the cache?

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

                            @Marcelloc when I use E2 Guardian in MITM mode with pfBlocker. I'm getting NGINX errors, E2G seems to be forwarding the traffic to the NGINX server rather that directly to pfBlocker.

                            I've tried setting the options to make all traffic going to pfBlocker IP bypass the proxy but it hasn't helped. How have you got it setup and are you having this issue? I am using DNSBL on pfBlocker.

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

                              @pfsensation:

                              did you try clearing the cache?

                              Yes. After cleaning and restarting, few sites goes fine then all get mac error.

                              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:

                                I'm getting NGINX errors, E2G seems to be forwarding the traffic to the NGINX server rather that directly to pfBlocker.

                                Does pfblockerNG package started redirecting or showing error pages on latest versions? The pfblocker versions I've used was just a  deny rules creator, with any redirect.

                                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:

                                  I'm getting NGINX errors, E2G seems to be forwarding the traffic to the NGINX server rather that directly to pfBlocker.

                                  Does pfblockerNG package started redirecting or showing error pages on latest versions? The pfblocker versions I've used was just a  deny rules creator, with any redirect.

                                  Nope, this was an ongoing problem since I enabled transparent proxy. pfBlocker has an option for blocking hosts - I have adblocking hosts files. The way it works is, it redirects those domains to pfBlocker's own internal web server in order to block them. They are getting intercepted by the proxy.

                                  EDIT:

                                  I have made a discovery Marcello. On normal non-debug E2Guardian which is setup with Squid. If Squid restarts, or needs to log rotate etc, it crashes E2Guardian. This doesn't seem to be the case with the debug version of E2Guardian, I have tried to replicate the issue but have been unsuccessful. Have you got any ideas?

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

                                    @marcelloc:

                                    @pfsensation:

                                    did you try clearing the cache?

                                    Yes. After cleaning and restarting, few sites goes fine then all get mac error.

                                    Weird, I haven't got it yet. What authentication method are you using?

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

                                      @pfsensation:

                                      Weird, I haven't got it yet. What authentication method are you using?

                                      IP address

                                      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:

                                        Weird, I haven't got it yet. What authentication method are you using?

                                        IP address

                                        Strange, no issues like the one you're describing on my end yet… Only issue I have is that when using it with Squid, from time to time E2Guardian crashes. And somehow... It doesn't crash when debug is enabled.

                                        I'm also hoping you can help me out with the pfBlocker issue, am I doing something wrong?

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

                                          Hi Marcello,

                                          I just managed to re-produce the Mac Alert you've been getting by enabling SSL re-write and header re-write. I wonder if it is related to this: https://github.com/e2guardian/e2guardian/commit/c389e53b189e0d38108aca210dc217cb940bfec7

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

                                            @pfsensation:

                                            Hi Marcello,

                                            I just managed to re-produce the Mac Alert you've been getting by enabling SSL re-write and header re-write. I wonder if it is related to this: https://github.com/e2guardian/e2guardian/commit/c389e53b189e0d38108aca210dc217cb940bfec7

                                            I have this enabled too. Thanks for the test and report .

                                            If you have time, do the same test with version 5.0.2_3

                                            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.