Hey Yuri,

It's not right that the Internet is 4*8K in the urls.
It's just that it happens that some of the Internet users abuse their options 
to enter something in the browser.
Most browsers doesn't support more then 16k and the number which was mentioned 
was 100K++ so it's either not HTTP or something else.

If you are managing a network like a soho this is a very nice restriction to 
have 8k or 16k and in some cases 24k limit for a url maximum size.
The defaults are defaults but depends on the applications which are being used 
the choice of the defaults or special compiled version would change.

Eliezer
----
http://ngtech.co.il/lmgtfy/
Linux System Administrator
Mobile: +972-5-28704261
Email: elie...@ngtech.co.il


From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf 
Of Yuri Voinov
Sent: Tuesday, December 13, 2016 9:46 PM
To: squid-users@lists.squid-cache.org
Subject: Re: [squid-users] URL too large??

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 <mailto:elie...@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: mailto:elie...@ngtech.co.il


On Tue, Dec 13, 2016 at 11:08 AM, Odhiambo Washington 
<mailto:odhia...@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
mailto:squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

-- 
Cats - delicious. You just do not know how to cook them.

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to