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

    Patch to enable Squid cachemgr

    pfSense Packages
    4
    7
    4.2k
    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.
    • M
      msamblanet
      last edited by

      The attached patch will allow the Squid Cachemgr to be available.  As there is no view security in the cachemgr.cgi provided by Squid, I left it disabled by default and only copy it into the Web directory when enabled…

      squid_cachemgr.patch.txt

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

        Pls post step-by-step instruction for novices how install this patch?
        Thk's

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • B
          billm
          last edited by

          @msamblanet:

          The attached patch will allow the Squid Cachemgr to be available.  As there is no view security in the cachemgr.cgi provided by Squid, I left it disabled by default and only copy it into the Web directory when enabled…

          Looks reasonable, I'll try to test it later today and commit.  Can anyone else confirm that this patch works for them?

          –Bill

          pfSense core developer
          blog - http://www.ucsecurity.com/
          twitter - billmarquette

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

            Bill,

            Just FYI - This patch does not include the access-log disable patch from http://forum.pfsense.org/index.php?topic=1087.0 - it is only the cachemgr patch

            dvserg,

            This is a patch against /usr/local/pkg/squid_ng.inc and /usr/local/pkg/squid_ng.xml.  Install the squid module, get it working, then backup the files and apply the patch. You should have new configuration options on the 1st tab of the Squid config.  To obtain the patch tools, see the URL above as that message contains directions for obtaining them.

            If you are not comfortable with this level of directions, I'd suggest you wait until Bill has merged the patch…modifying files on a firewall is not a good place to learn new tools if you can avoid it :)

            Note that I don't think most people need the detail provided by the cachemgr but when you do have a wierd problem (or need some visibility into stats), it can be helpful...

            1 Reply Last reply Reply Quote 0
            • B
              billm
              last edited by

              @msamblanet:

              The attached patch will allow the Squid Cachemgr to be available.  As there is no view security in the cachemgr.cgi provided by Squid, I left it disabled by default and only copy it into the Web directory when enabled…

              Commited with some minor modifications.  Do a package reinstall to get the latest version.

              –Bill

              pfSense core developer
              blog - http://www.ucsecurity.com/
              twitter - billmarquette

              1 Reply Last reply Reply Quote 0
              • B
                bairdmj
                last edited by

                I don't see any options for the cachemgr within the webGUI, and cachemgr.cgi is not in the www root.  Do I need to manually apply this patch?

                Scratch that.  I was just being stupid :)

                1 Reply Last reply Reply Quote 0
                • B
                  bairdmj
                  last edited by

                  OK.  I see the menu options in squid_ng.xml, but they are not appearing in the GUI.  Maybe I am just misunderstanding how the package/GUI system works.  Could someone give me pointers please?

                  Thanks!

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