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

Squid won't save Changes in General

Scheduled Pinned Locked Moved Cache/Proxy
9 Posts 5 Posters 1.9k 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.
  • S
    spanguel
    last edited by Jan 19, 2017, 5:13 PM Jan 19, 2017, 4:55 PM

    I have 2 pfsense boxes. Both are running the same Version:

    pfsense Version:

    2.3.2-RELEASE-p1 (amd64)
    built on Tue Sep 27
    FREEBSD 10.3-RELEASE-p9

    Package Versions:

    The first Box (wich is functional –> at least with Squid/ClamAV)
    Squid: 0.4.26
    squidGuard: 1.14_4
    Lightsqui: 3.0.4_1

    The second Box
    Squid: 0.4.33
    squidGuard: 1.14_4
    Lightsquid: 3.0.4_3

    The second Box ignores changes in the General Tab of "Services –> Squid Proxy Server"
    Disabling "Services --> Squid Proxy Server --> Antivirus --> Enable AV" resolves the Problem.

    I couldn't verify it as a Bug since I don't want to upgrade my first Box.

    Reinstall was attempted. Can someone verify? (logs will be posted if I'm not the only one and it is indeed a general bug)

    1 Reply Last reply Reply Quote 0
    • M
      mrE
      last edited by Jan 19, 2017, 7:33 PM

      After upgrade to version 0.4.33 I have the same issue:
      Can't change/save settings anymore.

      I'm looking how to edit some settings in "Headers Handling, Language and Other Customizations" any clue?

      Thanks

      1 Reply Last reply Reply Quote 0
      • J
        judgefred
        last edited by Jan 20, 2017, 8:16 AM Jan 20, 2017, 8:03 AM

        Me too.  It won't save the setting in General but it does saved in other tab .  For example, I checked box the Transparent HTTP Proxy and Enable Access Logging then click Save, then after it reload, those box got uncheck.

        Here what I have tried but no success:

        • remove squid and squidguard package then reinstall
        • manually deleted the squid folder
        • updated pfsense from 2.3.2 to 2.3.3-RELEASE-p1
        • reboot each time when remove/reinstall package
        • stop the squid service, it did stop, checked the Transparent HTTP Proxy –> Save --> it got unchecked again
        • stop the squid service, it did stop, unchecked the Enable Squid Proxy --> Save --> got checked again
        • Tried disabled Antivirus (it works) then enable Transparent HTTP Proxy (not working)

        I'm noob here, 3rd days with pfsense.  Anyone got any ideas?
        Running Squid version 0.4.33

        Thanks

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by Jan 20, 2017, 12:05 PM Jan 20, 2017, 11:10 AM

          This broke it - https://github.com/pfsense/FreeBSD-ports/pull/254

          Why? NFC. Will get that reverted, plus filed a bug about install_cron_job().

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Jan 20, 2017, 2:45 PM

            I can't seem to reproduce this on 2.4, can someone try editing /usr/local/pkg/squid_antivirus.inc and adding this just under the install_cron_job on line 83?

            parse_config(true);
            

            So this:

            		install_cron_job("{$freshclam_cmd}", true, "{$minutes}", "*/{$hours}", "*", "*", "*", "clamav");
            

            Becomes this:

            
            		install_cron_job("{$freshclam_cmd}", true, "{$minutes}", "*/{$hours}", "*", "*", "*", "clamav");
            		parse_config(true);
            
            

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Jan 20, 2017, 4:25 PM

              I was able to reproduce it on 2.3.3 finally but I found that it was running squid_resync() twice back-to-back which caused the odd behavior.

              I removed this from squid.xml and it works fine:

              	 <custom_add_php_command>squid_resync();</custom_add_php_command> 
              
              

              I don't see any reason for that to be there on squid.xml either, unless I'm really missing something…

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by Jan 20, 2017, 4:40 PM

                @jimp:

                I was able to reproduce it on 2.3.3 finally but I found that it was running squid_resync() twice back-to-back which caused the odd behavior.

                I removed this from squid.xml and it works fine:

                	 <custom_add_php_command>squid_resync();</custom_add_php_command> 
                
                

                I don't see any reason for that to be there on squid.xml either, unless I'm really missing something…

                Thanks, seems to fix it as well… I guess there should be some locking or whatnot in place to prevent similar things?

                1 Reply Last reply Reply Quote 0
                • S
                  spanguel
                  last edited by Jan 20, 2017, 11:00 PM

                  I appreciate the quick responses :)

                  @doktornotor: Thanks for the action on github too

                  For everyone:
                  First Thread: https://github.com/pfsense/FreeBSD-ports/pull/254
                  Fixed Thread: https://github.com/pfsense/FreeBSD-ports/pull/261

                  Its fixed in Version 0.4.34

                  1 Reply Last reply Reply Quote 0
                  • J
                    judgefred
                    last edited by Jan 24, 2017, 6:52 AM

                    It's working after updated to 0.4.34.

                    Thank you all.
                    :)

                    1 Reply Last reply Reply Quote 0
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received