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

    Squid package on 1.2.1 and 1.2.2

    Scheduled Pinned Locked Moved pfSense Packages
    26 Posts 8 Posters 11.8k 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.
    • D
      dvserg
      last edited by

      Maybe you use TinyDNS package ?

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • M
        mkuron
        last edited by

        No, I don't. I currently have a clean install of 1.2.1-RC4 with the squid package installed, nothing else.
        And I highly doubt installing tinydns would solve any problem. squid's dnsserver performs DNS lookups for Squid.

        Software: pfSense 1.2.2-RELEASE
        Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
        NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
        Packages: squid, squidGuard

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

          Type cmd from shell
          squid -d10
          What log will be displayed ?

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • M
            mkuron
            last edited by

            2008/12/18 20:12:06| Starting Squid Cache version 2.6.STABLE21 for i386-portbld-freebsd7.0…

            2008/12/18 20:12:06| Process ID 15050
            2008/12/18 20:12:06| With 11072 file descriptors available
            2008/12/18 20:12:06| Using kqueue for the IO loop
            2008/12/18 20:12:06| Performing DNS Tests...
            2008/12/18 20:12:06| Successful DNS name lookup tests...
            2008/12/18 20:12:06| helperOpenServers: Starting 5 'dnsserver' processes
            2008/12/18 20:12:06| User-Agent logging is disabled.
            2008/12/18 20:12:06| Referer logging is disabled.
            2008/12/18 20:12:06| Unlinkd pipe opened on FD 15
            2008/12/18 20:12:06| Swap maxSize 102400 + 8192 KB, estimated 0 objects
            2008/12/18 20:12:06| Target number of buckets: 425
            2008/12/18 20:12:06| Using 8192 Store buckets
            2008/12/18 20:12:06| Max Mem  size: 8192 KB
            2008/12/18 20:12:06| Max Swap size: 102400 KB
            2008/12/18 20:12:06| Store logging disabled
            2008/12/18 20:12:06| Rebuilding storage in /var/squid/cache (DIRTY)
            2008/12/18 20:12:06| Using Least Load store dir selection
            2008/12/18 20:12:06| Current Directory is /usr/local/libexec/squid
            2008/12/18 20:12:06| Loaded Icons.
            2008/12/18 20:12:06| Accepting proxy HTTP connections at 192.168.16.1, port 3128, FD 17.
            2008/12/18 20:12:06| Accepting HTCP messages on port 4827, FD 18.
            2008/12/18 20:12:06| WCCP Disabled.
            2008/12/18 20:12:06| Pinger socket opened on FD 20
            2008/12/18 20:12:06| Ready to serve requests.
            2008/12/18 20:12:06| WARNING: dnsserver #1 (FD 6) exited
            2008/12/18 20:12:06| WARNING: dnsserver #2 (FD 7) exited
            2008/12/18 20:12:06| WARNING: dnsserver #3 (FD 8) exited
            2008/12/18 20:12:06| Too few dnsserver processes are running
            FATAL: The dnsserver helpers are crashing too rapidly, need help!

            Everything looks right, except for the _dnsserver_s crashing.

            Software: pfSense 1.2.2-RELEASE
            Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
            NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
            Packages: squid, squidGuard

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

              Hm, maybe permissions … no more ideas  :-
              Try search google or yahoo for this problem.

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

              1 Reply Last reply Reply Quote 0
              • M
                mkuron
                last edited by

                Google has exactly five results, none of them relevant to this issue. Seems like I'm the only person having it?

                Software: pfSense 1.2.2-RELEASE
                Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
                NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
                Packages: squid, squidGuard

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

                  Call from shell
                  echo pfsense.com | /usr/local/libexec/squid/dnsserver

                  Check permissions /usr/local/libexec/squid/dnsserver
                  root 0555

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

                  1 Reply Last reply Reply Quote 0
                  • M
                    mkuron
                    last edited by

                    The permissions on dnsserver are correct:

                    -r-xr-xr-x  1 root  wheel  6528 Jul 24 04:10 /usr/local/libexec/squid/dnsserver

                    dnsserver also works correctly:

                    $addr 0 69.64.6.21

                    Software: pfSense 1.2.2-RELEASE
                    Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
                    NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
                    Packages: squid, squidGuard

                    1 Reply Last reply Reply Quote 0
                    • M
                      mkuron
                      last edited by

                      I just downloaded the VMWare image of 1.2.1-RC4 and squid works like a charm.
                      My guess is that during the upgrade from 1.2-RELEASE to 1.2.1-RC4, something happens that prevents squid from running correctly.

                      Unfortunately, I cannot install 1.2.1-RC4 directly on my HP NetServer LH3000 because for some reason, it won't boot from that CD. However, I will try installing it in VMWare and then cloning it to the server's hard drive.

                      Software: pfSense 1.2.2-RELEASE
                      Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
                      NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
                      Packages: squid, squidGuard

                      1 Reply Last reply Reply Quote 0
                      • M
                        mkuron
                        last edited by

                        I just did a clean install of 1.2.2 (via PXE boot) into VMWare and I'm getting the exact same "The dnsserver helpers are crashing too rapidly, need help!" error after installing squid 2.6.

                        Software: pfSense 1.2.2-RELEASE
                        Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
                        NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
                        Packages: squid, squidGuard

                        1 Reply Last reply Reply Quote 0
                        • M
                          mhab12
                          last edited by

                          I'm having issues here too.  I just got around to tinkering with 1.2.2 tonight.  I too had issues getting things going but I restored a config and let the packages install upon reboot.  That was a mess, so I uninstalled all, then tried squid3.  It crashed, but once I went through the config pages and hit save I was able to get it up and running.

                          I was not, however, able to get the transparent proxy to work.  If I setup my browser manually, I was subjected to all the rules as expected.  When I try via transparent, nothing goes through the proxy, and nothing gets logged.

                          Squid 2.6.21_07 seems to be working as expected.

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

                            Interesting.. I'm using 2.0 alpha and am having the same issue.  Of course after running fine for a few days, I head out of town on business and the Mrs. calls saying the net down, after troubleshooting, I'm getting the same error.  Anyone have a clue why?

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

                              I solved this crash when i recreated the cache

                              drop to pfsense shell

                              cd /var/squid/cache
                              rm -Rf *
                              /usr/local/sbin/squid -z
                              wait the prompt return

                              goto the web GUI and hit save button on proxy

                              Dhix Networks
                              Everything Secure

                              http://www.dhix.com.br

                              1 Reply Last reply Reply Quote 0
                              • M
                                mkuron
                                last edited by

                                Seems like the problem is gone in pfSense 1.2.2 and/or squid 2.6.21_07.

                                I just installed pfSense 1.2.2 from CD onto a HP xw6000 and it worked like a charm.
                                I suspect the problem I had before may not even have been related to pfSense or the squid package, but to some permissions issue due to the way I installed pfSense via PXE/NFS.

                                Software: pfSense 1.2.2-RELEASE
                                Hardware: HP Workstation xw6000 (2x Xeon 2,8 GHz, 2GB RAM, 36 GB SCSI HDD)
                                NICs: LAN: bge0, WAN: xl0, OPT1(WLAN): sis0
                                Packages: squid, squidGuard

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

                                  I installed squid+squidguard in pfsense 1.2.2 just to get rid of file extensions. The main purpose is to block the downloads like .exe .avi .. So its working. But how to set squid+squidguard not to log anything? I dont want them to be saved in the Hardisk… I dont have enough space.. I want it just blocking .exe and avi ... thanks

                                  jigp
                                  davao city

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mhab12
                                    last edited by

                                    Uncheck the box called 'Enabled Logging' in the Services/Proxy Server GUI.

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

                                      Thanks i got it already. Thanks for the heads up :)
                                      Jigp
                                      Davao City

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

                                        im still have issue with squid 3 + squidguard ….
                                        squid is work ... but
                                        squid guard not work with squid 3 ...
                                        is there have succes with squid 3 + squidguard ?
                                        i would like to use squid 3 + squid guard cause i have new machine
                                        production machine still give to 1.22 stable

                                        btw ... no problem at all with squid 2 + squidguard
                                        even that with 1.2.2, 1.2.3 rc2
                                        not try yet with 2.0 alpha ...

                                        thanks for feedback
                                        pfsense ... rock solid :D

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

                                          1.2.2 squid looks good. Except squid3 it wont work on 1.2.2.. Not sure to others..

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