Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Stewart Thompson <stewart.thompson@shaw.ca>
To: SB CH <chulmin2@hotmail.com>, netfilter@lists.netfilter.org
Subject: RE: log all dropped packets
Date: Tue, 01 Oct 2002 21:59:38 -0700	[thread overview]
Message-ID: <FLEKIPPLAEDMJMOOBBDPOENCDAAA.stewart.thompson@shaw.ca> (raw)
In-Reply-To: <F44BHkJZbK4DAx0hIEA000051cb@hotmail.com>

Hi:

	Try something like this at the end of each set of Rules.

$IPTABLES - INPUT -j LOG --log-level info  --log-prefix "FW INPUT  "
$IPTABLES - INPUT -j DROP
	Do the same for Forward and Output.

These rules should log all the dropped packets before they hit your
Drop Policy I believe. Hope that helps.

Stu........

-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of SB CH
Sent: October 1, 2002 6:19 PM
To: netfilter@lists.netfilter.org
Subject: log all dropped packets

Hello, all.

my two questions are similar.

Question1.
I would like to log all Dropped packet.
How can I write a log about all dropped packet?


Question2.
Surely, my default policy is DROP.
and one can't log about related default Policy.
How can I log packet information about default policy related?


Thanks in advance.



_________________________________________________________________
보다 빠르고 보기 편한 뉴스. 오늘의 화제는 MSN 뉴스에서 확인하세요.
http://www.msn.co.kr/news/





  parent reply	other threads:[~2002-10-02  4:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  1:18 log all dropped packets SB CH
2002-10-02  3:38 ` Darrell A. Escola
2002-10-02  4:59 ` Stewart Thompson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-02 21:53 Yogini Parkhi
2002-10-03 22:20 Yogini Parkhi

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=FLEKIPPLAEDMJMOOBBDPOENCDAAA.stewart.thompson@shaw.ca \
    --to=stewart.thompson@shaw.ca \
    --cc=chulmin2@hotmail.com \
    --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