- 12 Jan, 2003 1 commit
-
-
Mike Hibler authored
the log file (NOT run file) if time-stamp-interval seconds have passed since the last write to the logfile. Major lint cleanup: remove HPBSD code, prototypes, varargs, ...
-
- 10 Jan, 2003 1 commit
-
-
Robert Ricci authored
-
- 10 Sep, 2002 1 commit
-
-
Leigh B. Stoller authored
home without worrying about ssl/capserv/acl stuff.
-
- 15 Jul, 2002 1 commit
-
-
Mike Hibler authored
condition that was probably caused by unexpected parallelism. One semantic change is that we used to block SIGTERM (but not SIGINT, which also would quit) during read/write operations. I don't do that anymore, so if you kill capture, the log could lose some console output.
-
- 04 Jul, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 28 Jun, 2002 1 commit
-
-
Chad Barb authored
-
- 11 Jun, 2002 2 commits
- 04 Jun, 2002 1 commit
-
-
Leigh B. Stoller authored
boss.
-
- 05 Apr, 2002 1 commit
-
-
Chad Barb authored
To tip (or tiptunnel on a normal acl,) capture behaves the same. However, if a client connects and presents "USESSL" as the first six characters of their connection key, both sides initiate SSL negotiation. The server then attempts to get the key again. The second one is used for the check. SSL initialization is done on the first attempt by a client to connect via SSL. Capture assumes $(prefix)/etc/capture/cert.pem contains its certificate unless the '-c <certfile>' option is used.. if the certificate is not found or invalid, that connection fails, but normal connections will still succeed (and it will try to find the file again, next time an SSL connection is attempted.) On the client side, tiptunnel only uses ssl if there is a "ssl-server-cert:" property in the acl file. This is the SHA hash of the certificate that the capture server is expected to have (in hex.) If the certificate presented by the server does not hash to the same value, the connection is dropped.
-
- 11 Feb, 2002 1 commit
-
-
Leigh B. Stoller authored
a node is not allocated (thus putting the .acl and .run file into the wheel group when capture creates them), return the value of the config variable TBADMINGROUP (which is flux for us). This makes it easier for admin people to look at free nodes.
-
- 10 Jan, 2002 1 commit
-
-
Leigh B. Stoller authored
Capserver and capture now handshake the owner/group of the tipline. Owner is defaults to root, and the group defaults to root when the node is not allocated. Capture will do the chmod after the handshake, so if boss is down when capture starts, the acl/run file will get 0,0, but will get the proper owner/group later after its able to handshake. As a result, console_setup.proxy was trimmed down and cleaned up a bit, since it no longer has to muck with some of this stuff. A second change was to support multiple tiplines per node. I have modified the tiplines table as such: | Field | Type | Null | Key | Default | Extra | +---------+-------------+------+-----+---------+-------+ | tipname | varchar(32) | | PRI | | | | node_id | varchar(10) | | | | | | server | varchar(64) | | | | | That is, the name of the tip device (given to capture) is the unique key, and there can be multiple tiplines associated with each node. console_setup now uses the tiplines table to determine what tiplines need to be reset; used to be just the name of the node_id passed into console_setup. Conversely, capserver uses the tipname to map back to the node_id, so that it can get the owner/group from the reserved table. I also removed the shark hack from nalloc, nfree, and console_reset, since there is no longer any need for that; this can be described completely now with tiplines table entries. If we ever bring the sharks back, we will need to generate new entries. Hah!
-
- 09 Jan, 2002 1 commit
-
-
Leigh B. Stoller authored
-
- 29 Aug, 2001 1 commit
-
-
Leigh B. Stoller authored
ack/nak for a connection so that the connecting process knows what the hell is going on. Turned out to be necessary for power control since we do that in parallel, and because it stays busy for 10 seconds on each power control. I think we will end up revisiting this at some point, adding blocking connections instead of connect/fail status.
-
- 22 Aug, 2001 1 commit
-
-
Mike Hibler authored
Apparently I forgot to commit this long ago.
-
- 16 Aug, 2001 1 commit
-
-
Leigh B. Stoller authored
older tty version at the same time. We use that older version outside the testbed.
-
- 14 Aug, 2001 1 commit
-
-
Leigh B. Stoller authored
is actually used anymore. Added a "generic" entry to /etc/remote so that we do not need tip entries for each node; they all look the same anyway. Change tip to lookup up generic /etc/remote entry, just to make tip happy. The acl file comes from the tiplogs directory, as set in the header file.
-
- 13 Aug, 2001 1 commit
-
-
Leigh B. Stoller authored
down.
-
- 09 Aug, 2001 1 commit
-
-
Leigh B. Stoller authored
distributed tiplines (and capture processes).
-
- 24 Jul, 2001 1 commit
-
-
Leigh B. Stoller authored
of pty/tty based (since they have several annoying problems associated). Note that permission is granted via the use of an "acl" file; /dev/tip/machine.acl, which must be set to the group of the project the node is in, so the user can read out the process id number and the random bits that are used by capture to grant permission to use (tip sends the random bits across first thing). This handshake is due to change to a request/challenge scheme as described by Dave in email to the testbed list.
-
- 29 Mar, 2001 1 commit
-
-
Mike Hibler authored
Standardized error message format
-
- 02 Jan, 2001 3 commits
-
-
Mike Hibler authored
mode correct. It works now. Really.
-
Mike Hibler authored
Set non-blocking write the correct way this time!
-
Mike Hibler authored
2. Add pty flush and revoke on a shutdown (USR2) signal 3. cleanups
-
- 26 Dec, 2000 1 commit
-
-
Leigh B. Stoller authored
code I found in /foo/x/mike/src/capture/capture.c. Second, add a -r option to open up a second log file called the "run" file, which is intended to be used for the experiment session log. This log is restarted with a SIGUSR1. Third, add SIGUSR2 handler to close the pty side of the capture, which has the nice side effect of causing tip to exit gracefully.
-
- 10 Oct, 2000 1 commit
-
-
David G Andersen authored
Note that this has a hardcoded value for NBPG, a define that's only present in the digiboard headers. In the interest of minimal source code changes (heh, heh, heh) I left it alone. :p Works on *bsd, and now Linux. Manpage included at no charge, though if someone wants to figure out why the manpage only works under BSD ("Because Dave is an idiot" is not an acceptable answer, true as it may be), that'd be cool.
-