Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

 
 

A.3. Logging to a Remote System During the Installation

By default, the installation process sends log messages to the console as they are generated. You may specify that these messages go to a remote system that runs a syslog service.

To configure remote logging, add the syslog option. Specify the IP address of the logging system, and the UDP port number of the log service on that system. By default, syslog services that accept remote messages listen on UDP port 514.

For example, to connect to a syslog service on the system 192.168.1.20, enter the following at the boot: prompt:


linux syslog=
192.168.1.20:514



A.3.1. Configuring a Log Server

Fedora uses syslogd to provide a syslog service. The default configuration of syslogd rejects messages from remote systems.

[Caution] Only Enable Remote Syslog Access on Secured Networks

The syslogd service includes no security measures. Crackers may slow or crash systems that permit access to the logging service, by sending large quantities of false log messages. In addition, hostile users may intercept or falsify messages sent to the logging service over the network.

To configure a Fedora system to accept log messages from other systems on the network, edit the file /etc/sysconfig/syslog. You must use root privileges to edit the file /etc/sysconfig/syslog. Add the option -r to the SYSLOGD_OPTIONS:

SYSLOGD_OPTIONS="-m 0 
-r
"

Restart the syslogd service to apply the change:


su -c '/sbin/service syslog restart'

Enter the root password when prompted.

[Note] Firewall Reconfiguration Required

By default, the syslog service listens on UDP port 514. To permit connections to this port from other systems, choose System Administration Security Level and Firewall . Select Other ports , and Add . Enter 514 in the Port(s) field, and specify udp as the Protocol .

 
 

 
 
  Published under the terms of the GNU General Public License Design by Interspire