Date: Tue, 09 Sep 2003 10:57:03 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: <chael@southgate.ph.inter.net>, "Wayne Pascoe" <freebsd-questions@penguinpowered.org>, <freebsd-questions@freebsd.org> Subject: Re: Logging and IPFW Message-ID: <3.0.5.32.20030909105703.013a70d8@sage-one.net> In-Reply-To: <001b01c376d8$b64f7520$490ea8cb@mrj> References: <20030909113447.GB17219@marvin.penguinpowered.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 09:46 PM 9.9.2003 +0800, chael@southgate.ph.inter.net wrote:
>
>just edit the rules concerned in rc.firewall to add the word "log" to rules
>you want logged.
>
>e.g. -- ${fwcmd} add pass log tcp from any to ${oip} 80 setup
>
>and tail the /var/log/security instead of messages.
>
...and, for its own ipfw log, put this in your syslog.conf,
!ipfw
*.* /var/log/ipfw.log
and then touch the ipfw.log file in /var/log
and then restart syslogd
...then tail that file, or send yourself emails of the log....
Best regards,
Jack L. Stone,
Administrator
SageOne Net
http://www.sage-one.net
jackstone@sage-one.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20030909105703.013a70d8>
