1. 18 May, 2004 1 commit
  2. 11 May, 2004 1 commit
  3. 23 Apr, 2004 1 commit
  4. 22 Apr, 2004 1 commit
  5. 19 Apr, 2004 1 commit
    • Leigh B. Stoller's avatar
      Add node_hostkeys table to store ssh/sfs keys. · bd21eb34
      Leigh B. Stoller authored
      * In dosfshostid, store sfs hostid into the new table. Fix sscanf that
        was not checking for a null argument. Check string for any slashes
        and reject it (since we use the id in a symlink call). Sanitize the
        string we insert into the db with mysql_escape_string().
      * Fill out dokostkeys function stub that Mike added storing keys into
        the DB. If a key is not presented, it is set to NULL in the DB. This
        may not be the most desirable approach; we will find out. Note that
        I assume a node_hostkeys table entry already exists, and that I can
        just update it.
        Note that this function is kinda ugly; a perl regex library for C
        would be so nice!
  6. 08 Apr, 2004 1 commit
    • Leigh B. Stoller's avatar
      Two changes to doifconfig, version 16 only. · fd59b7f8
      Leigh B. Stoller authored
      * Return interface_settings info for the node, across all interfaces
        for which there is info in the interface_settings table.
      * Prepend tags; INTERFACE and INTERFACE_SETTINGS to make it possible
        to tell them apart at the client.
  7. 01 Apr, 2004 1 commit
  8. 31 Mar, 2004 1 commit
  9. 23 Mar, 2004 4 commits
  10. 20 Mar, 2004 2 commits
  11. 18 Mar, 2004 2 commits
  12. 17 Mar, 2004 2 commits
  13. 15 Mar, 2004 1 commit
  14. 09 Mar, 2004 1 commit
  15. 25 Feb, 2004 1 commit
  16. 11 Feb, 2004 3 commits
  17. 05 Feb, 2004 1 commit
  18. 28 Jan, 2004 1 commit
  19. 20 Jan, 2004 1 commit
  20. 14 Jan, 2004 1 commit
  21. 31 Dec, 2003 1 commit
  22. 28 Dec, 2003 2 commits
  23. 26 Dec, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add "rusage" call to tmcd for PLAB nodes to report load averages and · 3a4afad3
      Leigh B. Stoller authored
      disk usage metrics. This will run in a sliver, so need to assign the
      metrics to the underlying pnode, and it would be better right now if
      we run it only in a single sliver (the management sliver) on each node
      until I decide the best approach, since it overlaps with isalive,
      which does run from each sliver.
  24. 17 Dec, 2003 1 commit
    • Leigh B. Stoller's avatar
      Remove code that required tmcd to run as root, and add the necessary · 55b431cf
      Leigh B. Stoller authored
      code to run as uid/gid nobody/nobody. I had to remove dolog(), which
      was to support the oskit on the dnards, so no one will miss that!
      I also removed the tar/rpm download support since we now do that via
      the web interface. To support sfshostid, I had to chown/chgrp
      /proj/.sfs to the nobody/nobody so that tmcd willbe able to create the
      symlinks in that directory.
  25. 16 Dec, 2003 1 commit
  26. 10 Dec, 2003 1 commit
  27. 07 Dec, 2003 1 commit
    • Shashi Guruprasad's avatar
      Minimal NSE related changes on the mainbed so that I can work · 425b4e47
      Shashi Guruprasad authored
      in the dev tree. I'm tired of problems on the mini that wastes
      my time.
      Changes include 2 new tmcd commands: tmcc routelist returns
      the routes for all the vnodes hosted on a pnode. tmcc role
      returns the role of a reserved node, like 'virthost' or
      'simhost.  tmcc ifconfig now reports an RTABID field which
      is calculated in assign wrapper. All the new changes
      in assign wrapper will be checked in after I finish testing.
      All the DB changes are in: simnode_capacity in node_types, rtabid in
      interfaces and veth_interfaces. New NSE event_objtype and NSEEVENT
      event_eventtype. Changed the erole field in the reserved table
      to have 'simhost' instead of 'simnode'. Changed the correspoding
      libdb subroutines.
  28. 05 Dec, 2003 1 commit
  29. 03 Dec, 2003 1 commit
    • Leigh B. Stoller's avatar
      Fix up all of the sprintf calls to watch for output buffer overflow. I · 3aaf74e9
      Leigh B. Stoller authored
      did this with a simple macro called OUTPUT() that does the check and
      bails from the current function. This was as boring and tedious as
      life gets, but we should be protected from stack smashing now.
      Also fixed up a couple cases where we take data from the client;
      make sure that the sscanf calls are bounded.
  30. 05 Nov, 2003 1 commit
    • Leigh B. Stoller's avatar
      Client side of the event system changes. · 70246c91
      Leigh B. Stoller authored
      * Download the eventkey with new tmcd call.
      * Pass -k option to various agents so that they can verify the HMACs
        in the incoming notifications.
      * Change program agent; The list of agents from tmcd now includes the
        command, which is written to a config file for the program-agent to
        read in. The command string in the event is now ignored.
      * Build the local proxy for linux, and add the goo to start the local
        elvind and use the proxy. It has been this way on FreeBSD for a
        while, but I never got it installed for Linux before now.
  31. 27 Oct, 2003 1 commit