[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: ipchains logging
- From: Dan de Haan <Dan omnexcontrols com>
- To: "'guinness-list redhat com'" <guinness-list redhat com>
- Subject: RE: ipchains logging
- Date: Wed, 4 Oct 2000 09:47:36 -0700
What would one do yo make it so those messages do not go to
/var/log/messages, but just /var/log/ipchains (like listed below)?
> -----Original Message-----
> From: Mikkel L. Ellertson [mailto:mikkel@Infinity-ltd.com]
> Sent: Friday, September 29, 2000 6:58 PM
> To: guinness-list@redhat.com
> Subject: Re: ipchains logging
>
>
> On Fri, 29 Sep 2000, Lee Howard wrote:
>
> > if I do this:
> >
> > ipchains -A forward -s 192.168.1.0/24 -j MASQ -l
> >
> > then where does that '-l' logging information go to?
> >
> > <man ipchains>
> > -l, --log
> > Turn on kernel logging of matching packets. When
> > this option is set for a rule, the Linux kernel
> > will print some information of all matching packets
> > (like most IP header fields) via printk().
> > </man ipchains>
> >
> > I would like to monitor what is being forwarded (from and
> to IPs is fine).
> >
> > Thanks.
> >
> > Lee Howard
> >
> >
> >
> It will go to syslogd, with a setting of kern and info. If
> you put in a
> log entry like this:
> kern.=info
> /var/log/ipchains
> it will put these messages in a file called ipchains. You
> will probably
> find the messages in /var/log/messages now. They will still be put in
> there with the new entry in /etc/syslog.conf, unless you make more
> modifications to the config file.
>
> Mikkel
> --
>
> Do not meddle in the affairs of dragons,
> for you are crunchy and taste good with ketchup.
>
>
>
> _______________________________________________
> Guinness-list mailing list
> Guinness-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/guinness-list
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]