Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2005 10:37:22 +0200
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
To:        Francis Whittington <fewjr@adelphia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipfilter.log
Message-ID:  <4250FCC2.8080402@locolomo.org>
In-Reply-To: <000001c538b6$4151cb50$040a000a@CTU>
References:  <000001c538b6$4151cb50$040a000a@CTU>

next in thread | previous in thread | raw e-mail | index | archive | help
Francis Whittington wrote:
> Hi guys,
>     I've been following this guide:
> http://www.unixguide.net/freebsd/fbsd_installguide/index.php
> So far I have gotten the firewall/router to work. Everything seems to be okay, except I do not see anything being logged in ipfilter.log. My rc.conf options are:
> 
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_flags="-m 2=3"
> allscreens_flags="-m on -c blink -h 200"
> clear_tmp_enable="YES"
> hostname="gateway.fbsdbuds.com"
> saver="logo"
> ifconfig_rl0="DHCP"
> ipfilter_enable="YES"
> ipfilter_rules="/etc/ipf.rules" 
> ipmon_enable="YES"
> ipmon_flags="-Ds" 
> ipnat_enable="YES"              
> ipnat_rules="/etc/ipnat.rules"
> ifconfig_rl1="inet 10.0.10.2 netmask 255.255.255.248"
> gateway_enable="YES"

Two things:

First: You can log directly to a file instead of through syslog:

ipmon_flags="-D /path/to/logfile"

Second: Have you any rules in your ruleset with the "log" keyword?

Cheers, Erik
-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



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