Re: [squid-users] tcp_outgoing_tos doesn't work in 3.2?

From: Pavel Bychykhin <bychykhin.p.n_at_hts.kh.ua>
Date: Sat, 10 Nov 2012 19:37:11 +0200

10.11.2012 16:13, Andrew Beverley пишет:
> On Sat, 2012-11-10 at 15:30 +0200, Pavel Bychykhin wrote:
>> Fragment from log of Squid 3.2:
>> 2012/11/10 14:31:08.157 kid1| fwdConnectStart: got outgoing addr 0.0.0.0, tos 12
>> 2012/11/10 14:31:08.157 kid1| The AsyncCall fwdConnectDoneWrapper constructed, this=0x28fbb340 [call982]
>> 2012/11/10 14:31:08.157 kid1| peer_select.cc(87) peerSelectStateFree: http://www.myip.ru/ru-RU/index.php
>> 2012/11/10 14:31:08.157 kid1| StoreEntry::unlock: key '2B27CF0FA399E53F4D6BDA4269A33291' count=2
>> 2012/11/10 14:31:08.157 kid1| comm_openex: Attempt open socket for: 0.0.0.0
>> 2012/11/10 14:31:08.157 kid1| comm_openex: Opened socket local=0.0.0.0 remote=[::] FD 12 flags=1 : family=2, type=1, protocol=6
>> 2012/11/10 14:31:08.158 kid1| Ip::Qos::setSockTos: setsockopt(IP_TOS) on local=0.0.0.0 remote=[::] FD 12 flags=1: (22) Invalid argument
>
> Hmmm, not sure. Can you try some different TOS values and see if that
> makes any difference? Certainly with Linux, some values cannot be set,
> although why that would change between Squid versions I do not know.
>
>> Fragment from log of Squid 3.1:
> [...]
>> This instance of Squid is running in jail. May be it's a key to
>> problem?
>
> I wouldn't have thought it would make any difference, but can you try
> the other one in a jail?
>

I tried 0x10, 0x14, 0x3C, 0x80, 0x84. Result is the same for Squid 3.2 - not working.
For Squid 3.1 all values works fine.
When i said about jail, i meant, that both versions runs in a jail.

-- 
Best regards,
Pavel
Received on Sat Nov 10 2012 - 17:37:17 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 13 2012 - 12:00:03 MST