ipfilter question

Pietro Cerutti pietro.cerutti at gmail.com
Tue Dec 13 04:38:42 PST 2005


On 12/13/05, Elmer Rivera <elmer.rivera at 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="YES"
ipmon_flags="-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 at 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?"


More information about the freebsd-questions mailing list