Re: ipchains - block by domain?

From: Miroslaw Kwasniak (pisz_do_mnie_na_mirek.kwasniak@dionizos.zind.ikem.pwr.wroc.pl)
Date: 03/24/02


From: Miroslaw Kwasniak <pisz_do_mnie_na_mirek.kwasniak@dionizos.zind.ikem.pwr.wroc.pl>
Date: 24 Mar 2002 19:11:46 GMT

Jorey Bump <devnull@joreybump.com> wrote:
JB>
JB> -A input -s 210.0.186.0/24 -j DENY
JB>
JB>I'd like to wildcard some domains, because some ISPs have been allocated
JB>blocks all over the place, and I don't want to enter another rule every
JB>time a new IP range shows up in my logs. Is there anything like this?
JB>
JB>-A input -s *.foo.com -j DENY

You can do it only per service (hosts.allow/deny): (x)inetd or daemon that
is compiled with tcpwrap library.

Mirek