[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stopping kernel packet deny messages

Hi people, 
This feels like a stupid question but I've failed to find the answer
anywhere, so here goes.

Summary - I run ipmasq and this means that loads of netbios (137 and 138)
packets which wander round the net cause 
Packet log: input DENY eth0 ..... messages
These bung up both my log files and (much more seriously) my console. As
they appear every minute or so it makes the console almost unuseable.

But I can't work out how to stop them appearing on the console.

I do know how to filter them out of my logcheck messages, so the fact that
they fill up my log files isn't really a problem.

Presumably where kernel messages go _ought_ to be controlled by
/etc/syslog.conf, but so far as I can see mine is configured not to send
any messages to the console, and kernel messages should go to

Is there something special about kernel printk messages like this which
means they are controlled by some other mechanism? 
Here is the /etc/syslog.conf file:
#  /etc/syslog.conf	Configuration file for syslogd.
#			For more information see syslog.conf(5)
#			manpage.

# First some standard logfiles.  Log by facility.

auth,authpriv.*			/var/log/auth.log
*.*;auth,authpriv.none		-/var/log/syslog
cron.*				/var/log/cron.log
daemon.*			-/var/log/daemon.log
kern.*				-/var/log/kern.log
lpr.*				-/var/log/lpr.log
mail.*				-/var/log/mail.log
user.*				-/var/log/user.log
uucp.*				-/var/log/uucp.log

# Logging for the mail system. Split it up so that
# it is easy to write scripts to parse these files.
mail.info			-/var/log/mail.info
mail.warn			-/var/log/mail.warn
mail.err			/var/log/mail.err

# Logging for INN news system
news.crit			/var/log/news/news.crit
news.err			/var/log/news/news.err
news.notice			-/var/log/news/news.notice

# Some `catch-all' logfiles.
	news.none;mail.none	-/var/log/debug
	mail,news.none		-/var/log/messages

# Emergencies are sent to everybody logged in.
#*.emerg				*
*.crit				@blackbox.aleph1.co.uk
# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
#	news.=crit;news.=err;news.=notice;\
#	*.=debug;*.=info;\
#	*.=notice;*.=warn	/dev/tty8

# The named pipe /dev/xconsole is for the `xconsole' utility.  To use it,
# you must invoke `xconsole' with the `-file' option:
#    $ xconsole -file /dev/xconsole [...]
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
#      busy site..
	*.=notice;*.=warn	|/dev/xconsole

The netbios packets come from a wireless access point thing, that so far as
I can tell is too stupid to stop sending them to all and sundry.

I'm running Debian 3.0. When I had 2.2 they didn't appear on the console,
only in the logs, which was fine....

Hope somebody can give me the relevant clue - this is slowly driving me

(please cc: me - I'm not subscribed here, hope that's not deemed rude on
this list - there are only so many debian lists you can read in one day!)

Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/

Reply to: