...
Table 1-1: Port requirements for LCP communication.
Source | Destination | Port | Description |
Unix/Linux/Solaris server | LCP | 514 (UDP) or 601 (TCP) | Default port
|
Configuring
...
Red Hat Enterprise Linux, Debian Linux, Oracle Linux, SUSE Linux, Ubuntu Linux,Huawei EulerOS, Alma Linux and CentOS operating systems
You can configure Unix OS devices using different syslog daemons to send event logs to the LCP.
...
To configure syslog message forwarding using syslogd:
From a Unix server, login with root privileges.
To stop syslogd, at the command prompt, type the following command as required:
HP-UX | /sbin/init.d/syslogd stop |
IBM AIX | stopsrc -s syslogd |
Solaris 8 and 9 | /etc/init.d/syslog stop |
Use a text editor, such as vi, to open and edit the
...
/etc/syslog.conf file.
Add the following line in the syslog.conf file: *.info @IP_address_of_the_LCP
...
3. To start or restart syslogd, type the following command as required:
HP-UX | /sbin/init.d/syslogd start |
IBM AIX | startsrc -s syslogd |
Solaris 8 and 9 | /etc/init.d/syslog start |
Solaris 10 and 11 | svcadm restart svc:/system/system-log |
Red Hat Linux 3-5, Debian Linux 3 - 4.9 | /etc/init.d/syslogd restart |
Red Hat Linux 6, Oracle Linux 5.0 - 6.5, CentOS 5.0 - 6.5 | /etc/init.d/rsyslog restart |
Mac OS X | Run the terminal utility and then at the command prompt, type the following command to restart syslogd: launchctl unload /System/Library/ LaunchDaemons/com.apple.syslogd.plist; sleep1; launchctl load /System/Library/ LaunchDaemons/com.apple.syslogd.plist Note: This command must be entered in one line, there is no carriage return or linefeed. |
Anchor | ||||
---|---|---|---|---|
|
To configure syslog message forwarding using rsyslogd:
From a Unix server, login with root privileges.
To stop rsyslogd, at a command prompt, type the following command:
For SUSE Linux and Ubuntu Linux: service rsyslog stop
For other Linux distributions: /etc/init.d/rsyslog stop
...
For TCP forwarding: *.info @@192.0.2.1, where 192.0.2.1 is the IP address of the LCP.
Save and close the rsyslog.conf file.
To restart rsyslogd, at a command prompt, type the following command:
For SUSE Linux and Ubuntu Linux: service rsyslog restart
For other Linux distributions: /etc/init.d/rsyslog restart
...
To configure syslog message forwarding using syslog-ng:
From a Unix server, login with root privileges.
Use a text editor, such as vi, to open and edit the following file: /etc/syslog-ng/syslog-ng.conf
Add the following lines in the syslog-ng.conf file:
destination d_label_for_lcp { udp(lcp_ip_address port(preferred_port_number)); };
...
Note: To configure TCP protocol, follow steps 1-3 and use "tcp" instead of "udp". Also use "601" instead of "514", where 601 is the default TCP port.
Save and close the syslog-ng.conf file.
To restart syslog-ng, at a command prompt, type the following command: service syslog restart
Anchor | ||||
---|---|---|---|---|
|
...
To configure syslog plugin for auditd:
From a Unix server, login with root privileges.
To stop the audit process, at a command prompt, type the following command: /etc/init.d/auditd stop
Use a text editor, such as vi, to open and edit the following file: /etc/audisp/plugins.d/syslog.conf
Add the following line to the /etc/audisp/plugins.d/syslog.conf file: active = yes
Save and close the /etc/audisp/plugins.d/syslog.conf file.
To restart the audit process, at a command prompt, type the following command: /etc/init.d/auditd start
Anchor | ||||
---|---|---|---|---|
|
To configure FTP to log FTP sessions and debug information for IBM AIX:
On an AIX server, at the Unix prompt, login with root privileges.
Use an editor, such as vi, to open and edit the following file: /etc/inetd.conf
Configure the FTP daemon with -l and -d parameters. A sample configuration is as follows: ftp stream tcp nowait root /usr/sbin/ftpd -l -d
Save and close the inetd.conf file.
Stop and restart the FTP subserver by typing the following commands:
stopsrc -t ftp
startsrc -t ftp
...
To configure syslog message forwarding for Nokia IPSO:
Login to the Nokia Network Voyager Web console with root privileges.
Click System Configuration > System Logging.
Under Remote system logging, in the Add new remote IP address to log to field, enter the IP address of the LCP.
Click Apply. The IP address of the LCP should appear in the list.
From the Log at or above severity list, select Info.
Click Apply and then Save.
Anchor | ||||
---|---|---|---|---|
|
To configure event date format for SUSE Linux:
From a SUSE Linux server, login with root privileges.
To stop rsyslogd, at a command prompt, type the command: service rsyslog stop-
Use a text editor, such as vi, to open and edit the following file: /etc/rsyslog.conf
Add the following line to the /etc/rsyslog.conf file: $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
Save and close the /etc/rsyslog.conf file.
To restart rsyslog, at a command prompt, type the command: service rsyslog start
LCP Configuration Parameters
Table 1-2: The Unix OS event collector (Syslog -3252) properties to be configured by Accenture are given in the table.
Property | Default Value | Description |
Protocol | UDP | The default protocol for syslog. The collector can also accept logs in TCP. Note: While TCP offers guaranteed delivery of log packets, it places a larger overhead on the LCP. To balance TCP for reliability over UDP for speed/simplicity, contact the Accenture Security Onboarding team. |
IP Address | Unix OS Interface IP address | Logging device IP address mentioned in the Pre-Installation Questionnaire (PIQ). Note: If the device sends logs using multiple interfaces, contact the Accenture Security Onboarding team. |
Signatures | ipmon, audispd:, named, httpd:, login:, dhclient, sshd, su, LOGIN, pam_unix, xinetd, kernel, useradd, adduser, userdel, gdm, rpc.statd, usermod, init:, reboot:, ftpd, last message repeated, shutdown:, Firewall[, passwd, shadow, in.telnetd, audit:, SuSEfirewall2:, auditd, gnome-keyring-daemon, vsftpd:, chage, groupdel, groupadd, vsftpd[, , login[, groupmod, unix_chkpwd, chpasswd, gdm-session-worker | Accenture Security recommended signatures processed by the Unix event collector. |
Port Number | 514 | The default port for UDP. For TCP, the default port is 601. Note: The LCP can be configured to listen on a non-standard port, please advise the Accenture Security Onboarding team if this is a requirement. |