Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

On the log server :

Edit /etc/sysconfig/syslog and change SYSLOGD_OPTIONS

SYSLOGD_OPTIONS=”-m 0 -r -s ashishnepal.com”

-r : listen over the network, only necessary for log servers
-s : strip that value out of the logs (client.ashishnepal.com would become client in the logs)

To send name of host, /etc/hosts
sample
ip [space] hostname

# service syslog restart

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

start listening on UDP/514 (allow 514 in firewall configuration)

On the “client” – log sender machine :

Edit /etc/syslog.conf and add the following line :
*.* @ashishnepal.com (or ip)

Adding line the logs will be stored and sent as well.

Restart the service :
# service syslog restart

Restart a service

Disadvantage: UDP is an unreliable transport.
Also there’s no authentication, an attacker could send fake log messages to the log server.