Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Log files for iptables
Date: Thu, 13 May 2004 10:45:26 +0100	[thread overview]
Message-ID: <200405131045.26096.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20040513092802.71510.qmail@web8302.mail.in.yahoo.com>

On Thursday 13 May 2004 10:28 am, Sameer Gurung wrote:

> Hi,
>   Can anybody tell me where are the log files for
> iptables ....cant seem to find them on /var/log. Do I
> have to configure / change /tweak somthing to enable
> loging???

The output of any rules specifying the LOG target is handled by your syslog 
daemon (for which the config file is probably /etc/syslog.conf).

You can specify the logging level in the netfilter rule (with the --log-level 
option to the LOG target) but you cannot change the facility number without 
fiddling around with the source code.

If you don't specify anything particular in your LOG rules, you will probably 
end up with log output sent to the console.

Regards,

Antony.

-- 
The truth is rarely pure, and never simple.

 - Oscar Wilde

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-05-13  9:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13  9:28 Log files for iptables Sameer Gurung
2004-05-13  9:45 ` Antony Stone [this message]
2004-05-13 10:02 ` Oscar Arranz
2004-05-13 10:17   ` Antony Stone
2004-05-13 11:59     ` Klemen Kecman

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=200405131045.26096.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --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