The HyperNews Linux KHG Discussion Pages

Change /etc/syslog.conf

Forum: The Linux Kernel Hackers' Guide
Re: Question ICMP - Supressing Messages in 2.1.82 Kernel (Brent Johnson)
Keywords: ICMP request IPV4 broadcast
Date: Sat, 31 Jan 1998 00:56:29 GMT
From: Balaji Srinivasan <>

The kernel message is printed with KERN_CRIT level. so modify your /etc/syslog.conf to log KERN_CRIT messages to /var/adm/kernel or some other file. Note that in that way you will potentially loose a lot of important messages...

If you want to fix this particular message then just modify your kernel (file net/ipv4/icmp.c line 683) to printk(KERN_INFO "%s sent an invalid ICMP error to...); Dont try this if you dont want to mess around with the kernel. balaji