[squid-users] Possible to user reply_header_add directive with acl random access list ?

--Ahmad-- ahmed.zaeem at netstream.ps
Fri Jul 19 06:49:47 UTC 2019


Hi Alex .

Strange: Your outgoing address decisions appear to be random, completely independent from your Start values. Is that what you want?
yes , it suppose to have header as i configured the acls .


>  12.13.200.13 --->D
>  12.13.200.12 ---->C
>  12.13.200.14  ——>E

Not 

> 12.13.200.13 --> B
> 12.13.200.14 --> a
> 12.13.200.12 ---> E


I see nothing in your configuration that would tie outgoing address to Start values. Where did you configure Squid to use "D" for .13 or vice versa?
May im wrong in config , i thought that my config above like :


###########################################
dns_nameservers 1.0.0.1
acl markProcessed annotate_client processed=yes
acl markedProcessed note processed yes
#########################################
acl half10000 random 1/5

reply_header_add start "a" !markedProcessed half10000 markProcessed

tcp_outgoing_address 12.13.200.10 half10000


But may be im wrong with config and im open now to any suggestions to change the config to get it working as i mentioned above with headers .


Thanks 




> On 19 Jul 2019, at 5:44, Alex Rousskov <rousskov at measurement-factory.com> wrote:
> 
> Strange: Your outgoing address decisions appear to be random, completely independent from your Start values. Is that what you want?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190719/dd7f6213/attachment.html>


More information about the squid-users mailing list