How to configure xinetd applications to write to the system log

Unanswered Question
Nov 24th, 2009

Hi,

Based on http://www.cisco.com/en/US/docs/security/security_management/cs-mars/6.0/device/configuration/guide/cfgHost.html configuration, if inetd file has been upgraded to xinetd, then how to configure xinetd file to write to the system log, there is no such directory for /etc/rc2.d/S72inetsvc. One more thing, xferlog file /etc/ftpd/ftpaccess:,also doesn't existed. Please help me in order to intergrate the syslog file to capture the events in CSMARS

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Maxim Zimovets Wed, 11/25/2009 - 22:02

Hi!

First of all you can find all necessary information if you type man xinted and man xinted.conf.

All xinted settings are usually located in file /etc/xinted.conf. You can look through this file and, I hope, will find default section. It will look similar following:

defaults
{
     log_type = FILE /var/log/servicelog
log_on_success = PID
log_on_failure = HOST RECORD
only_from = 128.138.193.0 128.138.204.0 128.138.209.0
only_from = 128.138.252.1
instances = 10
disabled = rstatd
}
Instead of log_type = FILE .... you can type log_type=SYSLOG syslog_facility [syslog_level] and setup necessary syslog_facility and syslog_level.

Hope this help.
With best regards.
Maxim

Actions

This Discussion