Score:0

is there a way to reference a subnet of an IP address dynamically in VCL *varnish) without creating an ACL on a request by request basis?

ua flag
Dan

like lets say 72.72.72.72 is the client ip and i wanted to compare it to token or a header that had an IP of 72.72.73.72. basically i want to compare if 72.72.72.72 and 72.72.73.72 but dynamically without an ACL.

djdomi avatar
za flag
your question is really short. can you please explain the business related problem you are facing and trying to solve? Sometimes is more better ;) Because for it looks for me mixed like a [x and y problem](https://faq-database.de/doku.php?id=en:x-and-y-problem)
Score:0
in flag

I was super bothered by the fact that we do not have a solution to this problem in open-source varnish cache and because it seemed doable in a couple of hours, I wrote libvmod-acltools just now. For now, it only supports converting a single <ip>/<mask> into an ACL and I noticed some limitations in Varnish-Cache which we might want to address.

As Thijs included an ad for Varnish-Software's closed-source product, I would also like to mention that there are some independent open source developers out there like myself and phk:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.