Question of use of ACLs

Per Buer perbu at varnish-software.com
Tue Jan 29 12:52:55 CET 2013


If you search around you'll find a few helpful tools here and there.

https://github.com/smunaut/libvmod-whatever does implement this.

This probably belongs in the std vmod as this is a often requested feature.

Per.


On Mon, Jan 28, 2013 at 10:38 PM, Jim Hayter <jhayter at manta.com> wrote:

> I am running Varnish 3.02 under Ubuntu 12.04.
>
> I am familiar with the ACL example of setting up a list of IPs and testing
> client.ip against it to limit the ability to purge.
>
> I have an environment where I would like to check the IP of the
> originating request against an ACL to decide which backend to use.  The
> problem is that with a CDN and nginx in front of varnish, client.ip does
> not contain the appropriate IP.  The originating IP is available in one of
> the request headers.  Is there a way to convince varnish to compare the
> originating IP with the ACL?
>
> Regards,
> Jim
> --
> Jim Hayter
> Systems Engineer
> Office: 614.807.5145  Fax: 614.807.5104
> http://Manta.com    Where Small Business Grows
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
 <http://www.varnish-software.com/> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130129/00e47c40/attachment.html>


More information about the varnish-misc mailing list