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

    Squid traffic management Maximum download size not working

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 5 Posters 8.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.
    • S
      shalib2
      last edited by

      i added 51200 ( 50 MB) in Maximum download size but its not working i checked squid.conf file it shows
      reply_body_max_size 52428800 allow all but i can download large files. is there any way to configure it properly ???

      1 Reply Last reply Reply Quote 0
      • S
        syedadi
        last edited by

        me too, it happen, i set the limit to 10mb but user can download from e-mial attachemnt for 13mb.

        1 Reply Last reply Reply Quote 0
        • S
          shalib2
          last edited by

          got a solution from mailing list ,

          please change the following lines

          /usr/local/pkg/squid.inc: line 896:

          FROM  $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " allow all\n";

          TO          $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " deny all\n";

          Then configure and save again !

          its working fine for me

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I think someone checked that fix into the package repo as well, so if you reinstall the package it may be working there now, too, without editing any files.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • H
              Hugovsky
              last edited by

              Reinstalled squid today and the package isn't fixed. Still have to make the change manually.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                I double checked and it had not been committed. I just pushed the fix in and if you reinstall squid in about 5 minutes it should be OK now.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • H
                  Hugovsky
                  last edited by

                  Thanks! I'll try tonight and I'll let you know.

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

                    not to try hijack thread …
                    still relevant i think ...

                    it work to block with new squid package
                    but, i would like to block large file for specific time ...
                    some one can give what directive are ... im stuck limited knowledge

                    very appreciate
                    thanks

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      That is not directly related to this issue, please start a new thread.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • H
                        Hugovsky
                        last edited by

                        I've installed it and the line "reply_body_max_size" says deny as it should. Thanks jimp.

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

                          @jimp
                          @Hugovsky

                          sorry beeing rude …
                          i already make thread here http://forum.pfsense.org/index.php/topic,33451.0.html

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