From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subba Rao Subject: Logging Date: Tue, 14 Jan 2003 13:23:10 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030114182310.GA23089@cablespeed.com> Reply-To: Subba Rao Mime-Version: 1.0 Return-path: Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Netfilter/Iptables Users Hi I have the following rules to allow traffic on SMTP port. -------------------- iptables -A INPUT -i $EXTERNAL_IF -p tcp --destination-port 25 -j LOG \ --log-level 4 --log-prefix "Incoming Mail Traffic " iptables -A INPUT -i $EXTERNAL_IF -p tcp --destination-port 25 -j ACCEPT -------------------- The default policy is on the INPUT chain is to drop the packets. How do I capture what is being dropped? My goal is to log the inbound traffic and my syslog has the following configuration: -------------------- *.=info;*.=notice;mail.none /usr/adm/messages *.=alert /usr/adm/messages *.=crit /usr/adm/debug mail.* /var/log/mail-log kern.* /var/log/messages user.* /var/log/messages syslog.* /var/log/messages auth.* /var/log/messages authpriv.* /var/log/messages -------------------- Is this configuration sufficient to capture the inbound connections? -- Subba Rao subba9@cablespeed.com