10-2
User Guide for Cisco Security MARS Local Controller
78-17020-01
Chapter 10 Configuring Generic, Solaris, Linux, and Windows Application Hosts
Sun Solaris and Linux Hosts
Sun Solaris and Linux Hosts
To configure MARS to receive and process Solaris or Linux host log information, you must perform
three tasks:
•
Configure the Solaris or Linux Host to Generate Events, page 10-2
•
Configure Syslogd to Publish to the MARS Appliance, page 10-2
•
Configure MARS to Receive the Solaris or Linux Host Logs, page 10-3
Configure the Solaris or Linux Host to Generate Events
MARS Appliance can receive syslog information from a Linux/Solaris host. To configure the
Linux/Solaris applications, you must configure the following applications to write to syslog:
•
xferlog
•
inetd
To configure these applications to write to the system log, follow these steps:
Step 1
xferlog (which provides transfer logging information from the FTP server)
For ftpd, add the following to
/etc/ftpd/ftpaccess
:
log transfers real,guest,anonymous inbound,outbound log xferlog
Step 2
inetd trace messages (which provide the authentication information for services provided using inetd)
For inetd, the line in
/etc/rc2.d/S72inetsvc
that reads:
/usr/sbin/inetd -s
needs to be changed to:
/usr/sbin/inetd -t -s
Other messages will automatically appear in the syslog and do not need to be specifically configured.
Step 3
Once you have enabled the message generation, you must configure the sylogd deamon to publish
messages to the MARS Appliance. For more information, see
Configure Syslogd to Publish to the MARS
Appliance, page 10-2
.
Configure Syslogd to Publish to the MARS Appliance
Once you have enabled the correct applications to write to the system log, you must configure the syslog
daemon on the Solaris or Linux host to publish syslog messages to the MARS Appliance.
To configure the Solaris or Linux host to publish syslogs to the MARS Appliance, follow these steps:
Step 1
Edit /etc/syslog.conf file and add the line below:
*.debug @MARS_hostname
where
MARS_hostname
is the hostname or IP address of the MARS Appliance.
Step 2
Run following commands to restart syslogd so that the changes are process:
/etc/init.d/syslog stop