1. 23 Jul, 2003 1 commit
  2. 01 Jul, 2003 1 commit
  3. 13 May, 2003 1 commit
  4. 29 Apr, 2003 1 commit
  5. 08 Jan, 2003 2 commits
  6. 18 Dec, 2002 1 commit
  7. 19 Nov, 2002 1 commit
  8. 07 Jul, 2002 1 commit
  9. 23 May, 2002 1 commit
    • Robert Ricci's avatar
      Added a GNUmakefile for the tools directory. · 6b4b6141
      Robert Ricci authored
      First, gives us a handy way to build all the tools, if there
      is ever more than one.
      
      Second, it's a workaround for a really annoying problem with
      configure. Since there was nothing in the tools/ directory itself,
      it wasn't getting created, so configure could not make
      tools/pcapper (since the parent directory didn't exist.)
      6b4b6141
  10. 22 May, 2002 1 commit
    • Robert Ricci's avatar
      Belated checkin of a lot of new pcapper features. Highlights: · 58c7b4bb
      Robert Ricci authored
      Event system:
      
      When compiled with -DEVENTSYS, can be made to wait for time to start
      in an experiment before starting to count packets. Times are also
      reported relative to experiment time start. Use the '-e' flag to
      enable.
      
      SUID support:
      
      If compiled with -DDROPROOT, and it seems that pcapper was started
      setuid root (euid == 0, and ruid != 0), drops root permissions after
      opening BPF (or raw socket in Linux.) This allows it get permissions
      to read packets, but still be killed by the user. This is particularly
      useful with the testbed's program objects.
      
      New command-line options:
      
      -s: Print out packet counts to stdout, in addition to listening
              on a socket ('-f -' does the same thing, too)
      -p: Count only payload sizes, not header sizes
      -e: Wait for event system time to start in pid/eid
      -z: Don't count zero-length packets in the packet counts (useful
              with '-p')
      
      Also, now creates a GNUmakefile the _right_ way.
      58c7b4bb
  11. 12 Apr, 2002 1 commit
    • Robert Ricci's avatar
      New program: pcapper · 7c154d1d
      Robert Ricci authored
      Runs on a node and uses libpcap to count packets going by. Opens a
      socket, so that remote programs can connect and, say, graph its
      output. The client gets to specify the interval at which it wants
      counts reported. Supports multiple interfaces, and multiple clients
      (with different intervals.) It can also write packet counts to a file,
      for analysis later.
      7c154d1d