All of lore.kernel.org
 help / color / mirror / Atom feed
* Log files for iptables
@ 2004-05-13  9:28 Sameer Gurung
  2004-05-13  9:45 ` Antony Stone
  2004-05-13 10:02 ` Oscar Arranz
  0 siblings, 2 replies; 5+ messages in thread
From: Sameer Gurung @ 2004-05-13  9:28 UTC (permalink / raw)
  To: netfilter

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???

Sameer

=====


________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Log files for iptables
  2004-05-13  9:28 Log files for iptables Sameer Gurung
@ 2004-05-13  9:45 ` Antony Stone
  2004-05-13 10:02 ` Oscar Arranz
  1 sibling, 0 replies; 5+ messages in thread
From: Antony Stone @ 2004-05-13  9:45 UTC (permalink / raw)
  To: netfilter

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Log files for iptables
  2004-05-13  9:28 Log files for iptables Sameer Gurung
  2004-05-13  9:45 ` Antony Stone
@ 2004-05-13 10:02 ` Oscar Arranz
  2004-05-13 10:17   ` Antony Stone
  1 sibling, 1 reply; 5+ messages in thread
From: Oscar Arranz @ 2004-05-13 10:02 UTC (permalink / raw)
  To: netfilter

Look into /var/log/kernel .

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???
>
>Sameer
>
>=====
>
>
>________________________________________________________________________
>Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
>
>
>
>  
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Log files for iptables
  2004-05-13 10:02 ` Oscar Arranz
@ 2004-05-13 10:17   ` Antony Stone
  2004-05-13 11:59     ` Klemen Kecman
  0 siblings, 1 reply; 5+ messages in thread
From: Antony Stone @ 2004-05-13 10:17 UTC (permalink / raw)
  To: netfilter

On Thursday 13 May 2004 11:02 am, Oscar Arranz wrote:

> 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???
> >
> Look into /var/log/kernel .

What distribution/s do you find that on, and what goes into it?   It doesn't 
exist in Slackware, for example.

Regards,

Antony.

-- 
"Reports that say that something hasn't happened are always interesting to me, 
because as we know, there are known knowns; there are things we know we know. 
We also know there are known unknowns; that is to say we know there are some 
things we do not know. But there are also unknown unknowns - the ones we 
don't know we don't know."

 - Donald Rumsfeld, US Secretary of Defence

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Log files for iptables
  2004-05-13 10:17   ` Antony Stone
@ 2004-05-13 11:59     ` Klemen Kecman
  0 siblings, 0 replies; 5+ messages in thread
From: Klemen Kecman @ 2004-05-13 11:59 UTC (permalink / raw)
  To: netfilter

> On Thursday 13 May 2004 11:02 am, Oscar Arranz wrote:
>
> > 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???
> > >
> > Look into /var/log/kernel .
>
> What distribution/s do you find that on, and what goes into it?   It
doesn't
> exist in Slackware, for example.
>
> Regards,
>
> Antony.
>
> --
> "Reports that say that something hasn't happened are always interesting to
me,
> because as we know, there are known knowns; there are things we know we
know.
> We also know there are known unknowns; that is to say we know there are
some
> things we do not know. But there are also unknown unknowns - the ones we
> don't know we don't know."
>
>  - Donald Rumsfeld, US Secretary of Defence
>
>                                                      Please reply to the
list;
>                                                            please don't CC
me.
>
>

I run slackware and log output goes to /var/log/messages by default. I
configured syslog to log into /var/log/iptables.

Klemen



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-13 11:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13  9:28 Log files for iptables Sameer Gurung
2004-05-13  9:45 ` Antony Stone
2004-05-13 10:02 ` Oscar Arranz
2004-05-13 10:17   ` Antony Stone
2004-05-13 11:59     ` Klemen Kecman

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.