All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Julien Didron" <admin@tripnotik.dyndns.org>
To: netfilter@lists.netfilter.org
Subject: Re: How to log dropped packet ?
Date: Wed, 16 Jul 2003 13:22:19 +0000	[thread overview]
Message-ID: <20030716131925.M66225@tripnotik.dyndns.org> (raw)
In-Reply-To: <1058359786.6618.33.camel@raylinux.internal>

Hi all,

I apologize for being a little OT, but has anybody tried to log to another 
file than /var/log/syslog when using -j log ? if so, thanks for sharing the 
experience ;o)

--
Open WebMail Project (http://openwebmail.org)


---------- Original Message -----------
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Sent: 16 Jul 2003 14:49:47 +0200
Subject: Re: How to log dropped packet ?

> 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
> --
------- End of Original Message -------



  reply	other threads:[~2003-07-16 13:22 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
2003-07-16 13:22   ` Julien Didron [this message]
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=20030716131925.M66225@tripnotik.dyndns.org \
    --to=admin@tripnotik.dyndns.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.