Skip to content
Snippets Groups Projects
  1. Mar 27, 2007
  2. Mar 23, 2007
  3. Mar 21, 2007
  4. Mar 02, 2007
    • David Johnson's avatar
      Adds rmcp support (for new wifi pcs) to the power command. For now, you · d31ab2bd
      David Johnson authored
      have to re-run the swig-wrappers target in tools/rmanage/GNUmakefile to
      generate the wrapper and perl module; this must of course be done when
      changes are made to the rmcp libs.
      
        * GNUmakefile.in, configure, configure.in: add tools/rmanage
        * tbsetup/GNUmakefile.in, tbsetup/power*.in: add rmcp to power command
        * tools/GNUmakefile.in: add rmanage
        * tools/rmanage/*.c,*.h: bugfixes, swig helper methods, etc.
        * tools/rmanage/rmcp.i: swig import control file
        * tools/rmanage/rmcp.pm,rmcp_wrap.c: rmcp wrapper/module generated by swig
      d31ab2bd
  5. Feb 02, 2007
    • Mike Hibler's avatar
      The paint wasn't even dry on the last plab tarball before I have moved on... · c2570cfc
      Mike Hibler authored
      Rev 20 of the tarball has no new function, it is just slimmed down.
      I replaced our large statically linked binaries with dynamically linked ones.
      Also found and stripped a couple of other binaries.
      
      The resulting tarball goes from 5.7MB to 0.9MB.
      
      The Makefile changes are to incorporate the NOSTATIC=1 environment hack
      to enable building the dynamic binaries above.
      c2570cfc
  6. Dec 05, 2006
  7. Oct 25, 2006
    • Leigh B. Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · 7590f9c5
      Leigh B. Stoller authored
      between when something is installed and when post-install runs. Short
      of a global lock (which we probably need anyway someday), my solution
      is this. In your makefiles, add these variables before the line that
      has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      
      	SETUID_BIN_SCRIPTS   =
      	SETUID_SBIN_SCRIPTS  =
      
      I have added three new rules to GNUmakerules that look like this:
      
      	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
      		echo "Installing (setuid) $<"
      		-mkdir -p $(INSTALL_SBINDIR)
      		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      
      Yep, your eyes ain't lying to you; use sudo to run the target so that
      install does the right thing (which is that the old file is not
      replaced until the new one has the proper attributes on it).
      
      Note that post-install is still needed for the initial install, but
      should no longer be needed for day to day installs since all that other
      stuff post-install does is mkdir/chmod on directories.
      7590f9c5
  8. Oct 23, 2006
  9. Oct 03, 2006
    • Mike Hibler's avatar
      What a hoot. The Linux (at least Fedora) version of libpcap · fb2aa805
      Mike Hibler authored
      will not timeout in the dispatch routine.  It apparently will stay
      in recvfrom() til it gets a packet.  This caused stop/snapshot events
      (as well as "kill -TERM") to not do anything.
      
      So we blast all the pthreads out of recvfrom with a signal after setting
      the flag to force them to return from dispatch (pcap_breakloop).
      fb2aa805
  10. Sep 19, 2006
  11. Sep 14, 2006
    • Leigh B. Stoller's avatar
      Add completion event to pcapper SNAPSHOT so that the caller (say, loghole) · 53c3944c
      Leigh B. Stoller authored
      knows when the logfiles are actually rolled.
      
      Event groups complicated things a bit. To make this work properly, we
      no longer subscribe to the link-tracemon event, but instead use a
      real event group, created by assign wrapper for all of the linktrace
      agents. So, you can know do things like this:
      
      	tevc -w -e testbed/TT now link0_tracemon snapshot
      or
      	tevc -w -e testbed/TT now __all_tracemon snapshot
      
      where __all_tracemon is a group of all tracemon agents for all links and
      lans. I plan to change loghole to use this.
      53c3944c
  12. Jul 25, 2006
  13. Jun 19, 2006
  14. Mar 08, 2006
  15. Jan 27, 2006
  16. Dec 27, 2005
  17. Dec 14, 2005
  18. Nov 02, 2005
  19. Sep 15, 2005
    • Leigh B. Stoller's avatar
      Minor interface changes for Jay. · 93fc47db
      Leigh B. Stoller authored
      Major interface change; the default mode in the map is that click
      on a node now *adds* to a highlight (used to be shift-click), and that
      click over the floor area deselects everything.
      
      Add a "Distances between highlighted node" menu item, that uses the
      x,y,z coords of nodes to determine the distance between them. Okay
      so there might be a small constant in there, say 14 feet, that just
      happens to be the distance between floors in MEB.
      93fc47db
  20. Sep 12, 2005
  21. Sep 11, 2005
  22. Aug 31, 2005
  23. Aug 29, 2005
  24. Aug 24, 2005
  25. Aug 22, 2005
  26. Aug 08, 2005
  27. Aug 01, 2005
  28. Jul 11, 2005
  29. Jun 30, 2005
  30. Jun 23, 2005
  31. Jun 22, 2005
    • Leigh B. Stoller's avatar
      Added my simplistic link tracing and monitoring. Example usage and · 7942119e
      Leigh B. Stoller authored
      some details can be found in the advanced tutorial that I wrote up.
      See this link:
      
      http://www.emulab.net/tutorial/docwrapper.php3?docname=advanced.html#Tracing
      
      The basic idea is that each virt_lan entry gets a couple of new slots
      describing the type of tracing that is desired.
      
        traced tinyint(1) default '0',
        trace_type enum('header','packet','monitor') NOT NULL default 'header',
        trace_expr tinytext,
        trace_snaplen int(11) NOT NULL default '0',
        trace_endnode tinyint(1) NOT NULL default '0',
      
      There is a new physical table called "traces" that is a little bit
      like the current delays table. A new tmcd command returns the trace
      configuration to the client nodes (tmcd/common/config/rc.trace).
      
      The delays table got a new boolean called "noshaping" that tells the
      delay node to bridge, but not set up any pipes. This allows us to
      capture traffic at the delay node, but without much less overhead on
      the packets.
      
      The pcapper got bloated up to do packet capture and more event stuff.
      I also had to add some mutex locking around calls into the pcap
      library and around malloc, since the current setup used linuxthreads,
      which is not compatable with the standard libc_r library. I was
      getting all kinds of memory corruption, and I am sure that if someone
      breathes on the pcapper again, it will break in some new way.
      7942119e
  32. Jun 12, 2005
    • Leigh B. Stoller's avatar
      Couple of changes ... · 64b87b07
      Leigh B. Stoller authored
      * Add a packet capture mode (-c) option so that pcapper can be used
        the same way that tcpdump is used, to write captured packets to an
        output file. When using capture mode, stats are not collected or spit
        out. I need to think about how feasible it is to do both at once; it
        started to look like a mess.
      
        I added a snaplen (-l) option to be used with capture mode, to
        specify the snaplen that is passed to the pcap library.
      
      * Beef up the event interface, adding a TRACEINFO event type, so that
        you can send START, STOP, KILL events to the pcapper. So, you can
        start and stop packet capture for a link/lan, or for a single node
        on a link/lan (much the same way as you acn control the delay
        agent).
      64b87b07
  33. Jun 11, 2005
  34. Jun 09, 2005
  35. Jun 08, 2005
  36. Mar 19, 2005
  37. Mar 18, 2005
Loading