[squid-users] TCP_MISS/502

Ачилов Рашид Нурмухамедович AchilovRN at granch.ru
Wed Nov 18 04:39:20 UTC 2015


18/11/15 03:05, Amos Jeffries пишет:
> On 18/11/2015 3:07 a.m., Ачилов Рашид Нурмухамедович wrote:
>> How do you do.
>>
>> When accessing to site http://www.ycmcnc.com through Squid 3.5.x (tried
>> 3.5.2 and 3.5.11) immediately at first try occured TCP_MISS/502:
>>
>> 1447767437.903    585 10.87.1.133 TCP_MISS/502 4267 GET
>> http://www.ycmcnc.com/ - HIER_DIRECT/59.125.8.218 text/html
>>
>> When tried access without proxy all OK. When tried access with old Squid
>> 2.7-STABLE9 all OK. Troubles occured when tried through Squid 3.5.x.
>>
>
> The server PHP scripts are apparently crashing whenever it receives the
> *valid* X-Forwarded-For header of the type which gets emitted when you
> configure:
>
>> forwarded_for off
>
>
> I can also reproduce the same crash/terminate behaviour when most other
> perfectly valid XFF header are sent. The web developer who authored that
> site is very ignorant of how X-Forwarded-For is used.
>
>
> To work around this either remove the forwarded_for directive
> completely. Or set it to another value than "off".
> see <http://www.squid-cache.org/Doc/config/forwarded_for/>
>
> Given the set of things that cause the server to die. You are probably
> best going with truncate or delete.
>
> Amos

Thank you, Amos, it's really helps me. After setting "forwarded_for" to 
"delete" www.ycmcnc.com works now.

Best Regards!

-- 
  С Уважением.
  Ачилов Рашид Нурмухамедович (AchilovRN at granch.ru)
  Главный специалист по защите информации
  ООО НПФ "Гранч", тел: +7 (383) 233-35-12, доб. 107

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2606 bytes
Desc: Криптографическая подпись S/MIME
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151118/14d83d50/attachment-0001.bin>


More information about the squid-users mailing list