View Single Post
  #6 (permalink)  
Old 2006-09-06
herrmadbeef herrmadbeef is offline
Junior Member
 
Join Date: 2005-09-26
Posts: 19
Rep Power: 0
herrmadbeef has an average reputation (10+)
Default Re: Logging to Syslog?

Solution: How to make FireWall-1 log to a syslog server (55.0.6739477.2672094)
To log specific events to syslog, use a 'User-Defined' logging. This is defined in the Rule Base Properties, Log and Alert tab. An example is"/usr/ucb/logger -p daemon.notice"

Another alternative is to log everything to syslog. To have all logs go straight to the syslog server run
$FWDIR/bin/fw log -f 2>>/var/adm/fw-log.log | /bin/logger -p local5.info > /dev/null 2>&1 &

This command runs in the background and logs everything to syslog. Note that it might be best to put this into a boot script after FireWall-1 loads so that everything is dumped to syslog.


Problem Description
How to make FireWall-1 log to a syslog server



Problem Environment:
Firewall-1

UNIX

Solaris
Reply With Quote