logging iptables to a separate file (solution)

2003-06-29 Thread Joe Lazaro
On Tue, Jun 24, 2003 at 09:26:32AM -0400, Robert L. Harris wrote: > > Looking at the docs for iptables you can specify log Level (auth, > crit, etc) but I don't see a way of specifying a "facility" such as > local1. I'd like to put all my iptables output logs into a specific > file I can dig th

Re: Logging iptables

2002-04-24 Thread Ralf G. R. Bergs
On Wed, 24 Apr 2002 19:38:41 +0200, Tim Dijkstra wrote: >> The other possibility is to look into the ulog target. This may give >> more configurability, but I haven't used it yet. >Maybe this is a nicer way of doing it, but this means you have to write a program that listens to a socket, right?

Re: Logging iptables

2002-04-24 Thread Tim Dijkstra
On Thu, 25 Apr 2002 00:31:04 +1000 "mdevin" <[EMAIL PROTECTED]> wrote: > Ok, one way of doing this is to set the log-level in your logging > chains and then configure syslog to log entries for that level to a > separate file. For example, you would have a logging chain like: > $IPTABLES -N logdro

Re: Logging iptables

2002-04-24 Thread mdevin
On Wed, Apr 24, 2002 at 10:36:27 +0200, Tim Dijkstra wrote: > Hi, > > I was wondering if I could get iptables to log to a separate log file > instead of /var/log/messages. When I am working on my firewall > /var/log/messages sometimes gets flooded with messages... > > I understand that iptable

Logging iptables

2002-04-24 Thread Tim Dijkstra
Hi, I was wondering if I could get iptables to log to a separate log file instead of /var/log/messages. When I am working on my firewall /var/log/messages sometimes gets flooded with messages... I understand that iptables uses the 'kern' syslog facility, does this mean I can't separate it f