Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Sarg and squidguard reports

    Scheduled Pinned Locked Moved pfSense Packages
    10 Posts 4 Posters 4.7k 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.
    • S
      serialdie
      last edited by

      Team,

      How can I enable sarg to show me the denied sites from squidguard?
      I use to be able to see the denied sites from dansguardian but I cant seem to reproduce the same with squidguard.

      Thanks for the help team!

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

        Anybody got this working?

        TIA :)

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

          I moved to squid3-devel.

          1 Reply Last reply
          Reply Quote 0
          • perikoP
            periko
            last edited by

            I got the same question, if u have something, share it please.

            Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
            www.bajaopensolutions.com
            https://www.facebook.com/BajaOpenSolutions
            Quieres aprender PfSense, visita mi canal de youtube:
            https://www.youtube.com/c/PedroMorenoBOS

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

              @periko:

              I got the same question, if u have something, share it please.

              I really don't have a solution to this specific issue.
              I actually made things worst when I moved to squid3-devel and squidguard-squid3.
              squidguard no longer works at all.

              I went back to squid and than went back to dansguardian and I get what I need in the sarg reports.

              squid3-devel actually worked ok. I might go to it in the near future as I saw allot of options that interest me like ssl, etc…

              Regards,

              1 Reply Last reply
              Reply Quote 0
              • R
                rjcrowder
                last edited by

                @serialdie:

                @periko:

                I got the same question, if u have something, share it please.

                I really don't have a solution to this specific issue.
                I actually made things worst when I moved to squid3-devel and squidguard-squid3.
                squidguard no longer works at all.

                I went back to squid and than went back to dansguardian and I get what I need in the sarg reports.

                squid3-devel actually worked ok. I might go to it in the near future as I saw allot of options that interest me like ssl, etc…

                Regards,

                I eventually installed webmin and the dansguardian module to do reporting… much better than sarg.

                1 Reply Last reply
                Reply Quote 0
                • perikoP
                  periko
                  last edited by

                  The point is sarg+squidguard.

                  Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                  www.bajaopensolutions.com
                  https://www.facebook.com/BajaOpenSolutions
                  Quieres aprender PfSense, visita mi canal de youtube:
                  https://www.youtube.com/c/PedroMorenoBOS

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

                    squid3-dev has a way to integrate squidguard logs on squid.

                    If you want to do manually on squid2, follow these steps.

                    • Edit sgerror.php and include a div that redirects client to the same page including a sufix on url
                    $sge_prefix=(preg_match("/\?/",$cl['u'])?"&":"?");
                    $str[] = '< iframe > src="'.$cl['u'].$sge_prefix.'sgr=ACCESSDENIED" width="1" height="1" > < /iframe >';
                    
                    • add a custom rule on squid gui(or edit squid.inc)  to deny url with this sufix
                    acl sglog url_regex -i sgr=ACCESSDENIED
                    http_access deny sglog #on squid without authentication
                    http_access deny password sglog #on squid with authentication
                    

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

                    Help a community developer! ;D

                    1 Reply Last reply
                    Reply Quote 0
                    • perikoP
                      periko
                      last edited by

                      Have u try this with squid3+squidguard?

                      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                      www.bajaopensolutions.com
                      https://www.facebook.com/BajaOpenSolutions
                      Quieres aprender PfSense, visita mi canal de youtube:
                      https://www.youtube.com/c/PedroMorenoBOS

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

                        @periko:

                        Have u try this with squid3+squidguard?

                        I have and it works very well.

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post
                        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                        Privacy Policy · Cookie Policy