Navigation

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

    PfSense Squid 3 storeid helper

    Russian
    3
    7
    1102
    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.
    • V
      VladimirM last edited by

      Всем привет , проблема такая . Для кэша стимовских игр использовал это : https://github.com/rudiservo/pfsense_storeid. После всего лезу в логи и вижу :
      ERR - http://media2.steampowered.com/client/bins_codecs_ubuntu12.zip.vz.84b14918e1591ffd02e819b8f7fc79315dbedb03_1832666 192.168.1.103/192.168.1.103 - GET myip=127.0.0.1 myport=3128
      ERR -
      ERR - http://media2.steampowered.com/client/webkit_ubuntu12.zip.vz.0244e6a919aa0cf71d3c92c5c899873618171fdd_48753142 192.168.1.103/192.168.1.103 - GET myip=127.0.0.1 myport=3128
      ERR -
      ERR -
      ERR - http://media2.steampowered.com/client/miles_ubuntu12.zip.vz.4fd048667c97ef6eb976f4c42ce5c18f8695ac9e_295483 192.168.1.103/192.168.1.103 - GET myip=127.0.0.1 myport=3128
      ERR - http://media2.steampowered.com/client/sdl2_ubuntu12.zip.vz.9655ddd48977bc67343de051a9df00749554c639_547260 192.168.1.103/192.168.1.103 - GET myip=127.0.0.1 myport=3128
      ERR -
      ERR - http://media2.steampowered.com/client/steam_ubuntu12.zip.vz.35ae98c79987045f5239a5031db08744f234e1a7_1465811 192.168.1.103/192.168.1.103 - GET myip=127.0.0.1 myport=3128

      Что пишет разработчик :
      If you get this error:
      FATAL: The store_id helpers are crashing too rapidly, need help!
      ##check for permssions

      Вот скрин с permissions




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

        Доброе.
        Версия pf у Вас 2.2.х ?
        Проект заброшен уж 2 года как  :-\

        1 Reply Last reply Reply Quote 0
        • V
          VladimirM last edited by

          @werter:

          Доброе.
          Версия pf у Вас 2.2.х ?
          Проект заброшен уж 2 года как  :-\

          Все работает отлично . Просто была моя глупость. Качал файл которого не было в storeid

          1 Reply Last reply Reply Quote 0
          • V
            VladimirM last edited by

            Возник такой вопрос , а конкретно на тему 'регулярные выражения'

            ^http://..wargaming.net/(.).wgpkg    http://wot.wgpk.wargaming.net.squid.internal/$1

            ссылка :

            http://dl-wot-cdx.wargaming.net/ru/patches/wot_9.20.0.605_ru/wot_9.20.13335_9.19.13309_hdcontent.wgpkg

            На что меня хватило :

            ^http://..wargaming.net/(.).wgpkg    http://wot.wgpk.wargaming.net.squid.internal/$1

            Как Вы думаете будет работать ?

            1 Reply Last reply Reply Quote 0
            • P
              PbIXTOP last edited by

              До поры до времени я использовал на pfSense подобный способ http://blog.multiplay.co.uk/2014/04/lancache-dynamically-caching-game-installs-at-lans-using-nginx/
              У меня правда стояло для обновления софта - Adobe, Microsoft, Java, Google, Mozilla.
              К сожелению пришлось отказать после появления windows 8.1, где стали использовать кумулятивные обновления - слишком много места стало требоваться, и множество защищенных ssl cdn. Правда сейчас в nginx появилась возможность кешировать range запросы, но я использовал не кеш, а прямое сохранение файлов на диск.

              1 Reply Last reply Reply Quote 0
              • V
                VladimirM last edited by

                Ребят помогите , пукан горит как никогда .
                1504507564.430  5626 192.168.1.20 TCP_MISS/200 311059 GET http://valve533.steamcontent.com/depot/373303/chunk/c2b6ff80bc658c4a15736795e327616ba31d66dc? - ORIGINAL_DST/162.254.197.93 application/x-steam-chunk
                1504507564.450  1895 192.168.1.20 TCP_MISS/200 95810 GET http://valve515.steamcontent.com/depot/373303/chunk/87cdb7c1e2558ef2f507c43f19795efe90071522? - ORIGINAL_DST/162.254.197.25 application/x-steam-chunk
                1504507564.526  5077 192.168.1.20 TCP_MISS/200 316371 GET http://valve907.steamcontent.com/depot/373303/chunk/95775d00d431982a361f996449dff22649f0cb27? - ORIGINAL_DST/162.254.198.18 application/x-steam-chunk
                1504507564.892  8894 192.168.1.20 TCP_MISS/200 353970 GET http://valve507.steamcontent.com/depot/373303/chunk/1a23b344f9e01151b9f6b26729e63089ea128267? - ORIGINAL_DST/162.254.197.17 application/x-steam-chunk
                1504507564.909  7928 192.168.1.20 TCP_MISS/200 348931 GET http://valve533.steamcontent.com/depot/373303/chunk/1006c3face96b0d3571a502a29c35b0248fb912b? - ORIGINAL_DST/162.254.197.93 application/x-steam-chunk
                1504507564.996  5499 192.168.1.20 TCP_MISS/200 328931 GET http://valve515.steamcontent.com/depot/373303/chunk/25fdb99ae3249f2399da01189e1cf0eaf573e19e? - ORIGINAL_DST/162.254.197.25 application/x-steam-chunk
                1504507565.271  6366 192.168.1.20 TCP_MISS/200 382898 GET http://valve533.steamcontent.com/depot/373303/chunk/ef11692328a934be573bc66aa0256c4668e28cd3? - ORIGINAL_DST/162.254.197.93 application/x-steam-chunk
                1504507565.275    694 192.168.1.20 TCP_MISS/200 94930 GET http://valve907.steamcontent.com/depot/373303/chunk/b8f0ce7d1b0c008681a67c5ab71d65e660db590e? - ORIGINAL_DST/162.254.198.18 application/x-steam-chunk

                Задача просто кэширвать стимовские обновления
                StoreID_rewrite conf

                ^http://[^.]+.cs.steampowered.com/(.)  http://steamupdates.squid.internal/$1
                ^http://.
                .cs.steampowered.com/(.)      http://valve.cs.steampowered.com.squid.internal/$1
                ^http://[^.]+.cs.steamcommunity.com/(.
                )  http://steamcommunity.com.squid.internal/$1
                ^http://[^.]+.cs.steamgames.com/(.)  http://steamcommunity.com.squid.internal/$1
                ^http://[^.]+.cs.steamusercontent.com/(.
                )  http://steamcommunity.com.squid.internal/$1
                ^http://[^.]+.cs.steamcontent.com/(.)  http://steamcommunity.com.squid.internal/$
                ^http://[^.]+.cs.steamusercontent.com/(.
                )  http://steamcommunity.com.squid.internal/$1
                ^http://[^.]+.cs.steamstatic.com/(.)  http://steamcommunity.com.squid.internal/$1
                ^http://.
                .cs.steampowered.com/(depot/\d+/chunk/.*)          http://valveN.steamcdn.cs.steampowered.com.squid.internal/$1

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

                  Доброе.
                  https://forum.pfsense.org/index.php?topic=119391.0
                  https://forum.pfsense.org/index.php?topic=68445.0

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post