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

    How to test Squid to see if its doing its job?

    Scheduled Pinned Locked Moved pfSense Packages
    16 Posts 3 Posters 51.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
      JohnnyBeGood
      last edited by

      @marcelloc:

      Enable squid log on gui and test again.

      It was already enabled and you're referring to this page?

      I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

        the gui shows /var/squid/log,

        try to look there instead of /var/squid/logs

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

        Help a community developer! ;D

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

          Hi hi i am trying to download packages squid but is not listed.
          Only I get the squid3 is the same as squid?
          help me

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

            what version are you using?  ???

            I can see it on x86 and amd64 full hd install.

            squid
            squid-reverse
            squid3

            check both tabs.

            Available packages and Installed packages on system -> packages menu option

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

            Help a community developer! ;D

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

              @marcelloc:

              the gui shows /var/squid/log,

              try to look there instead of /var/squid/logs

              I've checked it last night and it was empty. I've double checked it now it's still empty.
              /var/squid/logs that is

              I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                So change gui option to match your current dir.

                If gui points to a dir that does not exists, maybe your problem is there.

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

                Help a community developer! ;D

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

                  @marcelloc:

                  So change gui option to match your current dir.

                  If gui points to a dir that does not exists, maybe your problem is there.

                  Hmm. I've got both log and logs in there. See attached.

                  2012-02-07_10-55-58.jpg
                  2012-02-07_10-55-58.jpg_thumb

                  I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                    I got to work!

                    Friendly guy jigp from IRC channel pointed me to enable Transparent proxy under General tab after that /var/squid/log/access.log started to populate.

                    Now I have to figure out how to cache youtube videos, ideas?

                    BTW thank you for your help!

                    I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                      There is a googleproject for that, using some php files and squid.

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

                      Help a community developer! ;D

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

                        @marcelloc:

                        There is a googleproject for that, using some php files and squid.

                        Are you referring to this project http://code.google.com/p/youtube-cache/

                        I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                          @JohnnyBeGood:

                          Are you referring to this project http://code.google.com/p/youtube-cache/

                          Or this one too

                          http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube?highlight=%28youtube%29

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

                          Help a community developer! ;D

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

                            @marcelloc:

                            @JohnnyBeGood:

                            Are you referring to this project http://code.google.com/p/youtube-cache/

                            Or this one too

                            http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube?highlight=%28youtube%29

                            Thanks!

                            I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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