- 05 Dec, 2003 7 commits
-
-
Leigh B. Stoller authored
-
Robert Ricci authored
use pcplab nodes.
-
Robert Ricci authored
containing the set of node types a user is allowed to use. Add a NODETYPE_ALLOWED() function to check against this hash.
-
Robert Ricci authored
to get a list of what types a project is allowed to use.
-
Leigh B. Stoller authored
interface to the backend. mkproj now looks at the pcremote_ok set and makes the proper calls to grantnodetype. This reduces the amount of hardwired goo in the web interface. Still, there is a bit of hardwired stuff in mkproj. At present we do not form a relationship between a phys node type and the types we assign to the virtual nodes. Thats is, nothing says that a pcplabphys implies the right to use pcplabinet, etc. With only 3 remote phys types, I just hardwired it into mkproj calling grantnodetype with type pcplab (the class for the virtnodes) for pcplabphys. Same for pcron and pcwa, (both get pcvwa). Ultimately we need a better type system. In general the type system is pretty screwy.
-
Leigh B. Stoller authored
physical plab nodes.
-
Leigh B. Stoller authored
-
- 04 Dec, 2003 8 commits
-
-
Jonathon Duerig authored
-
Leigh B. Stoller authored
Grant permission to use types/class of nodes. If given a specific "type", then grant permission to use just that type. If its a class, then permission to use all of the types in that class, the class itself, and any aux nodetypes for the type/class (node_types_auxtypes table). For example: wap grantnodetype -p testbed pc2000 wap grantnodetype -p testbed pcvm wap grantnodetype -p testbed pcplab
-
Robert Ricci authored
features to be lumped togther in one pclass. We were checking to make sure that the second node passed to pclass_equiv() had all the features of the first, but not that the first has all the features of the second.
-
Leigh B. Stoller authored
of bad passwords and freeze the user after 15 attempts, or the IP after 25 attempts.
-
Leigh B. Stoller authored
someone with an actual quota.
-
Robert Ricci authored
-
Robert Ricci authored
-
Robert Ricci authored
the user may have visited the last page with http. If they did, send them back through https
-
- 03 Dec, 2003 11 commits
-
-
Jonathon Duerig authored
-
Jonathon Duerig authored
-
Robert Ricci authored
more liberal about which links don't need delays. Before, we were putting delays on anything that wasn't 100Mbps. The other change is that for delay nodes, we set virtual link bandwidths by rounding up to the next fastest speed of interface, instead of hardwiring 100Mbps. Similarly, we set the speed of physical delay interfaces to the card's 'native' speed instead of hardwiring 100Mbps. These changes work for our nodes and links, but are still not totally general. Really, what needs to happen is that assign needs to be the one to insert delay nodes, because it's the only place where we really know which interfaces of what speeds are available on which nodes. But, that is a very big project, since both assign wrapper and assign need to be changed.
-
Robert Ricci authored
of the same speed. This is obviously not right, but I think it's better than the old hack, which was that we assume switch ports are 100Mbps. Some stuff Chris is working on should remove the need for this hack because we will start keeping track of the speeds of switch ports.
-
Robert Ricci authored
-
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.
-
Robert Ricci authored
-
Robert Ricci authored
interactive shell is allowed or not - paperpag will just exit silently if interactive shells are not allowed, but no command was given on the command line. This variable is now off to prevent interactive shells, but all the interactive code is still in place, in case we ever have a reason to want it.
-
Robert Ricci authored
into $CHECKLOGIN_STATUS
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
- 02 Dec, 2003 14 commits
-
-
Kirk Webb authored
since I had Jonathon check them in prior to testing them.
-
Jonathon Duerig authored
-
Robert Ricci authored
-
Robert Ricci authored
Provides a simple interface to create an NS file, and then an experiment, for use on PlanetLab.
-
Jonathon Duerig authored
-
Leigh B. Stoller authored
Exit with positive value so that web interface reports error to the user, not to us!
-
Robert Ricci authored
at Jay's request.
-
Mac Newbold authored
-
Leigh B. Stoller authored
for various table/columns pairs. Used by php/perl libraries to check data values to make sure they are valid. Note that the intent is not to check whats valid to stick in the DB, but what our conventions regard as valid (exampe: a uid is 2-8 chars, alphanumeric, starts with an alpha).
-
Leigh B. Stoller authored
-
Robert Ricci authored
planetlab nodes.
-
Leigh B. Stoller authored
privs in the default group.
-
Robert Ricci authored
-
Robert Ricci authored
-