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

    SquidGuard LOG

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.1k 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.
    • A
      Altomani
      last edited by

      Hi everyone!

      I´m using Pfsense 2.4.2, and i already installed squid and squidguard packeges. Everything is configured and working, but i´m really having trouble to configure squidguard logs.

      The logs from squid are already configured, i´m sending them to my external syslog, but i would that pfsense sends the squidguard denied logs to my syslog too.

      In squid configuration i have this option: "Makes it possible for SquidGuard denied log to be included on Squid logs." For this to work, squid sais that is necessary to put this code in the sgerror.php file:

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

      The problem is that i have no idea where to put this code inside the file.

      In my google research i found some instructions for older versions of pfsense, but it seems that the sgerror.php file is different in ver. 2.4.2.

      Does anyone knows how to configure the squidguard logs in this new version?

      Obs. I´m using transparent proxy mode.

      Tks!

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

        Hi,

        what was the solution to the question?

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