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

    Squid issues

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 4 Posters 2.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.
    • N
      Nutterpc
      last edited by

      checking the results of running squid at commandline, i get the following:

      [2.0.1-RELEASE][admin@pfsense.localdomain]/root(2): squid
      2012/04/13 20:28:24| aclParseAclLine: WARNING: empty ACL: acl throttle_exts urlp
      2012/04/13 20:28:24| squid.conf line 75: refresh_pattern ([^.]+.|)(download|(win
      2012/04/13 20:28:24| parse_refreshpattern: Invalid regular expression '([^.]+.|)
      2012/04/13 20:28:24| squid.conf line 77: refresh_pattern ([^.]+.|)windowsupdate.
      2012/04/13 20:28:24| parse_refreshpattern: Invalid regular expression '([^.]+.|)
      2012/04/13 20:28:24| squid.conf line 79: refresh_pattern ([^.]+.|)adobe.com/..
      2012/04/13 20:28:24| parse_refreshpattern: Invalid regular expression '([^.]+.|)
      2012/04/13 20:28:24| squid.conf line 80: refresh_pattern ([^.]+.|)java.com/.
      .(
      2012/04/13 20:28:24| parse_refreshpattern: Invalid regular expression '([^.]+.|)
      2012/04/13 20:28:24| squid.conf line 81: refresh_pattern ([^.]+.|)sun.com/.*.(z
      2012/04/13 20:28:24| parse_refreshpattern: Invalid regular expression '([^.]+.|)

      trying to work out what the Invalid regular expression means, and what I need to do to fix it

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

        Did you included any custom option on squid GUI?

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • N
          Nutterpc
          last edited by

          Yes I just added the options as per the squid "Windows update" wiki on the pfsense site

          After looking at this site:

          http://wiki.squid-cache.org/SquidFaq/WindowsUpdate

          It showed me where it was it was coming up with that error, and it was referring to the following string:

          ([^.]+.|)

          I followed as the squid cache site mentioned, and the errors disappeared

          Now all I get is the following:

          [2.0.1-RELEASE][admin@pfsense.localdomain]/root(26): squid -N -d 1
          2012/04/13 22:09:47| Squid is already running!  Process ID 56475

          ;) I told you Id find things to help out others. Im already testing some kernel sysctl tweaks that have reduced overall processor consumption by a SIGNIFICANT margin. Normally pfsense was reporting it was constantly on 100% (For reasons I do not know), but now it reports an avg 15-17%

          All depends how much my partner and I are surfin the net. As i further fine tune and work out more about how to better suit this server to its hardware, and also the connection to the hardware (I have paperwork sitting beside me for that too!!), then I'll be able to pass it on

          1 Reply Last reply Reply Quote 0
          • P
            podilarius
            last edited by

            Would you mind posting your tweaks so that it might help other create a more efficient system?

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

              I use this regex for windows updates

              ([^.]+.)?(download|(windows)?update).(microsoft.)?com/.*.(cab|exe|msi|msp|psf)

              In the beginning I used a regex like yours and got the same error, but after changing the errors disappeared.

              1 Reply Last reply Reply Quote 0
              • N
                Nutterpc
                last edited by

                no worries pod ;D

                Only thing i noticed still after restarting the server (Had to move the man cave about a bit) is what it was going to start HAVP, it still complains pw: unknown group havp, but when you go and look at the necessary file, the group is there

                Weird

                Should be done fairly shortly, I gotta head out shopping, so im gunna do some more work on this damn server after i get back

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