]> err.no Git - varnish/commit
Change the acl syntax slightly: the ( ... ) should enclose all of
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 22 Jul 2006 10:41:00 +0000 (10:41 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 22 Jul 2006 10:41:00 +0000 (10:41 +0000)
commit628972cf5954f4e74844442b964790d472430f4d
tree31be1ccbe3a99e9720c676fcf98cea0e801035a8
parentb0a958b9081bdf74af52a3ea3d870952af886c28
Change the acl syntax slightly:  the ( ... ) should enclose all of
the rule (ie: also !  and /mask if present).

Implement matching for IPv4.

Acl tests are shmlogged as follows (doc candidate):

shmlog tag: VCL_actl

"NO_MATCH $acl"
client did not match access list $acl
"FAIL $acl $rule"
getaddrinfo(3) failed on $rule which had a '!'
"MATCH $acl $rule"
client matched $rule
"NEG_MATCH $acl $rule"
client matched negated (!) $rule

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@558 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_vrt_acl.c
varnish-cache/include/shmlog_tags.h
varnish-cache/include/vcl_returns.h
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_acl.c
varnish-cache/lib/libvcl/vcc_fixed_token.c