sangat membantu

----- Original Message -----
From: Ronny Haryanto <[EMAIL PROTECTED]>
Date: Fri, 4 Jun 2004 10:38:18 +1000
To: [EMAIL PROTECTED]
Subject: Re: [tanya-jawab] file .TXT blokir dengan Iptables

> On Fri, Jun 04, 2004 at 07:28:35AM +0700, adi wrote:
> > On Fri, Jun 04, 2004 at 09:27:15AM +0000, Dion Sasmito wrote:
> > >#!/bin/sh
> > >cat porno.txt | while read site rest 
> > >do
> > >iptables -t filter -A FORWARD -d "$site" -j DROP
> > >done
> > >
> > 
> > sebelum ada yang mengingatkan soal 'useless use of cat', saya
> > duluin :-))
> > 
> > while read i; do whatever; done < prono.txt
> 
> Dang, keduluan. Hahaha.
> 
> Anyway, sekedar tambahan, tentu saja $site di atas itu harus hostnya
> doang (name or IP, e.g. detik.com), gak bisa URL (e.g.
> http://detik.com).
> 
> Ronny



http://jelaga.bangkalan.com berita tentang IT update perhari

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke