Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 02:46:30 -0600
From:      Rob Zietlow <zietlow@berbee.com>
To:        rene@xs4all.nl
Cc:        questions@Freebsd.org
Subject:   Re: IPF_DEFAULT_BLOCK what?
Message-ID:  <200110300846.f9U8kWf22676@berbee.com>
In-Reply-To: <20011030093803.K9657@xs4all.nl>
References:  <20011030093803.K9657@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Make sure to also compile  

options         IPFILTER_LOG

Into your kernel.  once that is in place  

#touch /var/log/<log file name>

then add 

local0.*                                        /var/log/<log file name>

Into /etc/syslog.conf

Kill -HUP syslog  And it should start logging for you, as long as your IPF 
rules state logging.

block in log on xl0  

This will block everything on your interface (change the xl0 to your 
interface name) and it will be put into your log file

On Tuesday 30 October 2001 02:38 am, you wrote:
> Hi. I'm running ipf as a firewall with IPF_DEFAULT_BLOCK. I would like to
> see which packets get blocked when it hits the default rule. Can anyone
> tell me how to accomplish that?
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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