Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 1998 11:38:47 +1300
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        questions@FreeBSD.ORG
Subject:   IP Filter and logging
Message-ID:  <199811082238.LAA14147@cyclops.xtra.co.nz>

next in thread | raw e-mail | index | archive | help
I'm trying to direct logging for IP Filter to a different file.  At 
present, it's going to /var/log/messages and I want it to hit 
/var/log/firewall instead.

After making my changes to /etc/syslog.conf, I've done a "kill -HUP 
PID_syslogd" and then done a "ipmon -n -s -x"

'm running FreeBSD 2.2.7 RELEASE and ipfilter 3.2.10beta7.

I suspect a problem with my syslog.conf file which appears below.  Thanks.

*.err;kern.debug;auth.notice;mail.crit          /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
mail.info                                     /var/log/maillog
lpr.info                                     /var/log/lpd-errs
cron.*                                     /var/cron/log
*.err                                     root
*.notice;news.err                               root
*.alert                                     root
*.emerg                                     *
# uncomment these if you're running inn
# news.crit                                     /var/log/news/news.crit
# news.err                                     /var/log/news/news.err
# news.notice                                   /var/log/news/news.notice
!startslip
*.*                                     /var/log/slip.log
!ppp
*.*                                     /var/log/ppp.log
local0.info                                     /var/log/firewall.log


--
Dan Langille
The FreeBSD Diary
http://www.FreeBSDDiary.com/freebsd

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?199811082238.LAA14147>