• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 70 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.
  • M
    marcelloc
    last edited by Apr 11, 2018, 2:13 PM

    Are you using any authentication?

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

    Help a community developer! ;D

    1 Reply Last reply Reply Quote 0
    • P
      pfsensation
      last edited by Apr 11, 2018, 5:59 PM

      @marcelloc:

      Are you using any authentication?

      I'm just using IP Authentication, I tried DNS before but that would give me a seg fault instantly. So I'm sticking to IP for the moment.

      1 Reply Last reply Reply Quote 0
      • P
        pfsensation
        last edited by Apr 13, 2018, 7:16 PM

        @pfsensation:

        @marcelloc:

        Are you using any authentication?

        I'm just using IP Authentication, I tried DNS before but that would give me a seg fault instantly. So I'm sticking to IP for the moment.

        No suggestions Marcello? I've got the watch dog running so it does restart E2 Guardian but sometimes it's just a mess. And will crash 5-8x in a row reducing performance and causing disruption.

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Apr 13, 2018, 7:28 PM

          @pfsensation:

          No suggestions Marcello? I've got the watch dog running so it does restart E2 Guardian but sometimes it's just a mess. And will crash 5-8x in a row reducing performance and causing disruption.

          May be related to https://github.com/e2guardian/e2guardian/issues/375.

          I'll compile a version with debug and include some instructions on how to use, so you can see if it's something already related or not.

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

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • P
            pfsensation
            last edited by Apr 14, 2018, 12:01 AM

            @marcelloc:

            @pfsensation:

            No suggestions Marcello? I've got the watch dog running so it does restart E2 Guardian but sometimes it's just a mess. And will crash 5-8x in a row reducing performance and causing disruption.

            May be related to https://github.com/e2guardian/e2guardian/issues/375.

            I'll compile a version with debug and include some instructions on how to use, so you can see if it's something already related or not.

            I just re-did my config as this was bothering me and other users a lot. It seems to be better, but I'll continue to monitor it. It's possible it could've been a config issue and without a meaningful error message it's hard to tell where the problem lies.

            1 Reply Last reply Reply Quote 0
            • M
              marcelloc
              last edited by Apr 14, 2018, 2:19 AM

              @pfsensation:

              I just re-did my config as this was bothering me and other users a lot. It seems to be better, but I'll continue to monitor it. It's possible it could've been a config issue and without a meaningful error message it's hard to tell where the problem lies.

              I've pushed a 5.0.2_3 binaries with some fixes from e2guardian team. check if you're on this latest binaries with pkg info under console.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • M
                marcelloc
                last edited by Apr 14, 2018, 5:38 AM Apr 14, 2018, 5:30 AM

                pkg v 5.0.3 is out. Main changes on this version:

                • Apply firewall limiters to direct connect clients (wpad or proxy manual config).

                • New button to clear cert MITM cache data.(useful when you change MITM CA)

                e2g_limiter.PNG
                e2g_limiter.PNG_thumb
                e2g_clear_cert.PNG
                e2g_clear_cert.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 Apr 14, 2018, 8:45 AM

                  @marcelloc:

                  pkg v 5.0.3 is out. Main changes on this version:

                  • Apply firewall limiters to direct connect clients (wpad or proxy manual config).

                  • New button to clear cert MITM cache data.(useful when you change MITM CA)

                  Unfortunately re-doing the configs didn't fix the crashing issue. I've just upgraded to the latest 5.0.3 version, and checked with pkg info. I'll see if this fixes it, thanks!

                  Also, could we apply the limiter to specific groups?

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcelloc
                    last edited by Apr 14, 2018, 10:22 AM

                    @pfsensation:

                    Also, could we apply the limiter to specific groups?

                    For transparent proxy, the rules are manual, so l guess yes.

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

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • P
                      pfsensation
                      last edited by Apr 14, 2018, 11:25 PM Apr 14, 2018, 8:58 PM

                      @Marcelloc Just an update on the situation. The latest update fixed some of the crashes I had, everything's been running better today. 2500 workers, and I was able to use over 1000 without any huge problems. Its also been faster! Let's hope it stays that way, and improves until we can eradicate all crashes. There was  time when my entire pfsense would crash, so I'm grateful for the improvements made.

                      I have a few suspicions that the crashes may perhaps be related to using pfBlockerNG along with transparent mode. I am trying to explore all the avenues to try locate the fault but it isn't easy without proper debugging. I have disabled pfBlockerNG for the meantime to try and isolate the problem, let's see if there's any improvement.

                      That being said, I think it's best to keep some debug code that can be enabled easily when required as we can come across quite a bit of unforseen issues with FreeBSD as the developers of E2G use Linux.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfsensation
                        last edited by Apr 15, 2018, 12:59 AM

                        So disabling pfBlockerNG did nothing, I really thought that would've been it since the transparent proxy is sending all the pfBlocker domains through the proxy and crashing it or something.

                        I've checked and redone pretty much all the ACLs, removed all test and unnecessary ACLs and I'm having issues. I've even tried multiple restarts and reinstalls…

                        I'm pretty surprised and shocked no one else is having this.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kenrutt
                          last edited by Apr 15, 2018, 2:46 AM Apr 15, 2018, 2:37 AM

                          I am also having issues with Transparent proxy mode. I messed with this for quite awhile and it would at times work with only https connections which seems weird.  Then reinstalling and or rebooting some times would change things and it would work correctly for a little bit and then it would quit. Sometimes it would not catch any connections at all and connections would bypass E2 completly. But mostly it would not complete http connections while catching https. I know it would try because nothing would happen for awhile till browser would show error.

                          Also if I configure proxy settings on my computer things work correctly. It seems there are issues with transparent mode.

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfsensation
                            last edited by Apr 15, 2018, 10:32 AM

                            @kenrutt:

                            I am also having issues with Transparent proxy mode. I messed with this for quite awhile and it would at times work with only https connections which seems weird.  Then reinstalling and or rebooting some times would change things and it would work correctly for a little bit and then it would quit. Sometimes it would not catch any connections at all and connections would bypass E2 completly. But mostly it would not complete http connections while catching https. I know it would try because nothing would happen for awhile till browser would show error.

                            Also if I configure proxy settings on my computer things work correctly. It seems there are issues with transparent mode.

                            I've never had issues with it oniy loading HTTPS sites, however I have come across instances where HTTPS traffic just bypasses E2 Guardian. Usually giving E2 Guardian a restart fixes it for the most part. I'm not sure if this is somehow conflicting with pfBlockerNG. I've tried various things but the fact that both E2G and pfBlockerNG both forward traffic to themselves could somewhat cause an issue.

                            @Marcelloc do you use pfBlockerNG and have you come across any issues?

                            1 Reply Last reply Reply Quote 0
                            • M
                              marcelloc
                              last edited by Apr 15, 2018, 10:47 AM

                              On my labs I do not use pfblockerNG but on a network with 850 workstations yes.

                              pfblockerNG basically create firewall rules, so the only way I see that can conflict with e2guardian is preventing it to connect to a remote site.

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

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • M
                                marcelloc
                                last edited by Apr 15, 2018, 10:53 AM

                                Try to disable watch guard and see on access log which was the last site or url accessed before crash. Repeat few times to see if we can get close to a way to reproduce the crash on any system.

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

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • M
                                  marcelloc
                                  last edited by Apr 19, 2018, 9:08 AM Apr 15, 2018, 11:22 AM

                                  to install a debug version of e2guardian, paste this under console

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

                                  then run

                                  /usr/local/sbin/e2guardian -QN

                                  to reinstall current Unofficial repo version use

                                  pkg install -f e2guardian
                                  

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

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pfsensation
                                    last edited by Apr 15, 2018, 11:48 AM

                                    @marcelloc:

                                    Try to disable watch guard and see on access log which was the last site or url accessed before crash. Repeat few times to see if we can get close to a way to reproduce the crash on any system.

                                    Great idea, I'll definitely give that a go now. Thanks for your input!

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      pfsensation
                                      last edited by Apr 15, 2018, 11:54 AM

                                      @marcelloc:

                                      to install a debug version of e2guardian, paste this under console

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

                                      then run

                                      /usr/local/sbin/e2guardian -QN

                                      to reinstall current Unofficial repo version use

                                      pkg install -f e2guardian
                                      

                                      Can we not integrate this into the unofficial rep? And allow the debug mode to be turned on or off? I think that maybe easier to manage and use.

                                      I've tried a lot of things last night to try combat the crashes, I've even changed my pfBlocker ports again even though I've never set them up to conflict with each other. I did see in logs that E2 Guardian was saying that port 8080 was in use. I'm not sure if it was just ghost instances of itself or another service. Nothing else is set to use my E2G ports.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        marcelloc
                                        last edited by Apr 15, 2018, 12:19 PM

                                        @pfsensation:

                                        Can we not integrate this into the unofficial rep? And allow the debug mode to be turned on or off? I think that maybe easier to manage and use.

                                        No. It's a compile option.

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

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelloc
                                          last edited by Apr 15, 2018, 12:25 PM

                                          @pfsensation:

                                          I did see in logs that E2 Guardian was saying that port 8080 was in use. I'm not sure if it was just ghost instances of itself or another service. Nothing else is set to use my E2G ports.

                                          Probably yes. Parallel e2guardian proceses due watch guard script trying to start e2guardian during an  apply config or another apply config while process is reloading…

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

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          703 out of 1213
                                          • First post
                                            703/1213
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received