Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 12:30:10 -0500
From:      Mike Tancsa <mike@sentex.ca>
To:        bwoods2@uswest.net, freebsd-security@FreeBSD.ORG
Subject:   Re: IPFW Logging...
Message-ID:  <3.0.5.32.20000316123010.02483780@marble.sentex.ca>
In-Reply-To: <XFMail.000316072603.wwoods@cybcon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:26 AM 3/16/00 -0800, William Woods wrote:
>I have a set of firewall rules I load and would like to be able to log
attempts
>from the blocked domains.....this is an example of one of the rules....
>
>ipfw add 001 deny all from aol.com to any  
>
>How would I make that rule log to /var/log/messages?


Depending on what version you are running, adjust your syslog.conf entry so
that it gets logged to your file of choice.
security.*                                      /var/log/security

Also, add the log command. e.g. ipfw add 1000 deny log ip from
xxx.xxx.xxx.xxx to any

	---Mike
------------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Network Administrator,     			  mike@sentex.net
Sentex Communications                 		  www.sentex.net
Cambridge, Ontario Canada


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




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