Running a UDP Remote Console with Linux 2.6
Bruce Perens writes "Many system admins have learned how to use syslog to log events of remote systems. But when the kernel crashes, its final messages never get to syslog. If you don't have a remote console manager, you won't see them, unless you
run netconsole."
This only works/is helpful in certain situations:
1. network driver is initialized
2. kernel messages are what you want to capture
3. the kernel doesn't get itself foobarred so badly that it can't send packets
4. interrupts are enabled (right? can't talk to the network card otherwise)
Also, if you change mac addresses or network cards of the first hop between the sender and receiver, this all needs to be reconfigured.
This can certainly be useful, but recognize its limitations.
-molo
Using your sig line to advertise for friends is lame.
It looks like the packet format is syslog compatible in the recent 2.6 kernels. I think the work is already done. =)
Neither does the syslogd provided with slackware. The snippet below will allow you to inclusively list log hosts.
You can repeat the first line as many times as needed, replacing $LOGHOST with an IP or a resolvable domain name. Just make sure the DROP rule goes last.