Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 13:38:40 +0100
From:      Pietro Cerutti <pietro.cerutti@gmail.com>
To:        Elmer Rivera <elmer.rivera@gmail.com>,  FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: ipfilter question
Message-ID:  <e572718c0512130438o176522ecoe77637e38605c92e@mail.gmail.com>
In-Reply-To: <43c190410512130257l1366b4c3rf56f44f5f451b93@mail.gmail.com>
References:  <43c190410512130257l1366b4c3rf56f44f5f451b93@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/13/05, Elmer Rivera <elmer.rivera@gmail.com> wrote:
> hello,

Hello,

>
> my freebsd box is already setup and followed some of the docs on
> setting up the firewall using ipfilter. question on logging.
>
> setup /var/log/ipfilter.log as  my log file.

How/where did you set this up?

> modified syslog.conf.

How did you modified this?

> its working now unfortunately, its loggin on
> that file AND to my messages log file. is it possible to log ipfilter
> log only to my log file?

Yes, it is possible.

Here's my setup:

/etc/rc.conf
ipmon_enable=3D"YES"
ipmon_flags=3D"-Dns"

/etc/syslog.conf
security.*          /var/log/ipfilter.log


Make sure you don't have any other security.* facility specified in
/etc/syslog.conf

>
> thanks
> --
> Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph
>

Hope this helps,

--
Pietro Cerutti
<pietro.cerutti@gmail.com>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c0512130438o176522ecoe77637e38605c92e>