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

    Change Max_Url

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 618 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.
    • N
      nzes
      last edited by

      Hello,

      I would like to ask you if you know how to change the maximum url length.I found an article on the internet  (https://stackoverflow.com/questions/36790186/increase-the-max-length-of-the-url-in-squid3) but defines.h doesn' t exist.I am using Squid version 3.5.27 and Squidguard 1.4.I am using pfsense as a proxy server.I am waiting for your response.

      Thank you in advance.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        defines.h is a header file used during a compile of squid's source code.  If you need this then you're going to have to spin up your own server, compile squid from source and use that instead of pfSense squid.

        You have URLs longer than 8KB????

        1 Reply Last reply Reply Quote 0
        • N
          nzes
          last edited by

          An outsourcing coordinator has a 36KB url and i am trying to find a solution.
          Can you help me with the procedure?Is that could be a security issue?

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            Can you help me with the procedure?

            No.  It has nothing to do with pfSense.  While I have compiled squid from source before on Ubuntu, that was a few years ago.  Perhaps I was unclear.  When I said you would need to spin up your own server, I was talking about a Linux box for instance, not another pfSense.  Compile squid form source on a Linux box and then use that squid.

            Is that could be a security issue?

            Nothing to do with security.

            A better solution might be to allow this specific user to go around the proxy.

            As the squid page notes, this has only been tested up to 32K and your URL is 36K, so it may not even work.

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