• 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.4m 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.
  • R
    ravegen
    last edited by ravegen Sep 25, 2018, 11:19 PM Sep 25, 2018, 11:05 PM

    Marcelloc,

    I applied the patch thru system patches package but the E2Guardian package is still not available on the package list. How can I reinstall E2Guardian package. What will we do now !

    A 1 Reply Last reply Sep 25, 2018, 11:40 PM Reply Quote 0
    • A
      asterix @ravegen
      last edited by Sep 25, 2018, 11:40 PM

      Same here. The patch does not work. Can’t see e2 or wpad packages.

      1 Reply Last reply Reply Quote 0
      • P
        pfsensation
        last edited by Sep 26, 2018, 12:32 AM

        The patch works perfectly fine. I'm using it at the moment.

        Make sure you run the command in the first post again after the update to make sure that the unofficial repo is still added to pfsense.

        Steps : run the command in the first post to add the unofficial repo

        Install system patches

        Copy the code from the patch Marcello posted (the entire thing) give the patch a description and save it. Click test and then apply. Now when you go to the package manager, you will see E2 Guardian and WPAD.

        1 Reply Last reply Reply Quote 0
        • R
          ravegen
          last edited by ravegen Sep 26, 2018, 12:39 AM Sep 26, 2018, 12:37 AM

          pfsensation,

          yes, I have run the command of the unofficial repo ,installed the system patches and placed the url https://github.com/marcelloc/Unofficial-pfSense-packages/blob/master/244_unofficial_packages_list.patch on the URL/COMMIT ID and then applied it. but nothing happened, no e2guardian package on the package list.

          I used base directory : /usr/local/etc/pkg/repos/
          all other options are defaults

          I have also tried base directory : / but still no progress.

          P 1 Reply Last reply Sep 26, 2018, 12:41 AM Reply Quote 0
          • P
            pfsensation @ravegen
            last edited by Sep 26, 2018, 12:41 AM

            @ravegen said in Unofficial E2guardian package for pfSense:

            pfsensation,

            yes, I have run the command of the unofficial repo ,installed the system patches and placed the url https://github.com/marcelloc/Unofficial-pfSense-packages/blob/master/244_unofficial_packages_list.patch on the URL/COMMIT ID and then applied it. but nothing happened, no e2guardian package on the package list.

            I used base directory : /usr/local/etc/pkg/repos/
            all other options are defaults

            I have also tried base directory : / but still no progress.

            Don't place the URL. Copy the contents of the script and paste it into the patch box. Remember to remove the URL... Leave base directory as default "/"

            1 Reply Last reply Reply Quote 0
            • R
              ravegen
              last edited by ravegen Sep 26, 2018, 12:44 AM Sep 26, 2018, 12:43 AM

              you mean this content below,

              --- /etc/inc/pkg-utils.orig 2018-09-24 17:51:32.458825000 -0300
              +++ /etc/inc/pkg-utils.inc 2018-09-24 17:51:54.387033000 -0300
              @@ -388,7 +388,7 @@
              if ($base_packages) {
              $repo_param = "";
              } else {

              •   $repo_param = "-r {$g['product_name']}";
                
              •   $repo_param = "";
                

                }

                /*
                @@ -485,7 +485,7 @@
                $err);
                if (!$base_packages &&
                rtrim($out) != $g['product_name']) {

              •   		continue;
                
              •   		//continue;
                  	}
                
                  	$pkg_info['installed'] = true;
                
              1 Reply Last reply Reply Quote 0
              • R
                ravegen
                last edited by Sep 26, 2018, 12:46 AM

                pfsensation

                thanks so much, it went ok.

                P 1 Reply Last reply Sep 26, 2018, 12:50 AM Reply Quote 0
                • P
                  pfsensation @ravegen
                  last edited by Sep 26, 2018, 12:50 AM

                  @ravegen said in Unofficial E2guardian package for pfSense:

                  pfsensation

                  thanks so much, it went ok.

                  Awesome, glad it worked!

                  1 Reply Last reply Reply Quote 0
                  • U
                    ucribrahim
                    last edited by Sep 26, 2018, 8:28 AM

                    @pfsensation I just tried over again over and over but damn it. I didn't understand while I was reading your instructions. I'm just confused, could you please tell me the steps one by one that I need to do for install e2guardian in 2.4.4 version of pfsense.)

                    Thank you.

                    ” Online pfSense Firewall & Router Eğitimi | www.udemy.com/pfsense-training “

                    P 1 Reply Last reply Sep 26, 2018, 5:07 PM Reply Quote 0
                    • A
                      asterix
                      last edited by Sep 26, 2018, 4:55 PM

                      Getting this PHP error.. in crash reports.

                      PHP ERROR: Type: 1, File: /etc/inc/service-utils.inc, Line: 668, Message: Uncaught ArgumentCountError: Too few arguments to function service_control_stop(), 1 passed in /usr/local/www/e2guardian_logrotate.php on line 42 and exactly 2 expected in /etc/inc/service-utils.inc:668
                      Stack trace:
                      #0 /usr/local/www/e2guardian_logrotate.php(42): service_control_stop('e2guardian')
                      #1 {main}

                      P 1 Reply Last reply Sep 26, 2018, 5:08 PM Reply Quote 0
                      • P
                        pfsensation @ucribrahim
                        last edited by Sep 26, 2018, 5:07 PM

                        @ucribrahim said in Unofficial E2guardian package for pfSense:

                        @pfsensation I just tried over again over and over but damn it. I didn't understand while I was reading your instructions. I'm just confused, could you please tell me the steps one by one that I need to do for install e2guardian in 2.4.4 version of pfsense.)

                        Thank you.

                        Copy and paste the patch in, as I've done in the screenshot below
                        alt Unofficial packages patch

                        Then save it, press test and then apply the patch. Now if you go to the package manager. You will see E2 Guardian!

                        1 Reply Last reply Reply Quote 1
                        • P
                          pfsensation @asterix
                          last edited by Sep 26, 2018, 5:08 PM

                          @asterix said in Unofficial E2guardian package for pfSense:

                          Getting this PHP error.. in crash reports.

                          PHP ERROR: Type: 1, File: /etc/inc/service-utils.inc, Line: 668, Message: Uncaught ArgumentCountError: Too few arguments to function service_control_stop(), 1 passed in /usr/local/www/e2guardian_logrotate.php on line 42 and exactly 2 expected in /etc/inc/service-utils.inc:668
                          Stack trace:
                          #0 /usr/local/www/e2guardian_logrotate.php(42): service_control_stop('e2guardian')
                          #1 {main}

                          I haven't experienced that at all, is this after upgrading to 2.4.4?

                          Go ahead and start by re-installing E2 Guardian and see if that removes the error.

                          1 Reply Last reply Reply Quote 0
                          • A
                            asterix
                            last edited by Sep 27, 2018, 4:22 PM

                            Again crashed,. Did a reinstall yesterday. Looks like the log rotation script is killing it.

                            amd64
                            11.2-RELEASE-p3
                            FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense

                            Crash report details:

                            PHP Errors:
                            [27-Sep-2018 00:00:00 America/New_York] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function service_control_stop(), 1 passed in /usr/local/www/e2guardian_logrotate.php on line 42 and exactly 2 expected in /etc/inc/service-utils.inc:668
                            Stack trace:
                            #0 /usr/local/www/e2guardian_logrotate.php(42): service_control_stop('e2guardian')
                            #1 {main}
                            thrown in /etc/inc/service-utils.inc on line 668

                            No FreeBSD crash data found.

                            P 1 Reply Last reply Sep 27, 2018, 5:04 PM Reply Quote 0
                            • P
                              pfsensation @asterix
                              last edited by Sep 27, 2018, 5:04 PM

                              @asterix said in Unofficial E2guardian package for pfSense:

                              Again crashed,. Did a reinstall yesterday. Looks like the log rotation script is killing it.

                              amd64
                              11.2-RELEASE-p3
                              FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense

                              Crash report details:

                              PHP Errors:
                              [27-Sep-2018 00:00:00 America/New_York] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function service_control_stop(), 1 passed in /usr/local/www/e2guardian_logrotate.php on line 42 and exactly 2 expected in /etc/inc/service-utils.inc:668
                              Stack trace:
                              #0 /usr/local/www/e2guardian_logrotate.php(42): service_control_stop('e2guardian')
                              #1 {main}
                              thrown in /etc/inc/service-utils.inc on line 668

                              No FreeBSD crash data found.

                              I experienced it today. Yeah it looks like the log rotate script is what's causing the crash. Which means logs won't be rotated. I'll have a look at it when I have a chance.

                              1 Reply Last reply Reply Quote 0
                              • P
                                pfsensation
                                last edited by Sep 30, 2018, 2:07 PM

                                @marcelloc I had a look, it looks like e2guardian isn't defined in /etc/inc/service-utils.inc. I attempted to manually define it but wasn't too sure of the parameters. Can you shed some light? ✋

                                A K 2 Replies Last reply Oct 3, 2018, 1:42 PM Reply Quote 0
                                • L
                                  lindsay
                                  last edited by Sep 30, 2018, 2:43 PM

                                  Is there an option to edit first post in topic how to get e2guardian to show up atlest in list?

                                  Fiberline 500/500Mbps
                                  Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    ravegen
                                    last edited by Oct 1, 2018, 7:59 AM

                                    @marcelloc

                                    I have FQDN in one Firewall Alias that I created and used on Bypass Proxy for These Source IPs and Bypass Proxy for These Destination IPs. The problem is, I guess it is not working on alias because it is not bypassing on those FQDN but when I put it direct, it bypasses it properly.

                                    I am on Pfsense 2.4.4

                                    P 1 Reply Last reply Oct 1, 2018, 11:28 AM Reply Quote 0
                                    • G
                                      guilherme.lellis
                                      last edited by Oct 1, 2018, 10:18 AM

                                      Mesma situação aqui, acompanhando e aguardando a resposta do Marcello.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pfsensation @ravegen
                                        last edited by Oct 1, 2018, 11:28 AM

                                        @ravegen said in Unofficial E2guardian package for pfSense:

                                        @marcelloc

                                        I have FQDN in one Firewall Alias that I created and used on Bypass Proxy for These Source IPs and Bypass Proxy for These Destination IPs. The problem is, I guess it is not working on alias because it is not bypassing on those FQDN but when I put it direct, it bypasses it properly.

                                        I am on Pfsense 2.4.4

                                        I'm doing something very similar to allow certain websites to bypass E2 Guardian. What's your alias type? You may have got that set incorrectly, because it works fine for me.

                                        R 1 Reply Last reply Oct 2, 2018, 1:20 AM Reply Quote 0
                                        • R
                                          ravegen @pfsensation
                                          last edited by Oct 2, 2018, 1:20 AM

                                          @pfsensation

                                          My alias type is HOST.

                                          Yes, I have this configuration work. But now I have so many aliases at ip addresses placed there. I do not know if there is a limitation on how many aliases or ip addresses to place on that bypass list.

                                          I noticed that when I placed sites, aliases and ip address on the bypass list, those will not appear on the realtime log. However, since the sites on the aliases I made shows on the realtime log, then i believe it is not working.

                                          P 1 Reply Last reply Oct 2, 2018, 4:35 AM Reply Quote 0
                                          958 out of 1213
                                          • First post
                                            958/1213
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received