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

    Squid обновление до версии 3.5.14

    Scheduled Pinned Locked Moved Russian
    4 Posts 3 Posters 1.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.
    • R
      RedPromo
      last edited by

      Подскажите можно ли обновить squid до версии 3.5

      pfSense
      2.2.6-RELEASE (amd64)
      built on Mon Dec 21 14:50:08 CST 2015
      FreeBSD 10.1-RELEASE-p25

      Делал по следующей инструкции не взлето, к большому сожалению.
      Причина в необходимости фильтрации трафика HTTPS.

      http://hubpages.com/technology/Intercepting-HTTPS-Traffic-Using-the-Squid-Proxy-in-pfSense
      Upgrading to Squid 3.5.3

      The upgrade instructions are slightly different depending on whether you are running the 32-bit or 64-bit version of pfSense.

      To determine which version you have open the pfSense dashboard and check the version section of the system information dashboard widget. If you see AMD64 then follow the 64-bit instructions. If you see i386, then use the 32-bit instructions.

      The commands can be run through an SSH terminal, or the web based terminal (Diagnostics \ Command Prompt)

      64-Bit (AMD64) Instructions

      Download the PBI by running the command: fetch https://files.pfsense.org/packages/10/All/squid-3.5.3-amd64.pbi
      Install the package by running: pbi_add –no-checksig -f squid-3.5.3-amd64.pbi
      Run the commands below to create the correct directory structure
      cd /usr/pbi/squid-amd64/
      rm -rf /usr/pbi/squid-amd64/etc
      ln -s /usr/pbi/squid-amd64/local/etc .
      ln -s /usr/pbi/squid-amd64/local/lib .
      ln -s /usr/pbi/squid-amd64/local/libexec .
      ln -s /usr/pbi/squid-amd64/local/share .
      ln -s /usr/pbi/squid-amd64/bin sbin

      Reboot pfSense after running the above commands (Diagnostics \ Reboot).

      После этих действий squid не нашел conf фалов судя по логам.
      Где-то на форму читал что после обновления бинарных файлов необходимо еще обновить конфигурационные но так и не нашел где их взять.
      Может кто обновлялся до последней версии squid судя по статье в версии 3.4

      The pfSense package manager currently contains Squid version 3.4 which has a known issue where it incorrectly generates SHA1 certificates instead of SHA256.

      возможно ли обновить или ждать официального релиза.

      1 Reply Last reply Reply Quote 0
      • werterW
        werter
        last edited by

        Доброе.
        Крайне актуальная тема (для меня). Если все же у Вас получится - просьба отписаться.
        За ссылку - спасибо.

        P.s. Покажите логи сквида после перезагрузки.

        1 Reply Last reply Reply Quote 0
        • R
          RedPromo
          last edited by

          Вот логи

          Mar 20 21:59:44 php-fpm[79033]: /pkg_edit.php: [squid] Template not found; could not generate '/usr/pbi/squid-i386/local/etc/c-icap/squidclamav.conf' file!
          Mar 20 21:59:44 php-fpm[79033]: /pkg_edit.php: [squid] Template not found; could not generate '/usr/pbi/squid-i386/local/etc/c-icap/c-icap.conf' file!
          Mar 20 21:59:44 php-fpm[79033]: /pkg_edit.php: [squid] Template not found; could not save '/usr/pbi/squid-i386/local/etc/c-icap/c-icap.magic' file!
          Mar 20 21:59:44 php-fpm[79033]: /pkg_edit.php: [squid] Template not found; could not generate '/usr/pbi/squid-i386/local/etc/freshclam.conf' file!
          Mar 20 21:59:44 php-fpm[79033]: /pkg_edit.php: [squid] Template not found; could not generate '/usr/pbi/squid-i386/local/etc/clamd.conf' file!

          Это логи сам сервис squid вроде как работает.

          1 Reply Last reply Reply Quote 0
          • 0
            0ppa
            last edited by

            @RedPromo:

            Подскажите можно ли обновить squid до версии 3.5

            pfSense
            2.2.6-RELEASE (amd64)
            built on Mon Dec 21 14:50:08 CST 2015
            FreeBSD 10.1-RELEASE-p25

            Делал по следующей инструкции не взлето, к большому сожалению.
            Причина в необходимости фильтрации трафика HTTPS.

            http://hubpages.com/technology/Intercepting-HTTPS-Traffic-Using-the-Squid-Proxy-in-pfSense
            Upgrading to Squid 3.5.3

            The upgrade instructions are slightly different depending on whether you are running the 32-bit or 64-bit version of pfSense.

            To determine which version you have open the pfSense dashboard and check the version section of the system information dashboard widget. If you see AMD64 then follow the 64-bit instructions. If you see i386, then use the 32-bit instructions.

            The commands can be run through an SSH terminal, or the web based terminal (Diagnostics \ Command Prompt)

            64-Bit (AMD64) Instructions

            Download the PBI by running the command: fetch https://files.pfsense.org/packages/10/All/squid-3.5.3-amd64.pbi
            Install the package by running: pbi_add –no-checksig -f squid-3.5.3-amd64.pbi
            Run the commands below to create the correct directory structure
            cd /usr/pbi/squid-amd64/
            rm -rf /usr/pbi/squid-amd64/etc
            ln -s /usr/pbi/squid-amd64/local/etc .
            ln -s /usr/pbi/squid-amd64/local/lib .
            ln -s /usr/pbi/squid-amd64/local/libexec .
            ln -s /usr/pbi/squid-amd64/local/share .
            ln -s /usr/pbi/squid-amd64/bin sbin

            Reboot pfSense after running the above commands (Diagnostics \ Reboot).

            После этих действий squid не нашел conf фалов судя по логам.
            Где-то на форму читал что после обновления бинарных файлов необходимо еще обновить конфигурационные но так и не нашел где их взять.
            Может кто обновлялся до последней версии squid судя по статье в версии 3.4

            The pfSense package manager currently contains Squid version 3.4 which has a known issue where it incorrectly generates SHA1 certificates instead of SHA256.

            возможно ли обновить или ждать официального релиза.

            в принципе подобная тема уже обсуждалась. https://forum.pfsense.org/index.php?topic=100066.0
            В рэдмайн разработчиков ничего про добавление новой версии squid я не видел.

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