From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wan Seman Bin Wan Ismail Subject: Re: how to log dropped packet Date: Tue, 28 Sep 2004 18:28:12 +0800 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <41593CBC.9010009@scan-associates.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: hamals@infinito.it, netfilter@lists.netfilter.org for example:- Accept Rule: iptables -A block -p tcp --dport 80 -j LOG --log-level info --log-prefix "Allow 80 :" iptables -A block -p tcp --dport 80 -j ACCEPT Drop Rule: iptables -A block -p tcp --dport 139 -j LOG --log-level info --log-prefix "Block 139 :" iptables -A block -p tcp --dport 139 -j DROP so in conclusion, the first rule u must log then follow by accpet or drop :-) hamals@infinito.it wrote: > > hello > > I wrote all my firewall rules, and now I would like to log all packet > that will be dropped by my policy rule.. > > ..how can I do it? > > what kind of rules do I need?..and where have I to write them? > > thanks > _______________________________________ > Connessione ed e-mail gratuita da 10 mb > consultabile tramite web e tramite pop. > www.infinito.it vieni a scoprire tutti i nostri servizi! > > http://www.infinito.it/xmail > > >