ACLs to match Headers
James Pearson
james at ifixit.com
Fri Sep 5 19:37:18 CEST 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140905/6aaa7f50/attachment.pgp>
More information about the varnish-misc
mailing list