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

    Want package for squidanalyzer. INSTRUCTIONS AND FILES TO INSTALL

    Cache/Proxy
    18
    94
    28.1k
    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.
    • T
      Topper727
      last edited by

      https://github.com/darold/squidanalyzer

      wonder if we can see this in a package?  I want to see stats from hits and misses and how much to each site and alll

      It shows all kinds of good information.. If you find useful I will help set it up manually on your box just https://db.tt/tr4phPVW Dropbox and join this to help me to be able to put a some stuff for you all in my box
      screencapture-192-168-1-1-squidanalyzer-2015-index-html.png
      screencapture-192-168-1-1-squidanalyzer-2015-index-html.png_thumb

      Dell 2950 g3 server
      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
      Current: 2000 MHz, Max: 2667 MHz
      8 CPUs: 2 package(s) x 4 core(s)
      8152 MiB and 600meg 10k drive
      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

      1 Reply Last reply Reply Quote 0
      • T
        Topper727
        last edited by

        No interest in this being a package?

        Dell 2950 g3 server
        Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
        Current: 2000 MHz, Max: 2667 MHz
        8 CPUs: 2 package(s) x 4 core(s)
        8152 MiB and 600meg 10k drive
        Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          I'm sure lots are interested but don't have the technical skill to make a package or contribute other than to test and suggest.  If you have the time, perhaps you could write up a quickie post on how to do it so that it can be referenced.  Personally something like this would be a 'nice to have' and not a 'need to have'.  I'd be happy to play around with it though.

          1 Reply Last reply Reply Quote 0
          • T
            Topper727
            last edited by

            Quickie post?  Not following what you mean.. I did manual install and got it running works good..

            Dell 2950 g3 server
            Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
            Current: 2000 MHz, Max: 2667 MHz
            8 CPUs: 2 package(s) x 4 core(s)
            8152 MiB and 600meg 10k drive
            Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              Quickie post?  Not following what you mean.

              As in a quick guide or list of steps to describe how to get it installed and working.

              1 Reply Last reply Reply Quote 0
              • T
                Topper727
                last edited by

                Will write one on my day off ok..

                screencapture-192-168-1-1-squidanalyzer-2015-02-05-index-html.png
                screencapture-192-168-1-1-squidanalyzer-2015-02-05-index-html.png_thumb

                Dell 2950 g3 server
                Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                Current: 2000 MHz, Max: 2667 MHz
                8 CPUs: 2 package(s) x 4 core(s)
                8152 MiB and 600meg 10k drive
                Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                1 Reply Last reply Reply Quote 0
                • T
                  Topper727
                  last edited by

                  Ok Tools needed.

                  WINSCP (for your computer) http://winscp.net/download/winscp556setup.exe (windows version)
                  PUTTY (for your computer) http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe (windows version)
                  CRON (in PFsense from Packages)

                  Enabled shell connections in your advanced tab in Pfsense

                  And these files I compiled. I did them because I don't want to break your firewall
                  Sorry my data is in them not sure how to clean out yet.

                  Download https://www.dropbox.com/s/86mgj9yfc7g1f8u/squidanalyzer.rar?dl=0
                  this file will upload to  into /usr/local/www from your PC where you downloaded them using WINSCP

                  In putty go to /usr/local/www and run tar -xzf squidanalyzer.rar

                  This should make a folder in your directory called squidanalyzer.  From this you can go to https://yourfirewallip/squidanalyzer and see data that came from me but not your data yet.  So next steps will provide your data

                  Download https://www.dropbox.com/s/bjgu1ijzsknlx6t/temp.rar?dl=0
                  this file will upload to  into / directory (root) from your PC where you downloaded them using WINSCP

                  In putty go to / and run tar -xzf temp.rar

                  next install perl
                  pkg install perl5.16-5.16.3_18 using putty.. If you never used pkg command it will say you have to download and install it.. answer yes and you then run the command again

                  Now in your browser with the firewall.. go to services and CRON

                  Add this to a cron job .

                  cd /temp/squidanalyzer/ && perl squid-analyzer -r -c /etc/squidanalyzer/squidanalyzer.conf /var/squid/logs/access.log

                  I put it for each hour ..

                  If this helps you please click the thanks button.
                  and https://db.tt/tr4phPVW sign up for dropbox so I have more room to put more helpful things

                  screencapture-192-168-1-1-packages-cron-cron_edit-php.png
                  screencapture-192-168-1-1-packages-cron-cron_edit-php.png_thumb

                  Dell 2950 g3 server
                  Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                  Current: 2000 MHz, Max: 2667 MHz
                  8 CPUs: 2 package(s) x 4 core(s)
                  8152 MiB and 600meg 10k drive
                  Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

                    thanks Topper!  I didn't follow your write up, but was able to use the files that you compiled to get it working on my box…

                    I dont see a FreeBSD port for it :-(  But it's basically a Perl script with a Perl module and a few config files...

                    1 Reply Last reply Reply Quote 0
                    • T
                      Topper727
                      last edited by

                      Well hope it works good for you.  I know what you mean.. I will try clean up the install later.. I just finished making virtualbox work on my system so I can run snorby

                      Give me thanks :)

                      Dell 2950 g3 server
                      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                      Current: 2000 MHz, Max: 2667 MHz
                      8 CPUs: 2 package(s) x 4 core(s)
                      8152 MiB and 600meg 10k drive
                      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Topper727
                        last edited by

                        And I had to compile it using Make to get those perl files and all that in the download you got. If not done that then you would not have all those files to be able to work.  You can try it right from Github in link in older posts and make your own if you want to try that also.

                        Glad my work on figuring out how to get it working has given you some help and you have it going

                        Dell 2950 g3 server
                        Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                        Current: 2000 MHz, Max: 2667 MHz
                        8 CPUs: 2 package(s) x 4 core(s)
                        8152 MiB and 600meg 10k drive
                        Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

                          There wasn't anything that needed be compiled. All the files are ready to use right from github. You just have to put them in the right place and have perl working. but thanks again for sharing

                          1 Reply Last reply Reply Quote 0
                          • T
                            Topper727
                            last edited by

                            Well for some reason for me when I did it it did not work right out of box.  I had to run make on install file to get it to compile.. Maybe they updated it or something now.  That is cool that just need to move files in and that would work. Make easier to make a package for it.

                            if someone would make a package

                            Dell 2950 g3 server
                            Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                            Current: 2000 MHz, Max: 2667 MHz
                            8 CPUs: 2 package(s) x 4 core(s)
                            8152 MiB and 600meg 10k drive
                            Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

                              I keep telling myself one of these days i'll make a package… lol...  with this one, perl would have to be added so there would be a pbi instead of just dropping files into pfsense... pbi are like a jail setup for pfSense... keeps the binaries away from the core files.

                              1 Reply Last reply Reply Quote 0
                              • T
                                Topper727
                                last edited by

                                So tell me how you like this software?

                                Dell 2950 g3 server
                                Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                Current: 2000 MHz, Max: 2667 MHz
                                8 CPUs: 2 package(s) x 4 core(s)
                                8152 MiB and 600meg 10k drive
                                Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

                                  Dont know yet… need at least a week data to see if its worth it or not.  I like the fact I can have it break out my networks based on subnet... One issue which maybe a show stopped for me, it doesn't like IPv6 addresses... but still need to investigate if its my config or the software

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Topper727
                                    last edited by

                                    Well they do good at updating it so maybe they will address that ipv6 issue sometime soon.. I will let you know if I see that
                                    I don't have ipv6 yet here to test with sorry.  I really not like Ipv6 wish it was not so long of length so I could remember them like ipv4

                                    Dell 2950 g3 server
                                    Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                    Current: 2000 MHz, Max: 2667 MHz
                                    8 CPUs: 2 package(s) x 4 core(s)
                                    8152 MiB and 600meg 10k drive
                                    Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

                                      i hear ya on the address length but hostname/dns solves that problem

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Topper727
                                        last edited by

                                        Anyone else try this yet?

                                        Dell 2950 g3 server
                                        Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                        Current: 2000 MHz, Max: 2667 MHz
                                        8 CPUs: 2 package(s) x 4 core(s)
                                        8152 MiB and 600meg 10k drive
                                        Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xtrgeo
                                          last edited by

                                          me, but i do get error when uncompressing temp.rar

                                          Parsing filters is unsupported…

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Topper727
                                            last edited by

                                            Sounds like the download was not complete on the file you got.  That would make it not unzip .. maybe try redownloading it

                                            Dell 2950 g3 server
                                            Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                            Current: 2000 MHz, Max: 2667 MHz
                                            8 CPUs: 2 package(s) x 4 core(s)
                                            8152 MiB and 600meg 10k drive
                                            Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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