1. 25 Oct, 2004 9 commits
    • Timothy Stack's avatar
    • Timothy Stack's avatar
      · 636aaa2b
      Timothy Stack authored
      Changes to the "auto nice daemon" so it can work better in Emulab.
        * sensors/and/GNUmakefile.in: Emulab-specific make file.  Updated to
          work with a build tree separate from the source and gave it a new
          version number. Files are installed under "/usr/testbed/" on ops.
        * sensors/and/Makefile: Add a warning that this is not the real
          makefile for us.
        * sensors/and/and-OpenBSD.c: Update to work with FreeBSD and add
          support for reporting process start time.
        * sensors/and/and-emulab.conf.in: Emulab-specific configuration,
          similar to the standard one, except it sends mail to tbops when it
          does something.
        * sensors/and/and-emulab.priorities: Emulab-specific priorities
          database. It excludes daemon pseudo users and the event-scheduler,
          otherwise, niceness levels apply to everyone.
        * sensors/and/and.8.man: Add the pid file to the 'FILES' section.
        * sensors/and/and.c: Added support for running a command when a
          niceness level change occurs.  Also writes out the pid file when
          not running in test mode.
        * sensors/and/and.conf.5.man: Add docs for the level commands.
        * sensors/and/and.h: Add start time and child CPU time to the
          and_procent struct.
        * sensors/and/and.startup: Changed to use "test" instead of bash
          syntax and the pid file is now used instead of killall.  Also
          added a "reconfig" option that HUPs the daemon.
    • Leigh B. Stoller's avatar
      Minor fix to stats code; Watch for a swapmod on a swapped out · 3595089a
      Leigh B. Stoller authored
      experiment, and not count its pnodes or duration as if it was swapped
      in! Thanks Kirk.
      The actual fix is simple. The script to fix up the existing stats
      records was a bear and took me all morning to get right! Even so, its
      probably no perfect, but close enough. That script in the sql directory
      and mentioned in doc/UPDATING.
    • Russ Fish's avatar
      Add a couple of cygwinxp-relevant comments. · 7d9e890f
      Russ Fish authored
    • Russ Fish's avatar
      First installment of cygwinxp support. · e7a497f8
      Russ Fish authored
    • Russ Fish's avatar
      Add a separate tmcc cache file for the new SWAPPER= field of the · 3f1d56ac
      Russ Fish authored
      tmcc creator query.
    • Mike Hibler's avatar
      Add sub to return a unique index from the emulab-indicies table · d5b41592
      Mike Hibler authored
      and use it in mkusercert.  I need this elsewhere.
    • Mike Hibler's avatar
      Bah, broke frisbee with my little SIGINFO handler. · 3d656c8f
      Mike Hibler authored
      Don't define it for frisbee.
    • Timothy Stack's avatar
  2. 22 Oct, 2004 1 commit
  3. 21 Oct, 2004 2 commits
  4. 20 Oct, 2004 1 commit
  5. 19 Oct, 2004 2 commits
  6. 18 Oct, 2004 2 commits
  7. 15 Oct, 2004 3 commits
  8. 14 Oct, 2004 3 commits
  9. 13 Oct, 2004 1 commit
  10. 11 Oct, 2004 10 commits
  11. 08 Oct, 2004 6 commits
    • Leigh B. Stoller's avatar
      ElabInElab fix: Remove use of control_iface in iptonodeid (the initial · 320dfab4
      Leigh B. Stoller authored
      query that maps the peer IP to a node in the DB). This was primarily
      used as a safety to make sure that the node_types entry really did
      match (in case the luser picked experimental addresses that conflicted
      with real testbed addresses?), but not sure this test really
      mattered. But, just to be safe, I changed it so that we check for a
      matching IP and role='ctrl'.
    • Leigh B. Stoller's avatar
      tbsetup/plab/libtestbed.py.in has moved up one level cause it is now used · a39e0c7d
      Leigh B. Stoller authored
      by more then just plab code.
    • Leigh B. Stoller's avatar
    • Mike Hibler's avatar
      Initial steps toward a hardware-assisted (switch VLAN) firewall implementation. · 0527441a
      Mike Hibler authored
      This checkin adds the necessary NS and client-side changes.
      You get such a firewall by creating a firewall object and doing:
      	$fw set-type ipfw2-vlan
      In addition to the usual firewall setup, it sets the firewall node command
      line to boot "/kernel.fw" which is an IPFW2-enabled kernel with a custom
      bridge hack.
      The client-side setup for firewalled nodes is easy: do nothing.
      The client-side setup for the firewall is more involved, using vlan devices
      and bridging and all sorts of geeky magic.
      Note finally that I don't yet have a decent set of default rules for anything
      other than a completely open firewall.  The rules might be slightly different
      than for the "software" firewall since they are applied at layer2 (and we want
      them just to be applied at layer2 and not multiple times)
    • Timothy Stack's avatar
      · ed8262c1
      Timothy Stack authored
      Made a pass over tar file related things:
      	* os/install-tarfile: Added support for bzip2 compressed files and
      	fixed the '.tgz' regex (it detected '.tar.tgz' before).  Also
      	binmode'd some file handles to squelch a warning on Redhat 9.
      	* tbsetup/fetchtar.proxy.in: Added 'https' as a valid protocol for
      	URLs and 'tar.bz2' as a valid extension.  Changed the wget call to
      	do 'timestamping', which means it should only download files that
      	have changed since the last download.
      	* tbsetup/tarfiles_setup.in: More 'https' and '.tar.bz2' stuff.
      	When downloading tarballs, copy the file name extension from the
      	URL onto the local file name so 'install-tarfile' can figure out
      	how to decompress it properly.
      	* tbsetup/ns2ir/tb_compat.tcl.in: Added a bunch of checks to the
      	tb-set-node-tarfiles function.
      	* www/faq.html, www/tutorial/nscommands.html,
      	www/tutorial/tutorial.html: Flesh out and clean up tarfile related
      	documentation.  Also added anchors for the individual functions so
      	you can link to them from other pages.
    • Mike Hibler's avatar