<div dir="ltr"><div><span class="gmail-im" style="font-size:12.8px">On 22/05/17 02:51, Ikari C wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, i'm new in maillist and in Squid configuration, I use Squid 3.5 version and i read about clientside_mark configuration, but i have a doubt, wich type of  ACL is compatible with this option. I want to create a MARK by dstdomain ACL, and use TC configuration to set QOS, it is posible? or only works with SRC ALC type.<br><br><br>i want to do this in squid.conf:<br><br>acl aclname1 dstdomain url1<br>acl aclname2 dstdomain url2<br>clientside_mark 0x3 aclname1<br>clientside_mark 0x4 aclname2<br><br>the configuration on squid.conf is the default.<br><br></blockquote><br></span><span style="font-size:12.8px">Any of the ACLs which work in http_access should work there too.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">However, because HTTP contains message pipelines the arrival time of any given request may be significantly different from the response delivery time. i.e. there may be earlier requested responses using the connection between now (when the MARK gets set by the newly arrived request) and the response you were intending to mark. So it is best to only rely on TCP level things if you can.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">Amos</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><div dir="ltr" style="font-size:12.8px"><div>Thanks. i will keep it in mind</div><div><br></div><div>I tested this configuration and squid effectively mark this packages (I saw with iptables --m mark --mark X -j log) but mark also other domain that i have visited inmediately after and they aren't in the acl, for example, if i put "acl ac1 dstdomain .<a href="http://yahoo.com/" target="_blank">yahoo.com</a>", squid mark this package, but if i go to <a href="http://google.com/" target="_blank">google.com</a> squid also mark the google package, but if i go to google first than <a href="http://yahoo.com/" target="_blank">yahoo.com</a> squid doesn't mark the package to google, and then i go to yahoo, squid mark the yahoo package, and if i go to visit again google, "squid" mark the package google too. I wanted to create a QOS based by domain whith TC configuration.</div></div><div class="gmail-yj6qo gmail-ajU" style="margin:2px 0px 0px;font-size:12.8px"><div id="gmail-:j0" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div></div>