• Timothy Stack's avatar
    · c61858c7
    Timothy Stack authored
    Make the hurting stop.  Make sshxmlrpc auto-detect things, fails over
    properly, and dump useful information when it is unable to deal with
    the peer.
    
      * xmlrpc/sshxmlrpc.py: Major update.  It now tries to autoconfigure
        itself by scanning the path for "ssh" and "plink.exe" (although I
        haven't actually tried it on windows).  Environment variables can
        now be used to turn on debugging and set the command to use for
        doing the ssh.  Before running ssh, it will check for an agent or
        a passphrase-less key and prints a warning if it finds neither.
        The last five lines read from the server, as well as the standard
        error output, are stored so they can be dumped later; helpful for
        figuring out what is actually being run on the other side.  The
        protocol layer between ssh and xml-rpc will now respond to a
        "probe" header so that clients can figure out who they are talking
        too.  The server side will now properly detect a closed connection
        and not write anything, which means no more annoying "Write to
        stdout failed" messages.  You can now pass additional options to
        ssh and set the identity.  The module can be run standalone, with
        the default action being to probe the peer:
    
          $ ./sshxmlrpc.py ssh://boss/xmlrpc
          Probe results for: ssh://boss/xmlrpc
            response time=1.49 s
          Response Headers
            date: Wed Oct 27 16:10:58 2004
    	content-length: 0
    	probe: /usr/testbed/devel/stack/lib/sshxmlrpc.py
    	probe-response: EmulabServer
    
      * xmlrpc/sshxmlrpc_server.py.in: Set the value returned by a "probe"
        to the name of the invoked module.  This way, the other side can
        figure out who they are talking to (e.g. EmulabServer
        vs. experiment vs. fs vs. osid).
    
      * event/sched/event-sched.c, event/sched/rpc.cc, event/sched/rpc.h,
        xmlrpc/script_wrapper.py.in: Multiple paths (e.g. xmlrpc,
        $prefix/sbin/sshxmlrpc_server.py) are now probed before giving up.
        Force the use of the user's default identity and protocol one.
        For event-sched, a single connection is now made at startup and
        dropped before going into the event loop.
    
      * event/sched/GNUmakefile.in: Add a dependency for the install
        target and add -I$(OBJDIR) to the CXXFLAGS.
    
      * install/ports/ulsshxmlrpcpp/Makefile,
        install/ports/ulsshxmlrpcpp/distinfo,
        install/ports/ulsshxmlrpcpp/pkg-descr: Bump version number to 1.1
        and tweak the description.
    
      * config.h.in, configure, configure.in: Add a "#define TBROOT" that
        has the install prefix.
    c61858c7
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
delay/linux Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
hyperviewer Loading commit data...
install Loading commit data...
ipod Loading commit data...
lib Loading commit data...
named Loading commit data...
os Loading commit data...
patches Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
GPL-COPYING Loading commit data...
LICENSE Loading commit data...
Makeconf.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
TODO.plab Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-aerolab Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-davidand-emulab Loading commit data...
defs-default Loading commit data...
defs-duerig-emulab Loading commit data...
defs-elabinelab Loading commit data...
defs-example Loading commit data...
defs-fish-emulab Loading commit data...
defs-gatech Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-uky Loading commit data...
defs-wide Loading commit data...