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

    Block downloading big files

    Scheduled Pinned Locked Moved Traffic Shaping
    7 Posts 3 Posters 5.2k 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.
    • A
      arafet
      last edited by

      hello,

      i want to give the possibility to my network users to download small files and to block the downloading big files (bigger then 200Mo for example)

      how can i do this? thank you

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

        First thing that comes to mind is using squid.

        1 Reply Last reply Reply Quote 0
        • A
          arafet
          last edited by

          i think to traffic shaping but i don't now how can i do it??

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

            Traffic shaping can only slow down traffic. You won't be able to tell what you are slowing. Traffic shaping can slow down connections after a configurable amount of time.

            1 Reply Last reply Reply Quote 0
            • A
              arafet
              last edited by

              ok  ;) i will see how can i do it with squid

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

                Check Squid's reply_body_max_size directive.

                1 Reply Last reply Reply Quote 0
                • A
                  arafet
                  last edited by

                  it works :
                  i configure "services -> proxy server -> traffic mgmt -> maximum download size" i set 300 kilobytes,
                  i tray to downlod a file from a web site that have 417kB and the download is blocked  :D

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