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

    Loading package instructions

    Scheduled Pinned Locked Moved Russian
    31 Posts 9 Posters 11.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.
    • werterW
      werter
      last edited by

      @Rezor666:

      squid-2.7.9_1       HTTP Caching Proxy
      squid-3.1.20        HTTP Caching Proxy
      squidGuard-1.4_4    A fast redirector for squid
      unzoo-4.4_2         A zoo archive extractor

      Вот и ответ. Сквидгвард после переустановки как и полагается подтянул 2-ой сквид, к-ый нам теперь не нужен (и более того, может навредить , работая одновременно с 3-им сквидом).
      Поэтому :

      0. БЭКАП КОНФИГУРАЦИИ !!!
      1. Если есть lightsquid - временно его из веб-морды удалить.
      2. Удалить временно 3-ий сквид из веб-морды.
      3. В шелле pkg_delete -f  squid-2.7.9_1
      4. Установить 3-ий сквид из пакетов в веб-морде.
      5. Установить lightsquid из пакетов в веб-морде.
      2. Перезагрузить pfsense.

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

        Целую неделю мониторю сервак. Не одного сбоя связаного с squid не было.
        Но на всякий случай все же удалю если считаете что так будет лучше )

        (System administrator  | Certified Dr.Web | Office Guru)
        Мой блог

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

          werter все сделал, спасибо.

          (System administrator  | Certified Dr.Web | Office Guru)
          Мой блог

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

            @Rezor666:

            werter все сделал, спасибо.

            Рад что помог :) Добавьте , пож-та, [РЕШЕНО] в название Вашей темы.

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

              Давайте я еще чуть чуть поиграю с пакетами и если варианта по более легкой установки пакетов не найду тогда добавлю в решено а если найду то отпишу сюда и поставлю решено.
              А то выходит что при установке squid и squidguard приходиться танцевать с бубном.  :)

              (System administrator  | Certified Dr.Web | Office Guru)
              Мой блог

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

                После пыток и мучений пакетов что бы найти нормальный способ увы не чего не вышло.
                Зато на VMware нашел новую  ;D
                Все сайти режет SquidGuard вне зависимости от настроек.
                Вот скрины и логи.


                (System administrator  | Certified Dr.Web | Office Guru)
                Мой блог

                1 Reply Last reply Reply Quote 0
                • _
                  _if
                  last edited by

                  мда.ничего не помогает.

                  при удалении выскакивает ошибка

                  Warning: require_once(squid.inc): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 54 Fatal error: require_once(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squidguard_configurator.inc on line 54

                  p.s.
                  по возможности,подскажите как настраивается openvpn!

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

                    Не будьте так котегоричны. Настройки в default и попробуйте снова. Или backup и востоновления.

                    (System administrator  | Certified Dr.Web | Office Guru)
                    Мой блог

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

                      Warning: require_once(squid.inc): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 54 Fatal error: require_once(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squidguard_configurator.inc on line 54

                      Поправил этот баг с сорсах. Закомментируйте 54 строку в файле /usr/local/pkg/squidguard_configurator.inc (символ # в начале строки)  и выполните удаление.

                      SquidGuardDoc EN  RU Tutorial
                      Localization ru_PFSense

                      1 Reply Last reply Reply Quote 0
                      • _
                        _if
                        last edited by

                        @dvserg:

                        Warning: require_once(squid.inc): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 54 Fatal error: require_once(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squidguard_configurator.inc on line 54

                        Поправил этот баг с сорсах. Закомментируйте 54 строку в файле /usr/local/pkg/squidguard_configurator.inc (символ # в начале строки)  и выполните удаление.

                        Тем не менее.Вариант не рабочий…Пробовал переставить гуи

                        Warning: file_put_contents(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/squidguard.inc on line 962

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

                          Для рабочего варианта требуется наличие пакета SQUID.

                          2 _if и свою версию PFSense озвучьте

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

                          1 Reply Last reply Reply Quote 0
                          • _
                            _if
                            last edited by

                            @dvserg:

                            Для рабочего варианта требуется наличие пакета SQUID.

                            2 _if и свою версию PFSense озвучьте

                            2.0.1

                            1 Reply Last reply Reply Quote 0
                            • _
                              _if
                              last edited by

                              @_if:

                              @dvserg:

                              Для рабочего варианта требуется наличие пакета SQUID.

                              2 _if и свою версию PFSense озвучьте

                              2.0.1

                              Ответьте пожалуйста,как скоро выйдет фикс данного (бага)ошибки?

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

                                Ошибка исправлена в сорсах.
                                Здесь показано, что сделать при невозможности удалить/переустановить пакет
                                http://forum.pfsense.org/index.php/topic,55209.msg295272.html#msg295272

                                SquidGuardDoc EN  RU Tutorial
                                Localization ru_PFSense

                                1 Reply Last reply Reply Quote 0
                                • _
                                  _if
                                  last edited by

                                  @dvserg:

                                  Ошибка исправлена в сорсах.
                                  Здесь показано, что сделать при невозможности удалить/переустановить пакет
                                  http://forum.pfsense.org/index.php/topic,55209.msg295272.html#msg295272

                                  Спасибо,все разрешилось!

                                  Столкнулся со следующей проблемой…Не стартует сам сервис.

                                  Filter GUI log

                                  Show top 50 entries. List from the line: << 0 >>
                                  01.11.2012 12:19:35 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:19:35 [squid_reconfigure] Remove old redirector options from Squid config.
                                  01.11.2012 12:19:35 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                  01.11.2012 12:19:35 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                  01.11.2012 12:19:35 [sg_create_config] Add Default
                                  01.11.2012 12:19:35 [sg_create_config] Add rewrites: safesearch;
                                  01.11.2012 12:19:35 [sg_reconfigure_user_db] Warning User destinations list empty.
                                  01.11.2012 12:19:35 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                  01.11.2012 12:19:34 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:19:34 [squid_reconfigure] Remove old redirector options from Squid config.
                                  01.11.2012 12:19:34 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                  01.11.2012 12:19:34 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                  01.11.2012 12:19:34 [sg_create_config] Add Default
                                  01.11.2012 12:19:34 [sg_create_config] Add rewrites: safesearch;
                                  01.11.2012 12:19:34 [sg_reconfigure_user_db] Warning User destinations list empty.
                                  01.11.2012 12:19:34 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                  01.11.2012 12:19:31 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:19:31 [squid_reconfigure] Remove old redirector options from Squid config.
                                  01.11.2012 12:19:31 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                  01.11.2012 12:19:31 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                  01.11.2012 12:19:31 [sg_create_config] Add Default
                                  01.11.2012 12:19:31 [sg_create_config] Add rewrites: safesearch;
                                  01.11.2012 12:19:31 [sg_reconfigure_user_db] Warning User destinations list empty.
                                  01.11.2012 12:19:31 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                  01.11.2012 12:16:53 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:16:53 [squid_reconfigure] Remove old redirector options from Squid config.
                                  01.11.2012 12:16:53 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                  01.11.2012 12:16:53 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                  01.11.2012 12:16:53 [sg_create_config] Add Default
                                  01.11.2012 12:16:53 [sg_create_config] Add rewrites: safesearch;
                                  01.11.2012 12:16:53 [sg_reconfigure_user_db] Warning User destinations list empty.
                                  01.11.2012 12:16:53 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                  01.11.2012 12:16:50 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:16:50 [squid_reconfigure] Remove old redirector options from Squid config.
                                  01.11.2012 12:16:50 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                  01.11.2012 12:16:50 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                  01.11.2012 12:16:50 [sg_create_config] Add Default
                                  01.11.2012 12:16:50 [sg_create_config] Add rewrites: safesearch;
                                  01.11.2012 12:16:50 [sg_reconfigure_user_db] Warning User destinations list empty.
                                  01.11.2012 12:16:50 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                  01.11.2012 12:10:52 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:10:52 [squid_reconfigure] Remove old redirector options from Squid config.
                                  01.11.2012 12:10:52 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                  01.11.2012 12:10:52 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                  01.11.2012 12:10:52 [sg_create_config] Add Default
                                  01.11.2012 12:10:52 [sg_create_config] Add rewrites: safesearch;
                                  01.11.2012 12:10:52 [sg_reconfigure_user_db] Warning User destinations list empty.
                                  01.11.2012 12:10:52 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                  01.11.2012 12:09:28 [squid_reconfigure] Add new redirector options to Squid config.
                                  01.11.2012 12:09:28 [squid_reconfigure] Remove old redirector options from Squid config.

                                  Filter config

                                  ============================================================

                                  SquidGuard configuration file

                                  This file generated automaticly with SquidGuard configurator

                                  (C)2006 Serg Dvoriancev

                                  email: dv_serg@mail.ru

                                  ============================================================

                                  logdir /var/squidGuard/log
                                  dbhome /var/db/squidGuard

                                  rew safesearch {
                                  s@(google../search?.q=.)@&safe=active@i
                                  s@(google..
                                  /images.q=.)@&safe=active@i
                                  s@(google../groups.q=.)@&safe=active@i
                                  s@(google..
                                  /news.q=.)@&safe=active@i
                                  s@(yandex../yandsearch?.text=.)@&fyandex=1@i
                                  s@(search.yahoo..
                                  /search.p=.)@&vm=r&v=1@i
                                  s@(search.live../.q=.)@&adlt=strict@i
                                  s@(search.msn..
                                  /.q=.)@&adlt=strict@i
                                  s@(.bing..*/.q=.)@&adlt=strict@i
                                  log block.log
                                  }

                                  acl  {

                                  default  {
                                  pass none
                                  redirect http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
                                  }
                                  }

                                  Остальные,пустые.

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

                                    Настроить squid
                                    Включить и настроить SG.

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

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