Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: How to log dropped packet ?
Date: 16 Jul 2003 14:49:47 +0200	[thread overview]
Message-ID: <1058359786.6618.33.camel@raylinux.internal> (raw)
In-Reply-To: <000701c34b93$c4da9180$96f2f8db@independence.co.kr>

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

On Wed, 2003-07-16 at 14:14, Jerry Kim wrote:
> Hi all.
> 
> I hope to know how to log dropped/accepted packets.
> For example,
> 
Exactly the same except put -j LOG --log-prefix "Accept input eth0"
instead of -j ACCEPT.
Oh, and the log rule must be before the accept/drop rule.

> iptables -A INPUT -i eth0 -p tcp -d 10.10.10.1 --dport 22 -j ACCEPT
> 
> How can I log it ?
> I don't understand how '-j LOG' target operate.
> 
> Help.
> 
-- 
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2003-07-16 12:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 12:14 How to log dropped packet ? Jerry Kim
2003-07-16 12:49 ` Ray Leach [this message]
2003-07-16 13:22   ` Julien Didron
2003-07-16 14:10     ` Ramin Dousti
2003-07-16 18:20     ` Sven Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1058359786.6618.33.camel@raylinux.internal \
    --to=raymondl@knowledgefactory.co.za \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox