[squid-users] URL too large??

Yuri Voinov yvoinov at gmail.com
Tue Dec 13 19:46:09 UTC 2016


It means exactly what it said: URL too long.

In Squid's defaults set 8k for URL size. This was reasonable maximum 10
years ago.

Now it seems too small (at least 4 times) because of now Internet full
of adware bullshit (referrals/trackers/counters etc.) which is often
more 8k.

You can easy fix it (if you worry about it. It seems for end-user like
hang/broken links) if you build squid from source. Just change vaule
MAX_URL in src/defines.h and recompile.

But if you do this, beware - some things become slower, and danger of
deinal of service exists.

That's it.

WBR, Yuri


14.12.2016 1:05, Odhiambo Washington пишет:
> I did not dig deep into it I couldn't scan the access log for it
> because I had no idea what 'too long' meant.
> I will ignore it until someone says they're unable to access a
> website, and they can give me details of what it is.
>
>
> On 13 December 2016 at 19:51, Eliezer Croitoru <eliezer at ngtech.co.il
> <mailto:eliezer at ngtech.co.il>> wrote:
>
>     I think that the maximum size was 64k and it's way above this.
>     It should not be an issue if this is some weird application
>     creating some random url which doesn't have meaning.
>     But if you know what is creating such a url it's a whole another
>     story.
>     Can you reproduce\recreate this url?
>
>     Eliezer
>
>     ----
>     Eliezer Croitoru
>     Linux System Administrator
>     Mobile+WhatsApp: +972-5-28704261
>     Email: eliezer at ngtech.co.il <mailto:eliezer at ngtech.co.il>
>
>
>
>
>     On Tue, Dec 13, 2016 at 11:08 AM, Odhiambo Washington
>     <odhiambo at gmail.com <mailto:odhiambo at gmail.com>> wrote:
>
>         Hi,
>
>         Saw this on my cache.log (squid-3.5.22, FreeBSD-9.3,):
>
>         2016/12/13 11:47:55| WARNING: no_suid: setuid(0): (1)
>         Operation not permitted
>         2016/12/13 11:47:55| WARNING: no_suid: setuid(0): (1)
>         Operation not permitted
>         2016/12/13 11:47:55| HTCP Disabled.
>         2016/12/13 11:47:55| Finished loading MIME types and icons.
>         2016/12/13 11:47:55| Accepting NAT intercepted HTTP Socket
>         connections at local=[::]:13128 remote=[::] FD 39 flags=41
>         2016/12/13 11:47:55| Accepting HTTP Socket connections at
>         local=[::]:13130 remote=[::] FD 40 flags=9
>         2016/12/13 11:47:55| Accepting NAT intercepted SSL bumped
>         HTTPS Socket connections at local=[::]:13129 remote=[::] FD 41
>         flags=41
>         2016/12/13 11:47:55| Accepting ICP messages on [::]:3130
>         2016/12/13 11:47:55| Sending ICP messages from [::]:3130
>         *2016/12/13 11:53:25| urlParse: URL too large (11654 bytes)*
>
>
>         -- 
>         Best regards,
>         Odhiambo WASHINGTON,
>         Nairobi,KE
>         +254 7 3200 0004/+254 7 2274 3223
>         "Oh, the cruft."
>
>
>
>
> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft."
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
Cats - delicious. You just do not know how to cook them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/1060f1d7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 29577 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/1060f1d7/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/1060f1d7/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/1060f1d7/attachment-0001.sig>


More information about the squid-users mailing list