Re: iptables & syslog help
Or if you are using syslog-ng (which means you are not
running klogd) You can add this in your iptables
script
echo 4 >/proc/sys/kernel/printk
--- Stephen Touset <stephen@touset.org> wrote:
> On Wed, 2004-01-07 at 22:11, Keith Stephen Dunwoody
> wrote:
> > Hi,
> >
> > I'm trying to log some packets from iptables, but
> they're showing up on
> > the currently active console as well as in the
> syslog.
>
> By default, the kernel prints all error messages
> higher than a certain
> priority to the console. iptables logs at this
> priority. I circumvented
> the display of these messages at the console by
> firing up klogd with the
> parameter -c 4 specified in its init script.
>
> --
> Stephen Touset <stephen@touset.org>
>
> ATTACHMENT part 2 application/pgp-signature
name=signature.asc
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
Reply to: