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

    Lightsquid report

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 4 Posters 892 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
      pama
      last edited by

      Hi mates,
      I am using pfsense 2.4.4with squid / squidguard and everything work like a charm.
      It's with kerberos auth, SSL filtering, wpad distribution in a second nginx instance, 6 ACL based on AD, custom error report.
      Now I would like to log the denied pages by squidguard in lightsquid report. I have read bilions of pages without finding a solution.

      I have checked services -> squid proxy server -> general and selected "log pages denied by squidguard"
      I have added the sgr=ACCESSDENIED string in ACLs -> blacklist but I don't know exactly where to add

      $sge_prefix=(preg_match("/\?/",$cl['u'])?"&":"?");
              $str[] = '<iframe src="'.$cl['u'].$sge_prefix.'sgr=ACCESSDENIED" width="1" height="1"></iframe>';
      

      in my sgerror.php and how to see the blocked page in lightsquid report.

      Thanks a lot,
      Andrea

      F 1 Reply Last reply Reply Quote 1
      • F
        foresthus
        last edited by

        Hi,

        is there a solution I am keen to have the position to place it aswell.

        1 Reply Last reply Reply Quote 1
        • F
          fjmajan @pama
          last edited by

          @pama Hi, I'm also looking for the place to add these lines on the sgerror.php file. If you get the answer please let me know. Thanks!

          1 Reply Last reply Reply Quote 2
          • Y
            Yazur
            last edited by

            Does anyone have an answer to that?

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