home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / admin / 6166 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.1 KB  |  51 lines

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