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

    Блокировка медиа контента

    Scheduled Pinned Locked Moved Russian
    16 Posts 2 Posters 1.0k 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 @modice
      last edited by werter

      @modice

      (.*\.(3g2|3gp|3gp2|3gpp|3gpp2|asf|avi|bin|dat|f4v|flv|gtp|m4v|mov|mp4|mpeg|mpg|mts|swf|vob|wm|wmv|mpeg4|webm|asx|bin|dat|h264|mkv|mod|mts|rm|rmvb|srt|ts|yuv)$)

      Ил ,если после расширения видео-файла идет что-то еще?

      M 1 Reply Last reply Reply Quote 0
      • M
        modice @werter
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • werterW
          werter
          last edited by werter

          @modice
          В лог сквида смотрели? Apply в Сквиде жмете после правки?

          M 1 Reply Last reply Reply Quote 0
          • M
            modice @werter
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • werterW
              werter
              last edited by werter

              Покажите конфиг сквида (squid.conf \ squid3.conf)

              Правило блокировки выше разрешающего стоит?

              M 1 Reply Last reply Reply Quote 0
              • M
                modice @werter
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • werterW
                  werter
                  last edited by werter

                  Процитирую:

                  В Guard'e в Target categories создал группу video, там в Regular Expression прописал
                  (.*\.(3g2|3gp|3gp2|3gpp|3gpp2|asf|avi|bin|dat|f4v|flv|gtp|m4v|mov|mp4|mpeg|mpg|mts|swf|vob|wm|wmv)$)

                  Создал вторую группу music, там прописал
                  (.*\.(aac|flac|m3u|m3u8|m4a|m4p|m4r|mp3|mp4|mpa|msv|ogg|wav|wm|wma)$)

                  И включил эту группу под запретом у пользователей, в Groups ACL.

                  Покажите GroupACL и Target categories

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    modice @werter
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • werterW
                      werter
                      last edited by werter

                      Если пойти в лоб и вместо имеющейся регулярки заблокировать тот же гугл : (.*google\.com\/.*) - сработает?
                      Попробуйте.

                      Зы. Redirect mode = none .т.е. просто не пускает без показа Страшной страницы?

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        modice @werter
                        last edited by modice

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • werterW
                          werter
                          last edited by

                          @modice
                          Получается, что проблема с декодированием httpS. У вас сквид настроен как mitm (splice all) ?

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            modice @werter
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • werterW
                              werter
                              last edited by werter

                              @modice

                              Про подмену и про настройку сквида ,к-ая позволяет "слушать" httpS.

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                modice @werter
                                last edited by modice

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • werterW
                                  werter
                                  last edited by

                                  @modice
                                  Тут уже обсудили https://forum.netgate.com/topic/148868/pfsense-squid-adgroups-https

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