How to configure /etc/rsyslog.conf so "martian source" messages got to a different log file (219 Views)
Reply
Honored Contributor
Posts: 7,170
Registered: ‎06-04-2001
Message 1 of 1 (219 Views)

How to configure /etc/rsyslog.conf so "martian source" messages got to a different log file

I would like to get "martian source" messages out of my messages file and into say /var/log/martian

 

Example:

 

Mar 20 10:23:53 ix kernel: martian source 192.168.2.255 from 192.168.2.242, on dev eth0
Mar 20 10:23:53 ix kernel: ll header: ff:ff:ff:ff:ff:ff:00:16:35:62:45:56:08:00

 

 

Currently running Fedora 12.

 

Thanks...

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.