- Nov 16, 2004
-
-
Leigh B. Stoller authored
(like stated).
-
- Sep 30, 2004
-
-
Leigh B. Stoller authored
start before trying to use it. Silly, I know.
-
Leigh B. Stoller authored
longer going to bother with cvsup on new installations.
-
- Sep 01, 2004
-
-
Leigh B. Stoller authored
* SSL based server (sslxmlrpc_server.py) that wraps the existing Python classes (what we export via the existing ssh XMLRPC server). I also have a demo client that is analogous the ssh demo client (sslxmlrpc_client.py). This client looks for an ssl cert in the user's .ssl directory, or you can specify one on the command line. The demo client is installed on ops, and is in the downloads directory with the rest of the xmlrpc stuff we export to users. The server runs as root, forking a child for each connection and logs connections to /usr/testbed/log/sslxmlrpc.log via syslog. * New script (mkusercert) generates SSL certs for users. Two modes of operation; when called from the account creation path, generates a unencrypted private key and certificate for use on Emulab nodes (this is analagous to the unencrypted SSH key we generate for users). The other mode of operation is used to generate an encrypted private key so that the user can drag a certificate to their home/desktop machine. * New webpage (gensslcert.php3) linked in from the My Emulab page that allows users to create a certificate. The user is prompted for a pass phrase to encrypt the private key, as well as the user's current Emulab login password. mkusercert is called to generate the certificate, and the result is stored in the user's ~/.ssl directory, and spit back to the user as a text file that can be downloaded and placed in the users homedir on their local machine. * The server needs to associate a certificate with a user so that it can flip to that user in the child after it forks. To do that, I have stored the uid of the user in the certificate. When a connection comes in, I grab the uid out of the certificate and check it against the DB. If there is a match (see below) the child does the usual setgid,setgroups,setuid to the user, instantiates the Emulab server class, and dispatches the method. At the moment, only one request per connection is dispatched. I'm not sure how to do a persistant connection on the SSL path, but probably not a big deal right now. * New DB table user_sslcerts that stores the PEM formatted certificates and private keys, as well as the serial number of the certificate, for each user. I also mark if the private key is encrypted or not, although not making any use of this data. At the moment, each user is allowed to get one unencrypted cert/key pair and one encrypted cert/key pair. No real reason except that I do not want to spend too much time on this until we see how/if it gets used. Anyway, the serial number is used as a crude form of certificate revocation. When the connection is made, I suck the serial number and uid out of the certificate, and look for a match in the table. If cert serial number does not match, the connection is rejected. In other words, revoking a certificate just means removing its entry from the DB for that user. I could also compare the certificate itself, but I am not sure what purpose that would serve since that is what the SSL handshake is supposed to take of, right? * Updated the documentation for the XMLRPC server to mention the existence of the SSL server and client, with a pointer into the downloads directory where users can pick up the client.
-
- Aug 30, 2004
-
-
Leigh B. Stoller authored
Add local inetd startup for redirecting event sys traffic to ops using netcat. Hmm, this is not something we need for new testbeds; will need to revisit this later.
-
- Aug 18, 2004
-
-
Leigh B. Stoller authored
script.
-
- Aug 13, 2004
-
-
Leigh B. Stoller authored
-
- Jul 08, 2004
-
-
Leigh B. Stoller authored
Add wrapper script around dhcpd to restart it if it dies; whenever dhcpd dies, the testbed becomes unusable.
-
- Apr 26, 2004
-
-
Mike Hibler authored
1. "make clean" will just remove stuff built in the process of a regular build 2. "make distclean" will also clean out configure generated files. This is how it was always supposed to be, there was just some bitrot.
-
- Mar 03, 2004
-
-
Kirk Webb authored
* implemented PLC slice renewal * restructured daemon code/startup - removed getfree daemon (replaced by plabdiscover; run from cron) - moved generic daemonizing code into libtestbed (class) - created plabrenewd - small script that utilizes daemonizing class - removed plabdaemon file. - updated bossnode startup scripts * changed slice prefix - PLC denies permission w/ anything other than "utah" * Minor semantic changes to module API to be more consistent with other parts. * Some bug fixes.
-
- Jan 21, 2004
-
-
Robert Ricci authored
we were attempting to start up duplicate copies of everything as boss went down.
-
- Jan 12, 2004
-
-
Leigh B. Stoller authored
-
- Oct 23, 2003
- Jun 25, 2003
-
-
Robert Ricci authored
-
- Feb 06, 2003
-
-
Leigh B. Stoller authored
-
- Sep 10, 2002
-
-
Mike Hibler authored
Move startup of batch_daemon to the end
-
- Aug 26, 2002
-
-
Leigh B. Stoller authored
flips the uid/gid to nobody/nobody. It would be good to run this in a chroot shell, but that would be difficult given that we cannot easily rebuild cvsupd (modula-3). The right solution is to either run it in a jail or to move it to ops. Note, files in the sup tree obviously have to be world readable for cvsupd to send them off.
-
- Jul 19, 2002
-
-
Mac Newbold authored
-
- Jul 12, 2002
-
-
Leigh B. Stoller authored
-
- Apr 10, 2002
-
-
Robert Ricci authored
-
- Mar 05, 2002
-
-
Leigh B. Stoller authored
Daemon if it exists.
-
- Feb 11, 2002
-
-
Leigh B. Stoller authored
whatever other maintenance is required.
-
- Jan 09, 2002
-
-
Robert Ricci authored
all other testbed stuff. rc.d/3.testbed.sh now expects to find capture in @prefix@/etc . Also moved capserver out of the 'all' target in capture/GNUmakefile, so that we don't try to build it on 'tipserv' machines, which won't have the necessary mysql stuff.
-
- Jan 07, 2002
-
-
Kirk Webb authored
Added entry to start "hmcd" - Healthd Master Collection Daemon on bootup. Noticed it wasn't running and recalled the recent machine room downtime - first reboot since hmcd was started up.
-
- Dec 06, 2001
-
-
Leigh B. Stoller authored
in human form. This should save some space.
-
- Oct 30, 2001
-
-
Leigh B. Stoller authored
run from a testbed style daemon so that we can more easily get word of failure.
-
- Aug 09, 2001
-
-
Leigh B. Stoller authored
-
- Jul 17, 2001
-
-
Leigh B. Stoller authored
-
- Jul 13, 2001
-
-
Leigh B. Stoller authored
customization for the log paths. Also added an increase of max connections to 200.
-
- Jul 05, 2001
-
-
Robert Ricci authored
-
- Jun 29, 2001
-
-
Robert Ricci authored
they are not yet installed from the top-level makefile, pending a decision on the best way to install files outside the @prefix@ directory. Added configure option '--with-rcdir', which defaults to /usr/local/etc/rc.d, that specifies where to install these.
-
Leigh B. Stoller authored
-
- Jun 22, 2001
-
-
Robert Ricci authored
-
- Jun 05, 2001
-
-
Robert Ricci authored
bootinfo tmcd proxydhcp capture
-