I want to set up a Squid ACL in the following manner--
For example, my Squid Proxy Server has 10 IP addresses- now I have a user 'demouser'. I want that for the very first request sent to 'demouser' this user uses IP address #1, for the second request it uses IP address #2, for the 3rd request of the day it uses IP address #3 and so on till it uses up all IPs. One more level of control I would like is that once the user has used up all available IP addresses once per address, then it does not allow the proxy request to go through.
How do I set up such a configuration on Squid Proxy server ACL?
Even a document or how to would be very helpful. The official wiki talks about one 'weird' case- choosing an IP address based on time of day the request was made to the proxy server. The other cases are all regular use cases which are not even remotely near my requirement as specified above.
Squid is not designed for this. Implement this logic in your scraper, and then set up 10 users in Squid and 'tcp_outgoing_address' acl's that map one user to one outgoing address.