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

    Squid Traffic mgmt/Throttle binary files

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    8 Posts 2 Posters 3.8k 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.
    • E
      ESQUlRE
      last edited by

      Friends,

      I'm using pfsense 2.0-beta3, i put it in the squid packages successfully. But  at the Traffic mgmt/Throttle binary files does not work. I think there is a bug or something because if I edit manually squid.conf it just working with different code. Is there a solution? If not why we need to pfsense if i manage from ssh.

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

        What exactly did you change in the config file? What did it look like before? If I can get the exact output when it does and does not work, then I can fix the package, but I need a lot more information.

        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
        • E
          ESQUlRE
          last edited by

          i changed the line in the /usr/local/pkg/squid.inc as below:

          915                $conf .= "# Throttle extensions matched in the url\n";
          916                $conf .= "acl throttle_exts urlpath_regex -i "" . SQUID_ACLDIR . "/throttle_exts.acl"\n";
          917                $conf .= "#delay_access 1 allow throttle_exts\n";
          918                $conf .= "http_access deny throttle_exts !unrestricted_hosts\n";
          919                $conf .= "#delay_access 1 deny all\n";

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

            your change appears to deny access, not throttle the speed. Is that correct?

            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
            • E
              ESQUlRE
              last edited by

              Yes its about resctriction to download some specific files…

              Throtle binary files: That means you can download but restriction the download speed?

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

                Throttle means to reduce the speed, not block.

                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
                • E
                  ESQUlRE
                  last edited by

                  Is there any possibilities to add download restrictions or do i have to use my solution?. :)

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

                    Not sure offhand, but you might be able to pull it off with squidguard if not in squid alone, or just put your line in the custom options box if it will work there.

                    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
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.