1. 24 May, 2002 8 commits
  2. 23 May, 2002 11 commits
  3. 22 May, 2002 17 commits
    • Chad Barb's avatar
      Fixed issues with delay and lossrate aggregation. · adfb268c
      Chad Barb authored
      (punting for today on indicating directions for non-symmetric attributes,
      though both are listed.)
    • Chad Barb's avatar
      · fb8a2fce
      Chad Barb authored
      Now, due to changes in the parser, lans must have $'s before the name of each node.
      (shashi says this is the proper ns syntax) Changed java code to do this.
    • Chad Barb's avatar
      *** empty log message *** · b08aa312
      Chad Barb authored
    • 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
      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.
    • Shashi Guruprasad's avatar
    • Leigh B. Stoller's avatar
      A large set of authorization changes. · d2360b6d
      Leigh B. Stoller authored
      * Cleanup! A lot of the structure derived from the early frame days,
        which had a noticable (and bad) effect on how I wrote the stuff.  I
        cleaned up most of that yuckyness.
      * In process, optimize a little bit on the queries. The old code did
        about 9 queries just to write out the menu options, and then
        repeated most of those queries again in the page guts. I've
        consolidated the queries as much as possible (to 3) and cache all
        the results.
      * Fix up problem with users who forget their passwords before
        verification. Basically, I fixed the more general problem of not
        being able to update your user info before verification/approval;
        users now get that menu option no matter their status.
      * Fix up problem of users being able to access pages before
        verification (but after approval) by going around the menu options.
        The page level check (after the menu is drawn) now checks all
        conditions (password expired, unverified, unapproved, timedout, and
        also nologins()).
      * Minor change in approveuser; do not show the new account to the
        project leader until the new user has verified his account.
      * Change verification method, as reqwuested by Dave.  In addition to
        providing the key, also provide a web link to take the user straight
        to verification. I actually take them direct to the login page, and
        pass the key in as an argument. If the user is already logged in,
        bypass and go directly to the verify page (not the form page of
        course).  If the user is not logged in, let him log in, and then
        forward the key onward to the verify page. Basically, bypass the
        form all the time, and just do the verification.
      * Minor change in showuser; Do not show pid/groups not approved in,
        and if the count is zero, do not draw the table headings.
    • Kirk Webb's avatar
      This commit includes a script to clean old idle data from the emulab · 3bfcfe9f
      Kirk Webb authored
      database (iddata_clean), and a script to generate fake idle entries for
      testing scripts on the minibed (idloadup.pl).
      iddata_clean, by default, removes all idle entries older than 36 hours.
      This can be changed by providing -m <maxage> (in seconds) to it.
      idloadup.pl adds random idle data at time offsets from now, to 5 days
      prior (1 sec granularity).  It adds anywhere from 1 to 10 entries per
      PC to the node_idlestats page, and from 1 - 10 x # interfaces to
      the iface_counters table.
    • Leigh B. Stoller's avatar
      Commit my big TODO list. · 30fa4cb7
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Two performance additions. 1) Use the -e option to mysqldump to turn · c2602c3e
      Leigh B. Stoller authored
      of "fast insert" mode. That option plus a couple of others makes
      duplicating the DB 3-4x faster.
      Add a DB table of tables to prune out of the copy before creating the
      clean DB. There is a lot of stuff in the DB that is not needed for the
      testsuite, and the constant copies churn the DB for little reason.
    • Leigh B. Stoller's avatar
      Delete nsfiles in tbend. Need to remove the deletion from other · 2af54eb9
      Leigh B. Stoller authored
      various redundant spots though.
    • Robert Ricci's avatar
      Add some robustness: Be more paranoid about trusing the switch's · ef75095f
      Robert Ricci authored
      return value on VLAN creation. If it reports success, we look for the
      VLAN with findVlan(), to make sure it's really there. We retry a
      couple times if it didn't work. This will add a small (sub-second)
      time penalty per VLAN created.
      We ran into one instance, that we've noticed, where the switch
      reported that VLAN creation succeeded, but the VLAN did not actually
      get created on the switch.
    • Mac Newbold's avatar
      Change default idledays from 3 to 2, and don't show the swap request button if... · d6547f36
      Mac Newbold authored
      Change default idledays from 3 to 2, and don't show the swap request button if the expt is marked unswappable. (I'll mark things unswappable as necessary for special expts, even if the original creator doesn't.
    • Leigh B. Stoller's avatar
      A table of tables to preen in the testsuite to cut down on the db · 6d53addf
      Leigh B. Stoller authored
      size. Works nicely!
    • Leigh B. Stoller's avatar
    • Chad Barb's avatar
      Added report of CPU time, from getrusage(), when running with "-v -v". · 6d881a09
      Chad Barb authored
      (Added for my timing tests.)
    • Mike Hibler's avatar
  4. 21 May, 2002 4 commits
    • Robert Ricci's avatar
      Fix for a problem that Mike discovered. The RPC input buffer is · 5a3d2cee
      Robert Ricci authored
      limited to 31 characters, so we can't give commands with more than 8
      outlets. So, we split up the outlets into groups of 8, and issue
      multiple commands, if we are passed too many outlets.
      Took some minor re-structuring, since we now may need to sync up with
      the RPC prompt more than once.
    • Leigh B. Stoller's avatar
      Rework the previous hack stuff for virtual (multiplex nodes). Now its · 8c08c280
      Leigh B. Stoller authored
      a new hack for remote nodes! All remote node solving is done in the
      new wanassign script. That script deals with both phys (ron) and
      virtual (vrons), as well as fixed nodes of either type. The solution
      is returned to assign_wrapper, which still does the tunnel stuff.
      At some point it would be nice to get general purpose virtual nodes
      (multiplex) working on either local or remote nodes, but thats a ways
      off cause it means too many changes in assign_wrapper, which really
      needs a total rewrite.
    • Leigh B. Stoller's avatar
      Add check to see if latestwideare data should be used (new front end · 16c998a9
      Leigh B. Stoller authored
      tb- command passed along in the DB). Add check to make sure no mixed
      use of types and classes since. Change solver invocation. Was trying
      to use IPC goo to pipe in input to solver and read back results,
      abd tee off the input file for debugging. That does not work cause the
      tee never exits, and so the child never exits. Reorg slightly; write
      the input file to a temp file and pipe in later. I need to kill off
      the IPC goo though, since its no longer needed, but its harmless as it
    • Leigh B. Stoller's avatar
      Add rather silly option to remove the boss node from the phys listing; · c786bb4c
      Leigh B. Stoller authored
      used when the virtual topology does not include any link to the
      testbed, but consists only of remote links.