• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Unofficial E2guardian package for pfSense

Cache/Proxy
70
1.2k
1.4m
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 Jun 15, 2017, 9:24 PM

    Should be bannedsitewithbypasslist on package. The default name from the added feature in e2g differs from other files. I'll check when I get home.

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

    Help a community developer! ;D

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by Jun 16, 2017, 12:18 AM

      @Cino:

      With last verison, I'm getting a crash report since /usr/local/etc/e2guardian/lists/bannedsitewithbypasslist doesn't exist.

      I did a clean install but I"m not getting crashes. The sample file is empty but it's there.

      Did you saved config again and then applied just to be sure package is not trying to run with default conf files?

      I'm editing e2guardian.inc to fix the empty sample file and will push soon to the repo.

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • C
        Cino
        last edited by Jun 16, 2017, 5:01 PM

        thank you marcelloc! I did an update, and no more crash reports for the missing files.

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Jun 16, 2017, 7:09 PM Jun 16, 2017, 7:06 PM

          I've pushed version 0.4 of the gui package to the Unofficial repo.

          what's new:

          • time based acls using pfSense schedules

          Note: acls now have a schedule field. check if they are not going to assume the first system schedule you have on your pfSense.

          The update process when schedule expires send a soft HUP to the process, so active sessions will keep current ACLs. a CTRL+F5 may force a new session on browser.

          You can create specific acls and apply them under groups.
          For example, create a site acl with only banned checkbox selected and social network blacklist applied to working hours. then select both default and this new site acl under groups.
          This way, you will have default acl all the day + social media blocked during work hours.

          e2g_04.PNG
          e2g_04.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 Jun 17, 2017, 2:47 PM

            @marcelloc:

            I've pushed version 0.4 of the gui package to the Unofficial repo.

            what's new:

            • time based acls using pfSense schedules

            Note: acls now have a schedule field. check if they are not going to assume the first system schedule you have on your pfSense.

            The update process when schedule expires send a soft HUP to the process, so active sessions will keep current ACLs. a CTRL+F5 may force a new session on browser.

            You can create specific acls and apply them under groups.
            For example, create a site acl with only banned checkbox selected and social network blacklist applied to working hours. then select both default and this new site acl under groups.
            This way, you will have default acl all the day + social media blocked during work hours.

            Sweet updated!!

            Could you make some slight modifications so that by default it's set to "always" rather than any other schedule you have within pfsense.

            Also, regarding the block page. I will submit it soon via pull.

            1 Reply Last reply Reply Quote 0
            • M
              marcelloc
              last edited by Jun 17, 2017, 4:22 PM

              @pfsensation:

              Could you make some slight modifications so that by default it's set to "always" rather than any other schedule you have within pfsense.

              A clean install create all default acls with 'always active'.  But the code accepts blank field as always active to do not break things.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • P
                pfsensation
                last edited by Jun 17, 2017, 5:05 PM

                @marcelloc:

                @pfsensation:

                Could you make some slight modifications so that by default it's set to "always" rather than any other schedule you have within pfsense.

                A clean install create all default acls with 'always active'.  But the code accepts blank field as always active to do not break things.

                I tried a clean install for a friend and it automatically set the ACL's to one of the schedules he had on his pfSense box.

                Just a heads up, I have already sent a pull request to E2Guardian with the new block page. Hopefully it'll be implemented! :)

                1 Reply Last reply Reply Quote 0
                • P
                  pfsensation
                  last edited by Jun 18, 2017, 7:15 PM

                  It's official! My block page code was merged into E2 Guardian official sources! Now everyone should be able to enjoy the new modernised block page by default.  8) 8) 8)

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcelloc
                    last edited by Jun 18, 2017, 7:37 PM

                    Great !!!!

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

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • M
                      marcelloc
                      last edited by Jun 19, 2017, 1:30 AM Jun 19, 2017, 12:58 AM

                      I've pushed to e2guardian repo a php version of the new template and updated the perl version of the report.

                      With new php report, fully report works on pfSense together with wpad package.

                      https://github.com/e2guardian/e2guardian/pull/236

                      To use report fully option before it get on e2guardian and on e2guardian pfSense package, you can download the file directly from git.

                      e2gerror.php
                      https://raw.githubusercontent.com/marcelloc/e2guardian/25d06e7416c5f77c859a96988b102e76a4f09bae/data/e2gerror.php

                      Do not forget to add the webhost with e2gerror.php on exception site list.

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfsensation
                        last edited by Jun 19, 2017, 4:35 AM Jun 19, 2017, 4:28 AM

                        @marcelloc:

                        I've pushed to e2guardian repo a php version of the new template and updated the perl version of the report.

                        With new php report, fully report works on pfSense together with wpad package.

                        https://github.com/e2guardian/e2guardian/pull/236

                        To use report fully option before it get on e2guardian and on e2guardian pfSense package, you can download the file directly from git.

                        e2gerror.php
                        https://raw.githubusercontent.com/marcelloc/e2guardian/25d06e7416c5f77c859a96988b102e76a4f09bae/data/e2gerror.php

                        Do not forget to add the webhost with e2gerror.php on exception site list.

                        Won't the php version increase the load on the server? Or is it about the same as html as the place holders are still being changed?

                        Also report fully allows you to see the banned words right?

                        Furthermore, why was WPAD package conflicting with this? They're on different ports?

                        Sorry about the questions, still learning a lot. :p

                        So far I'm really enjoying E2 Guardian and am loving the team work and where it's going. However I feel the one thing that's missing is a way to quickly see what websites are being blocked.
                        For example in the pfsense GUI you created, it would be really nice to have a page where you can see what content is blocked, why it's blocked. What user is trying to access what content, and being able to apply filters such as "user with most blocked sites" or be able to type in the name of a category such as gambling. And being able to see who was trying to access gambling sites, from what internal IP, host name and what time they did to access it, and of course the URL.

                        Let me know if this can be done, I know some log files can be created. But this is a much simpler overall better way, and I'm sure other commercial products have this. I am also trying to help a friend move to E2 Guardian for their school network, in that scenario some sort of reporting with a page to quickly filter and find data is necessary. I really don't want to start suggesting bad methods of doing this such as using GREP.

                        But anyways, keep up the amazing work Marcello!

                        1 Reply Last reply Reply Quote 0
                        • M
                          marcelloc
                          last edited by Jun 19, 2017, 5:27 AM

                          @pfsensation:

                          Won't the php version increase the load on the server? Or is it about the same as html as the place holders are still being changed?

                          Also report fully allows you to see the banned words right?

                          Yes, the dynamic page says it shows more details of what was blocked and allow more control and tests. For example, you can show Bypass only for groups that has a bypass.

                          @pfsensation:

                          Furthermore, why was WPAD package conflicting with this? They're on different ports?

                          Wpad is the best place to host a php file as it will be in HTTP and will never shows certificate erros or ssl error page cannot be displayed on http sites. These are some problems that occurs with squidguar for example. So I'm trying to implement all features we know as good practices for proxy, wpad, ssl, etc..

                          @pfsensation:

                          Sorry about the questions, still learning a lot. :p

                          NO problem.  :)

                          @pfsensation:

                          So far I'm really enjoying E2 Guardian and am loving the team work and where it's going. However I feel the one thing that's missing is a way to quickly see what websites are being blocked.

                          If you want a report tool with historical stats, try squidanalyzer package on my repo. The only pre requisite is change logs to squid format.

                          @pfsensation:

                          For example in the pfsense GUI you created, it would be really nice to have a page where you can see what content is blocked, why it's blocked. What user is trying to access what content, and being able to apply filters such as "user with most blocked sites" or be able to type in the name of a category such as gambling. And being able to see who was trying to access gambling sites, from what internal IP, host name and what time they did to access it, and of course the URL.

                          Let me know if this can be done, I know some log files can be created. But this is a much simpler overall better way, and I'm sure other commercial products have this. I am also trying to help a friend move to E2 Guardian for their school network, in that scenario some sort of reporting with a page to quickly filter and find data is necessary. I really don't want to start suggesting bad methods of doing this such as using GREP.

                          Sure, I'll import the real time tab when I have time. But with the upcoming changes to use squid transparent proxy and ssl splice all, you will be abe to see most of these information (blocked but not reason given) on squid Real Time tab. On 3.5 version, there was 3 more report type, one included squid log format with extra field containing block reason.

                          @pfsensation:

                          But anyways, keep up the amazing work Marcello!

                          Thanks! I want to improve this package as much as I can, so nobody will need squidguard anymore. And when e2guardian 4.x code get's stable, I'll push it to freebsd ports and then submit a pull request for this package to get merged on main repo.

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • J
                            jetberrocal
                            last edited by Jun 19, 2017, 11:54 AM

                            Marcelloc

                            How different is your squidanalyser from SARG?
                            Can you add a thread for this with examples?

                            1 Reply Last reply Reply Quote 0
                            • M
                              marcelloc
                              last edited by Jun 19, 2017, 12:34 PM Jun 19, 2017, 12:18 PM

                              @jetberrocal:

                              How different is your squidanalyser from SARG?
                              Can you add a thread for this with examples?

                              You mean a new topic?

                              There is a topic on forum with manual install. I've joined all contributions and added a php protection file to use pfSense authentication, just like I did with sarg.

                              The squidanalyzer has a modern gui and some graphs

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

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • J
                                jetberrocal
                                last edited by Jun 19, 2017, 1:21 PM

                                @marcelloc:

                                @jetberrocal:

                                How different is your squidanalyser from SARG?
                                Can you add a thread for this with examples?

                                You mean a new topic?

                                There is a topic on forum with manual install. I've joined all contributions and added a php protection file to use pfSense authentication, just like I did with sarg.

                                The squidanalyzer has a modern gui and some graphs

                                Can you provide me the search term or the direct link?
                                I tried squidanalyser but did not return results.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  marcelloc
                                  last edited by Jun 19, 2017, 1:33 PM

                                  @jetberrocal:

                                  Can you provide me the search term or the direct link?
                                  I tried squidanalyser but did not return results.

                                  Sure. I've update it right now to include some images

                                  Re: Want package for squidanalyzer. INSTRUCTIONS AND FILES TO INSTALL

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

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jetberrocal
                                    last edited by Jun 20, 2017, 12:49 AM

                                    @marcelloc:

                                    @jetberrocal:

                                    Can you provide me the search term or the direct link?
                                    I tried squidanalyser but did not return results.

                                    Sure. I've update it right now to include some images

                                    Re: Want package for squidanalyzer. INSTRUCTIONS AND FILES TO INSTALL

                                    Is there a way to have two squidanalyzer instances running side by side?
                                    One for e2guardian and the other for squid.

                                    I do not like Lightsquid (I do not know why pfsense decided to favor that instead of SARG), this does not report the blocked/denied sites only the permitted sites.

                                    Maybe manually install SARG from Freebsd for Squid, and use your Squidanalyser for e2guardian.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      marcelloc
                                      last edited by Jun 20, 2017, 12:56 AM

                                      @jetberrocal:

                                      Is there a way to have two squidanalyzer instances running side by side?
                                      One for e2guardian and the other for squid.

                                      By command line yes. Using the package not on current version.

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

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jetberrocal
                                        last edited by Jun 20, 2017, 2:02 PM

                                        @marcelloc:

                                        @jetberrocal:

                                        Is there a way to have two squidanalyzer instances running side by side?
                                        One for e2guardian and the other for squid.

                                        By command line yes. Using the package not on current version.

                                        Is it posible to install SARG in pfsense?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelloc
                                          last edited by Jun 20, 2017, 3:09 PM

                                          @jetberrocal:

                                          Is it posible to install SARG in pfsense?

                                          Yes. Basically, enable freebsd repo and install using pkg add

                                          did you tried squidanalyzer package with all features enables? I have user reports working

                                          squidanalyzer.PNG
                                          squidanalyzer.PNG_thumb

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

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          324 out of 1213
                                          • First post
                                            324/1213
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.