[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ipchains



On Mon, 25 Dec 2000, Alon Oz wrote:

> Jonathan Ben-Avraham wrote:
> > 
> > On Mon, 25 Dec 2000, System1 wrote:
> > 
> > >
> > > Hi,
> > > we are using here IPChains Firewall.
> > > Is there anyway to block complete domain such as *.icq.com ?
> > 
> > No, not with ipchains, because -s accepts only a hostname, network address
> > or plain IP address
> > 
> You dig all the domains under icq.com and add block rules for it in a
> loop.

Very nice.
How do I write the loop?

 - yba

> (man dig, man $YOUR_FAVORATE_SHELL)
> 
> 
> 

   EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   TclTek Ltd.
 =}-------------------------------------------------ooO--U--Ooo-----------{=
  - benavrhm@tcltek.co.il - tel: +972.52.670.353, http://www.tcltek.co.il -


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il