Re: regexp_table input in client access control?

From: Wietse Venema (no email)
Date: Mon Jul 12 2004 - 11:34:18 EDT


James Garrison:
> From regexp_table(5)
>
> > Depending on the application, that string is an entire
> > client hostname, an entire client IP address, or an entire
> > mail address. Thus, no parent domain or parent network
>
> This would seem to state that the input is EITHER a hostname
> or IP address. However, I'm seeing some behavior suggesting that
> the input string is actually "host.name.tld[ip.add.re.ss]".

Don't speculate, measure.

Write a rule

    /(.+)/ warn $1

and convince yourself.

        Wietse

> Can someone tell me the exact format of the input string(s) to
> check_client_access? Are the hostname and IP passed in separate
> calls, or is it all in one string, and if the latter, what
> is the format?
>
> --
> James Garrison Athens Group, Inc.
> mailto: 5608 Parkcrest Dr
> http://www.athensgroup.com Austin, TX 78731
> PGP: RSA=0x92E90A3B DH/DSS=0x498D331C (512) 345-0600 x150
>
>
>
>








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD