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

    Squid + squid guard stops randomly

    Scheduled Pinned Locked Moved pfSense Packages
    26 Posts 6 Posters 18.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.
    • J
      josey
      last edited by

      hm, 32 or 64?
      it seems 32bit versions work fine.

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

        32

        1 Reply Last reply Reply Quote 0
        • J
          josey
          last edited by

          32? :)

          ok, i was talking that i have problems with 64bit version, and everyone who use 32bit version say they have no problems, so i follow, and reinstal to 32bit version…

          on install i had same stack up like with 64bit version
          message:
          BIOS DRIVE C: IS DISK 0

          and than installation hangs for a 10 min or so...

          i thought that on end of installation i will get same error as with 64bit version (that is why i switched to 28.jul install), but installation finished fine...

          installation of squid passed ok, only ehen i reboot pfs, it started uninstalation ???
          ok, reinstalled again, also install squidguard, and now both packages work.

          Now i have to run it for couple of days to see is there same problem that i have with 1.2.3. version.

          So definitely there is bug with 2.0 BETA 4 64bit install...

          coldfusion, thanks for reply

          1 Reply Last reply Reply Quote 0
          • J
            josey
            last edited by

            squidguard was filtering until first restart
            i think that now i have same problem regarding to this topic http://forum.pfsense.org/index.php/topic,27597.0.html

            when i restart service i get this on log:
            Aug 20 09:54:35 Squid_Alarm[32428]: Reconfiguring filter…
            Aug 20 09:54:35 php: : The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:6: macro 'pptp' not defined /tmp/rules.test.packages:6: syntax error'
            Aug 20 09:54:35 php: : There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
            Aug 20 09:54:36 php: : The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:13: macro 'pptp' not defined /tmp/rules.test.packages:13: syntax error'
            Aug 20 09:54:36 php: : There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
            Aug 20 09:54:36 Squid_Alarm[38776]: Squid has resumed. Reconfiguring filter.
            Aug 20 09:54:36 php: : The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:6: macro 'pptp' not defined /tmp/rules.test.packages:6: syntax error'
            Aug 20 09:54:36 php: : There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
            Aug 20 09:54:36 php: : The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:13: macro 'pptp' not defined /tmp/rules.test.packages:13: syntax error'
            Aug 20 09:54:36 php: : There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
            Aug 20 09:54:47 squid[18219]: The url_rewriter helpers are crashing too rapidly, need help!
            Aug 20 09:54:47 squid[17778]: Squid Parent: child process 18219 exited due to signal 6
            Aug 20 09:54:47 kernel: pid 18219 (squid), uid 62: exited on signal 6
            Aug 20 09:54:50 squid[17778]: Squid Parent: child process 46534 started

            i dont have acl rules and destinations

            1 Reply Last reply Reply Quote 0
            • J
              josey
              last edited by

              problem found in 2.0 beta 4 32bit
              when i enable PPTP VPN, web filtering stops!

              bug? :)

              maybe same problem with 1.2.3.? i mean maybe is related?
              Because i notice, that, after pfs receive connection to vpn, squidguard stops with filtering, but it is random, not every time.

              any suggestions? comments?

              thanks

              1 Reply Last reply Reply Quote 0
              • A
                AndreasP
                last edited by

                I have been having the same probem with suid and squid guard.  It will work for a bit, then stop working all together.  Very frustrating.  I have tried so many times and things to fix it.  I gave up.

                Good luck

                1 Reply Last reply Reply Quote 0
                • J
                  josey
                  last edited by

                  @MrKluttz:

                  I have been having the same probem with suid and squid guard.  It will work for a bit, then stop working all together.  Very frustrating.  I have tried so many times and things to fix it.  I gave up.

                  Good luck

                  agree, very frustrating, and i cant give up, i need that service, and i need it badly

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

                    Guys, I think I have a workaround for this issue. I had (hopefully HAD) the same issue. squidguard stops filtering and allows everything to go through every day or two.

                    Running 1.2.3 Release. Possible solution: I've ssh'd into the pfsense box, and I´ve set cron to kill squidguard 03:00 everyday. pfsense seems to restart squidguard automatically. Seems to work fine now!

                    Command: killall -9 squidguard

                    Simple as that. Let me know if that fixes for you guys as well.

                    1 Reply Last reply Reply Quote 0
                    • J
                      josey
                      last edited by

                      :)
                      no need just install 2.0 works perfect

                      1 Reply Last reply Reply Quote 0
                      • O
                        orion182
                        last edited by

                        I have too problem with squid+squidguard randomly stop filtering and pass all traffic.
                        (pfsense 1.2.3, squid 2.7.9_4, squidGuard 1.3_1 pkg v.1.9)

                        I find in filter log this message:

                        07.03.2011 06:07:45 going into emergency mode
                        07.03.2011 06:07:45 overflow in vsprintf (sgLogError): Unknown error:

                        in emergency mode squidguard according to documentation pass all traffic.

                        I think if squidquard package is by mistake buid without this patches (or one of them):
                        http://squidguard.org/Downloads/Patches/1.3/Readme.Patch-20091015
                        http://squidguard.org/Downloads/Patches/1.3/Readme.Patch-20091019

                        or is new similar bug.

                        I apologize for my English  :)

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