Subject: Re: Weird Netstat Output
To: None <port-i386@NetBSD.ORG>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: port-i386
Date: 06/19/1997 19:11:41
cjs@portal.ca (Curt Sampson) writes:
> kefron # netstat -n | tail -6 | head -1
> f895b600 stream 0 0 f8955700 0 0 0 0>Jun 18 12:52:52 named[182]: secondary zone "comxnet.com" loaded (serial 1996100801)
> Any thoughts?
If I'd to take a wild guess, I'd say syslog is configured to send
output to the tty for certain users (such as root). eg:
*.notice;auth.debug root
Netstat no doubt looked up a bunch of mappings for the first part of
the netstat output (the "inet" listings). Named noticed that one of
these zones was out of date and being a secondary for that zone so it
loaded the newer version. Named then sysloged the fact that it loaded
a new zone.
Were you logged in as root and does your syslog write log_info
messages to the root's tty?
/usr/src/usr.sbin/named/named/db_load.c:1409:
syslog(errs ? LOG_WARNING : LOG_INFO,
"%s zone \"%s\" %s (serial %lu)",
zoneTypeString(zp), zp->z_origin,
errs ? "rejected due to errors" : "loaded",
(u_long)zp->z_serial);
Now what is curious is that LOG_INFO is one notch below the stock
syslog.conf's *.notice . I'm assuming that your syslog logs one notch
lower.
-wolfgang
--
Wolfgang Rupprecht <wolfgang@wsrcc.com> http://www.wsrcc.com/
Fun anti-spam tactic: http://www.hotwired.com/packet/97/23/index3a.html