home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!gumby!destroyer!lambda.msfc.nasa.gov!avdms8.msfc.nasa.gov!jpc
- From: jpc@avdms8.msfc.nasa.gov (J. Porter Clark)
- Subject: A tiny enhancement to ypserv
- Message-ID: <jpc.721621936@avdms8.msfc.nasa.gov>
- Sender: news@lambda.msfc.nasa.gov (Newsmaster)
- Nntp-Posting-Host: avdms8.msfc.nasa.gov
- Organization: NASA/MSFC
- Date: 13 Nov 92 02:32:16 GMT
- Lines: 39
-
- I was running "top" in a window one day and was surprised at how much I
- was seeing a running ypserv process. Much debugging with etherfind
- later, I found out that someone on my very busy network was
- broadcasting "call portmapper" RPC packets, searching in vain for a NIS
- server with some name I never heard of. Trouble was, this broadcast
- was occurring about once per second.
-
- I finally got around to reading the ypserv man page and discovered that
- ypserv would log error messages to /var/yp/ypserv.log if it existed. I
- tried that, but the data in ypserv.log is very limited:
-
- Wed Nov 11 05:38:31: Domain cars not supported (broadcast)
-
- I can't think of a good way to find out the IP address or hostname of
- the host issuing the broadcast. I can run etherfind, but I actually
- have to grub through the raw packet to find the domain name before I
- can nail it down unambiguously.
-
- The machine issuing this once-per-second broadcast has been taken care
- of (heh-heh-heh 8-), but now that I know to look for this situation, I
- see that a handful of hosts are causing me to log several hundred of
- these broadcasts a day. I don't mind logging them, but it seems to me
- that there are a number of folks out there who need help, if only I
- knew who they were.
-
- Would it be too much to ask for ypserv to log the IP address, at the
- very least, of the host issuing the broadcast? How about it folks?
- Does Solaris 2.X do this? If not, is this a good idea?
-
- Is there any way to make ypserv not listen for broadcasts? Or would
- this break certain applications?
-
- I'm running SunOS 4.1.2 with the securenets patch, among others.
- --
- J. Porter Clark jpc@avdms8.msfc.nasa.gov or jpc@gaia.msfc.nasa.gov
- NASA/MSFC Flight Data Systems Branch
-
- "Why do I have to keep reading these technical manuals?"
- --Roger Waters
-