1. 12 Jan, 2005 1 commit
  2. 20 Jan, 2004 1 commit
  3. 17 Nov, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add web login attack detection/prevention. Two changes: · b1de9fb2
      Leigh B. Stoller authored
      * Add slots to users table to track number of failures in the last N
        seconds. If a threshold is passed (currently 4 failures in the last
        minute), the web login is disabled. Note that I do not disable the
        ops shell login at this time. Aging is passive; the values are cleared
        when login is successful, or when more then one minute has passed
        since the last failure. In other words, a burst of failures will
        disable the login, but failures over time are okay.
      
      * Add login_failures table to do exactly the same as above, except it
        is on an IP basis (REMOTE_ADDR in the server). Currently the
        threshold is 8 failures in the last two minutes, at which time all
        logins from that IP are disabled.
      
      In both cases email is sent to tbops (and the user).
      
      The constants are defined at the top of www/tbauth.in, rather then as
      site variables, to avoid pounding the DB when an attack is being
      launched.
      
      To clear a user freeze, go to the user profile page and use the
      "toggle" near the bottom.
      
      To clear an IP freeze: delete from login_failures were IP='1.1.1.1'
      b1de9fb2
  4. 07 Nov, 2003 1 commit
  5. 19 Sep, 2003 1 commit
    • Leigh B. Stoller's avatar
      Redo the Edit Experiment Metadata page; turned it into a standard form · 3f56ba9b
      Leigh B. Stoller authored
      based page that looks like the original Begin Experiment page. Be sure
      to look at the page in both admin mode and non-admin mode since I had
      some trouble determining how swappable is treated these days.
      
      Oh, added the ability to convert non-batch experiments into batch, and
      back. The experiment must be unlocked and in the swapped state to go
      in either direction.
      
      Also added the cpu_usage and mem_usage slots for editing. I added a
      comment about planetlab only, since otherwise we would just confuse
      normal users who have no idea what they mean. I could conditionalize
      them on having plab nodes, but thats difficult to figure out in the
      web page when the experiment is swapped out, so lets not worry about
      it.
      3f56ba9b
  6. 08 Aug, 2003 1 commit
  7. 17 Jul, 2003 1 commit
  8. 16 Jul, 2003 1 commit
  9. 10 Jun, 2003 1 commit
  10. 03 Jun, 2003 1 commit
  11. 29 May, 2003 1 commit
  12. 27 May, 2003 1 commit
  13. 23 Apr, 2003 1 commit
  14. 22 Apr, 2003 1 commit
  15. 11 Apr, 2003 1 commit
    • Mac Newbold's avatar
      Make swappability easy to toggle after expt creation. This hopefully will · 87045a9d
      Mac Newbold authored
      soon be used by admins only to grant swappability. For now, it is open to
      anyone who has expt modify access as well.
      
      The change is visible everywhere SHOWEXP is called, like showexp.php3 for
      instance.
      
      Also introduced toggle.php, a generic toggle script, similar to
      adminmode.php, but useful for just about anything. To add something, just
      add it to the list, specify the valid values it can have, and add its
      permission check and action. Now you don't need a different php page for
      each toggle switch. This page is already set up to take over from
      adminmode.php, but I didn't change things over just yet.
      
      (Should this go in the changelog?)
      87045a9d