Excerpts from Geoffrey Schwartz's message of 2014-09-05 09:12:54 -0700:
> Is it possible to use an ACL and match it against, say, the X-Forwarded-For
> header?  We're using Varnish (v3.0.5) in a load-balanced environment and it
> would be nice to not have to write up a regular expression for each IP
> address/range we need to match against.

You can convert the string into an IP type:
https://github.com/lkarsten/libvmod-ipcast
 - P

Attachment: signature.asc
Description: PGP signature

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to