1. 21 Oct, 2008 1 commit
    • Kevin Atkinson's avatar
      If a known user (based on stored cookies) is not logged in than · 846a98d6
      Kevin Atkinson authored
      redirect to the login page rather than printing a message with a link
      to the page.  Otherwise send a "403 Forbidden" to keep robots from
      indexing the page.  Also send appreciate HTTP responses on other
      precheck errors to keep a robot from indexing the page.  In order to
      do this the PAGEHEADER call needed to be moved to after
      CheckLoginOrDie and Required/OptionalPageArguments on many pages.  A
      warning will be printed if either CheckLoginOrDie or
      Required/OptionalPageArguments detects that PAGEHEADER was already
      called.
      
      Also change the redirect in kb-show to be a permanent redirect (301)
      rather than a temporary one (302) which is the default unless a status
      code is given.
      846a98d6
  2. 20 Oct, 2008 1 commit
  3. 18 Oct, 2008 1 commit
  4. 17 Oct, 2008 1 commit
  5. 01 Oct, 2008 1 commit
  6. 25 Sep, 2008 1 commit
  7. 18 Sep, 2008 1 commit
  8. 16 Sep, 2008 2 commits
  9. 15 Sep, 2008 1 commit
  10. 12 Sep, 2008 1 commit
  11. 11 Sep, 2008 1 commit
  12. 09 Sep, 2008 2 commits
  13. 08 Sep, 2008 1 commit
  14. 21 Aug, 2008 4 commits
    • David Johnson's avatar
      Add a new client side script, osconfig, that can update an MFS or a · dc10d326
      David Johnson authored
      frisbee-loaded slice based on a tarball downloaded from boss.  For now,
      the tarball is dynamically created by boss based on params sent to the
      osconfig_dump.php script; it is populated with files and a MANIFEST based
      on the files and constraints in the osconfig_* tables, which are pretty
      self-explanatory.  Transport is not secure, nor intended to be -- nodes on
      the control net or widearea nodes auth'd with a privkey can grab stuff
      destined to them based on their IP addr.  For the MFS case, the tarball is
      unpacked and the MANIFEST entries are executed/copied/extracted, and
      (nearly all of) the client side is re-run.  For the slicefix case, we just
      execute/copy/extract the MANIFEST entries in the mounted slice... there
      are some useful env vars set for scripts to use.
      
      If this mechanism ever becomes generally useful, or we're pushing big update
      tarballs, we'll have to add a caching mechanism (doh).  Right now, it's just
      for dongle-booted nodes or widearea nodes on which we cannot update the
      physical boot media without much pain; as well as for making major whacks
      to frisbee-loaded slices, which we need for the widearea case.
      
      Also, call this from rc.cdboot (to update a "read-only" (real media is
      mounted ro, but other parts of the fs are rw via unionfs or mfs) MFS),
      and from slicefix.
      
      NOTE: the client side osconfig script does not get installed from the
      makefile; this is intentional.  This script should not be placed in our
      local tftp'd MFSes, at least until there's some need for it!
      dc10d326
    • Leigh Stoller's avatar
      3ac6d7af
    • Leigh Stoller's avatar
      1e74766e
    • Leigh Stoller's avatar
      71dadedb
  15. 18 Aug, 2008 1 commit
  16. 12 Aug, 2008 1 commit
  17. 09 Aug, 2008 1 commit
  18. 07 Aug, 2008 2 commits
  19. 06 Aug, 2008 1 commit
  20. 05 Aug, 2008 1 commit
  21. 04 Aug, 2008 2 commits
  22. 01 Aug, 2008 2 commits
  23. 28 Jul, 2008 5 commits
  24. 25 Jul, 2008 2 commits
  25. 22 Jul, 2008 3 commits