On 2010-11-04 20:33:11 -0400, Wietse Venema wrote: > check_client_access searches the address and domain with ALL lookup > table types. It just doesn't do the substring lookups with PCRE, > REGEXP and CIDR.
If I understand correctly, there's another difference: in the default table format, the string to be checked depends on the pattern form (e.g. hostname for domain.tld, IP address for net.work.addr.ess), but for pcre, both strings are checked against all patterns? So, with pcre, if I want to check whether the IP address starts with 1.2.3, I need something like: /^1\.2\.3\.[0-9]+$/ because /^1\.2\.3\./ could also match hostnames (I've noticed in my mail archives that hostnames of this form occur in practice). -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)