Date: Thu, 16 Mar 2000 19:52:54 +0200 (EET) From: Victor Ivanov <v0rbiz@ab-bg.net> To: freebsd-security@FreeBSD.ORG Subject: Re: IPFW Logging... Message-ID: <Pine.BSF.4.21.0003161951130.27234-100000@bissy.ab-bg.net> In-Reply-To: <3.0.5.32.20000316123010.02483780@marble.sentex.ca>
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 or: !ipfw *.* /var/log/ipfw-log (rtfm) 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?Pine.BSF.4.21.0003161951130.27234-100000>