Re: [squid-users] Re: Trying to use TOS field to route authenticated users.. not working all the time
tis 2007-09-11 klockan 17:37 -0400 skrev java cocoon: tos is now appearing as I expect it to be. let me know if my theory isnt right or you have comments. It's all right, and why that comment exists in squid.conf.default.. patches fixing this is welcome. Involves extending the pconn key to include tos and outgoing IP. It's not a difficult task, something anyone with basic C knowledge can accomplish, just look for pconnPush/pconnPop (2.6) or PconnPool::push/pop (3.0) Regards Henrik
[squid-users] Re: Trying to use TOS field to route authenticated users.. not working all the time
On 9/11/07, java cocoon [EMAIL PROTECTED] wrote: Hi - I am trying to have squid set the tos field based on user credentials. I then have ip rules to route traffic to outgoing interfaces based on tos field. The outgoing interfaces are dialup connections so they restart sometimes. I have captured packets going out on these dialup interfaces and also took information from squid access.log. Access log indicate that user is presenting proper credentials (say userid joe). Joe is supposed to get assigned tos 0x08 by squid. But Joe gets assigned 0x08 sometimes and he gets 0x04 other times. I cannot figure any basis for these changes. Any help is appreciated. thx
[squid-users] Re: Trying to use TOS field to route authenticated users.. not working all the time
I am answering my own question :-) I have set server_persistent_connections to off as the comments in the conf said that any client dependent acl will result in unexpected behavior with server connections on. I figured proxy_auth is client dependent acl and hence may not work as expected with 'server_persistent_connections'. tos is now appearing as I expect it to be. let me know if my theory isnt right or you have comments. Thanks On 9/11/07, java cocoon [EMAIL PROTECTED] wrote: On 9/11/07, java cocoon [EMAIL PROTECTED] wrote: Hi - I am trying to have squid set the tos field based on user credentials. I then have ip rules to route traffic to outgoing interfaces based on tos field. The outgoing interfaces are dialup connections so they restart sometimes. I have captured packets going out on these dialup interfaces and also took information from squid access.log. Access log indicate that user is presenting proper credentials (say userid joe). Joe is supposed to get assigned tos 0x08 by squid. But Joe gets assigned 0x08 sometimes and he gets 0x04 other times. I cannot figure any basis for these changes. Any help is appreciated. thx