ipfilter question

fbsd_user fbsd_user at a1poweruser.com
Tue Dec 13 05:14:59 PST 2005


In FBSD 4.11 and older, ipfilter logged to local0.
Then in 5.4 it was changed to security.
Now in 6.0 it has reverted back to logging to local0.
The /etc/syslog.conf file is where you define the log files.


-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Pietro
Cerutti
Sent: Tuesday, December 13, 2005 7:39 AM
To: Elmer Rivera; FreeBSD
Subject: Re: ipfilter question


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?"
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list