home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / ultrix / 9165 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  4.3 KB

  1. Path: sparky!uunet!usc!news.service.uci.edu!okazaki.acs.uci.edu!gcardwel
  2. From: gcardwel@okazaki.acs.uci.edu (Guy Cardwell)
  3. Subject: rpc.etherd for Decstations
  4. Nntp-Posting-Host: okazaki.acs.uci.edu
  5. Message-ID: <2B48AB20.26742@news.service.uci.edu>
  6. Summary: rpc.etherd now available from ftp.uci.edu:/pub/rpc.etherd.
  7. Newsgroups: comp.unix.ultrix
  8. Organization: University of California, Irvine
  9. Keywords: rpc.etherd, traffic, xtr, ethertop
  10. Lines: 152
  11. Date: 4 Jan 93 21:24:49 GMT
  12.  
  13.  
  14. As part of my ethertop suite I have written a version of rpc.etherd for
  15. DEC hardware running Ultrix.  rpc.etherd is a daemon, originally on Suns
  16. which monitors and keeps statistics about the ethernet.  Programs like
  17. Sun's traffic(1), my ethertop(1) and xtr can monitor this daemon remotely.
  18.  
  19. You need the packet filter stuff enabled in the kernel and have the
  20. interface set so you can enable promiscuous mode.  The program is
  21. available via anonymous ftp from 
  22.  
  23. ftp.uci.edu:/pub/rpc.etherd
  24.  
  25. You can get the tar file /pub/rpc.etherd.tar{.Z} or get the files
  26. individually.  There is also a precompiled binary as well.
  27.  
  28. Ethertop is available from comp.sources.unix archives.  New version
  29. coming soon with X support.
  30.  
  31. Here is the manual page for rpc.etherd:
  32.  
  33.  
  34.  
  35.  
  36. RPC.ETHERD(8)         MAINTENANCE COMMANDS          RPC.ETHERD(8)
  37.  
  38.  
  39.  
  40. NAME
  41.      rpc.etherd, etherd - network statistic server
  42.  
  43. SYNOPSIS
  44.      rpc.etherd interface
  45.  
  46. DESCRIPTION
  47.      rpc.etherd is a value added replacement for the  SunOS  pro-
  48.      gram rpc.etherd which runs on DEC Ultrix systems.
  49.  
  50.      rpc.etherd gathers statistics about the network as seen from
  51.      the  given  network  interface.   rpc.etherd  must be run as
  52.      root, as  it  places  the  interface  in  promiscuous  mode.
  53.      rpc.etherd  requires  a front end to display the statistics,
  54.      such as ethertop(1) or traffic(1).
  55.  
  56.      The reporting of these statistics is  via  SUN  remote  pro-
  57.      cedure call (RPC).
  58.  
  59.  
  60.      Although  rpc.etherd  is  designed  to  emulate  the   SunOS
  61.      rpc.etherd in every way, the exceptions are:
  62.  
  63.           Statistics for "other" include both IP and other proto-
  64.           cols not categorized by the ether.x specification.
  65.  
  66.           When the protocol filters are in operation, the "other"
  67.           field  still reports "other" protocols.  The SunOS ver-
  68.           sion does not.
  69.  
  70.           Regardless of the IP packet type, host  statistics  are
  71.           kept  for  each  IP host.  This means that if a host is
  72.           sending out large amounts of IGMP messages, these  will
  73.           register.   The  SunOS  version may or may not do this.
  74.           It is reasonably difficult to verify at this time.
  75.  
  76.      This program causes a substancial performance impact because
  77.      it  reads ALL packets which arrive on the network interface.
  78.      A large queue is allocated both within  the  kernel  and  in
  79.      user  space.   A  packet filter could be written to overcome
  80.      this somewhat, but then the network  statistics  would  only
  81.      report what the packet filter let through.
  82.  
  83.      The protocol "filter" procedure call can take any IP  packet
  84.      type  as  its argument.  Thus, packets statistics other than
  85.      the rpc.etherd was written  to  provide  DEC  users  with  a
  86.      proper back end for the ethertop program by the same author.
  87.      It was written in a "clean room /  black  box"  environment,
  88.      meaning without knowlege of SunOS source code.  As a result,
  89.      obscure features and bugs may be present in both implementa-
  90.      tions.
  91.  
  92.  
  93.  
  94.  
  95. Sun Release 4.1    Last change: 5 October 1992                  1
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102. RPC.ETHERD(8)         MAINTENANCE COMMANDS          RPC.ETHERD(8)
  103.  
  104.  
  105.  
  106. SEE ALSO
  107.      ethertop
  108.  
  109. DIAGNOSTICS
  110.      None at this time.
  111.  
  112. BUGS
  113.      A filter of any kind applied by a client program will affect
  114.      all  clients  making  RPC  calls.  Any client that calls the
  115.      etherproc_off procedure will turn of the interface  monitor-
  116.      ing, thus rendering other clients useless.
  117.  
  118.      The ether.x protocol is flawed.  Host addresses  are  passed
  119.      as int's rather than struct in_addr's.  This causes unneces-
  120.      sary byte swapping of network addresses that are already  in
  121.      network order.  This rpc.etherd compensates for this by byte
  122.      swapping internally.
  123.  
  124.  
  125.  
  126. AUTHOR
  127.      Guy Cardwell, UC Irvine Academic Computing, gcardwel@uci.edu
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161. Sun Release 4.1    Last change: 5 October 1992                  2
  162.  
  163.  
  164.  
  165.