[PATCH] Implement std.ip() to simplify ACL checking in VCL

Lasse Karstensen lkarsten at varnish-software.com
Wed Jul 31 15:46:49 CEST 2013

Hello all.

I've extended the std vmod to include an ip() method, which
converts a string into VCL IP. The result can be used for
matching against a VCL ACL.

Attached is a patch against current master. Documentation and
test case included.

Please consider this for merging into the 4.0 release.

With regards,
Lasse Karstensen
Varnish Software AS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-std.ip-to-simplify-ACL-checking-in-VCL.patch
Type: text/x-diff
Size: 4071 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20130731/419a2c42/attachment.patch>

More information about the varnish-dev mailing list