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

    Squid and lightSquid (and squidGuard if I am lucky)

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 4 Posters 4.4k 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.
    • _
      _igor_
      last edited by

      Look at the access.log. Here you see what squid caches.

      1 Reply Last reply Reply Quote 0
      • C
        Cutha
        last edited by

        the access.log file in /var/squid/log is empty.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Is logging enabled in squid?
          What happens when you go to a proxy check site such as http://www.lagado.com/proxy-test ?

          Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • C
            Cutha
            last edited by

            Thanks for the reply.

            Yes logging is enabled. I attached a screen capture of it enable to make sure I enabled the correct thing.

            I went to the proxy check site you suggested and the results are: "This request appears NOT to have come via a proxy." I tried the cache test as well and it indicates that I don't have a "stealthed transparent proxy" functioning either.

            squid-log.JPG
            squid-log.JPG_thumb

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Check "allow users on interface".

              Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • C
                Cutha
                last edited by

                Squid is working now. Thanks! I feel like an idiot…

                I installed squidGuard and I got some error messages on install. squidGuard is blocking porn sites now with out any issues. Should I be concerned about the error messages that were generated on install? They are below:

                Warning: fopen(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /etc/inc/pfsense-utils.inc on line 1160 Warning: fwrite(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1161 Warning: fclose(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1162 Warning: fopen(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /etc/inc/pfsense-utils.inc on line 1160 Warning: fwrite(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1161 Warning: fclose(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1162

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  You may want to remove and reinstall squidGuard to see if the errors happen again, but it's basically saying that it tried to run some code, but couldn't, because the .xml file it wanted wasn't found – that normally could only happen if a package was uninstalled but still had some reference in the config.

                  If you can reinstall it now without error it should be OK.

                  Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cutha
                    last edited by

                    Thanks for your help. Everything except the log function seems to work. I attached a screen cap of the error.

                    squidGuard-log.JPG
                    squidGuard-log.JPG_thumb

                    1 Reply Last reply Reply Quote 0
                    • D
                      dvserg
                      last edited by

                      @Cutha:

                      Thanks for your help. Everything except the log function seems to work. I attached a screen cap of the error.

                      Look this for resolve.
                      http://forum.pfsense.org/index.php/topic,31171.msg161135.html#msg161135

                      Bug will fixed after N/Y.

                      SquidGuardDoc ENΒ  RU Tutorial
                      Localization ru_PFSense

                      1 Reply Last reply Reply Quote 0
                      • C
                        Cutha
                        last edited by

                        Thanks for that, now the logs work as well.

                        Thanks for your time guys :)

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