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

    Limit Bandwidth for One Click Filehoster

    Scheduled Pinned Locked Moved Traffic Shaping
    5 Posts 2 Posters 1.9k 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
      redflag237
      last edited by

      Hi,

      I need a solution for throttling large file downloads.
      First i thought limiting services like rapidshare, uploaded, etc. by limiting their ip ranges is a good way,
      but as i am unable to find any good ip range lists of these providers,
      it seems to me that i'm on the wrong track.

      How would you deal with requests like that?

      I'm using pfSense embedded 2.0.2, using squid in transparent mode for caching needs.

      Thanks in advance,

      redflag237

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

        Maybe the solution is to limit speed of a http Traffic Connection, if transferred size exceeds 1MB of data.
        Is there a way to do so in pfsense?

        Maybe these file Downloads can be catched by L7 Filter on rar files in most cases.
        Is there an option to do so, too?

        I found the following page:
        http://l7-filter.sourceforge.net/protocols

        there is a l7 pattern for rar file format. How can i apply this pattern to pfsense?

        Looking forward to your ideas :-)

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

          Sorry but is there noone who could geve me a hint?

          1 Reply Last reply Reply Quote 0
          • K
            kyu
            last edited by

            @redflag237:

            Sorry but is there noone who could geve me a hint?

            If your HFSC is working, you could fiddle with m1 and d perimeter.

            Say the queue responsible for downloading will get m1 = 20Mbit (bypass all other limit) for d=30seconds, and after that it's given a lower bandwidth m2=2Mbit. I believe this will automatically throttle any file bigger than 20Mbit x 30 / 8 = 75MByte.

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

              @kyu:

              @redflag237:

              Sorry but is there noone who could geve me a hint?

              If your HFSC is working, you could fiddle with m1 and d perimeter.

              Say the queue responsible for downloading will get m1 = 20Mbit (bypass all other limit) for d=30seconds, and after that it's given a lower bandwidth m2=2Mbit. I believe this will automatically throttle any file bigger than 20Mbit x 30 / 8 = 75MByte.

              Works fine, thank you very much!

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