![]() Marketplace:
|
IPCHAINSWith a update to the klogd package (or perhaps it was an update to the netbase package which contains ipchains, I started getting the following log messages written to my console (in addition to /var/log/syslog and in dmesg!):
These packets are coming from actdial.togaware.com (125.83.4.1--my connection to the internet) and their CISCO router sending regular EIGRP (PROTO=88) packets. Nothing untoward about this but for some reason the log messages were appearing on the consoles! Every 4 seconds! Looking at the current ipchains rules we see rule 11 is the default catch-all:
With the following ipchains command the log messages are stopped:
So that rules 11 and 12 of the input chain are now:
Note that you can save the current rules using:
which places the saved rules into /etc/ipchains.save. Load them in again with:
It seems to be okay to flush the old ones when asked. Unfortunately, this rule is lost each time ppp restarts! But the actual problem has been found: The log messages have a log level of less than 7, meaning they are more than debug messages. The klogd logger will display messages with a log level less than 7 to the console! This is ``fixed'' by changing, in the file /etc/init.d/klogd the line that says:
to
The messages are now gone from the console, but still remain in dmesg and /var/log/syslog. Indeed, /var/log/syslog gets filled with these so it still may be best to turn them off with the ipchains rule.
|
Marketplace: |
|||||||||||
| Facts: " The memory management on the PowerPC can be used to frighten small children " | |||||||||||||
Tuesday 22 May 2012 05:39:01 1337665141