[Xitami] Webmask?? How do I block a list of IP addresses?

Ewen McNeill xitami@lists.xitami.org
Mon, 10 Dec 2001 21:00:40 +1300


In message <NDBBIDKBILPOMBMKDOOCKEPHCDAA.alsiman@cofs.net>, "Alvaro E. Siman" wr
ites:
>My config looks like this:
>webmask=@blockiplist.txt

Yup.  Beware that there are _two_ webmask settings in the configuration
file (used for different things); make sure you're setting the right
one.  (Based on the section that the setting is in.)

>Now, what goes in that text file???  How do I type in the addresses??
>Should I put in the [webmask] at the top??

No [webmask] at the top.  Just list the IP addresses (with wildcards),
one per line.   Put a ! at the start to negate it.  Make sure you have
something to allow all the addresses you want allowed; the default is to
deny everything once you have a webmask list.  (If there's no webmask
list it allows everything.)

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com