NetBSD-Users archive

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

Duplicate syslog messages on console



        I'm playing with NetBSD 5.1 and IP Filter (IPF).  Part of IPF's
functionality includes ipmon, which can write messages via syslogd.  (i.e.
I have ipmon_flags="-Dnps".)  I'm using the following syslog.conf file to
make sure messages are sent to the console and root:

<begin>
#       $NetBSD: syslog.conf,v 1.9 2004/07/23 03:45:42 mycroft Exp $

auth,authpriv,daemon,kern,user,local0.*         /dev/console

# Log ipmon (IPFilter monitor) messages to console and/or to root
!ipmon
local0.*                root
<end>

This seems to have the side-effect that when root is logged into the console,
two messages are displayed on the console for every single message sent by
ipmon.  Is there a way to formulate syslog.conf to prevent this?

Regards,
Mike
-- 
         Michael T. Davis  (Mike)        | Manager for Networking, Admin.
    E-mail: davism%ecr6.ohio-state.edu@localhost   | & Research Computing: 
CBE/MSE
 -or- davism+%osu.edu@localhost, davis.157%osu.edu@localhost |   The Ohio State 
University
 http://www.ecr6.ohio-state.edu/~davism/ |   197 Watts, (614) 292-6928
              ** E-mail is the best way to contact me **


Home | Main Index | Thread Index | Old Index