Age | Commit message (Collapse) | Author |
|
Conflicts:
paramiko/proxy.py
|
|
|
|
Fixes #85
|
|
|
|
|
|
merge deadlog bugfix from dwayne litzenberger.
|
|
fix some unit tests for windows
|
|
add exit_status_ready for justin cook.
|
|
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
|
|
remove some now-unneeded code.
|
|
split auth tests into their own file, and clean up the remaining transport
tests a bit (use existing refactoring).
|
|
patch from david guerizec for direct-tcpip forwarding support, and a unit
test added by yours truly.
|
|
oops, fix typo.
|
|
add send_ready() and a unit test.
|
|
bug 157205: select() doesn't notify incoming stderr data, because stderr's
pipe isn't hooked up to the fileno() BufferedPipe. to fix, i added an "or"
pipe-event that can be triggered by either stdout or stderr, and hooked
them both up to fileno(). added a unit test for the bug and one for the
"or" pipe.
|
|
bump copyright year to 2007
|
|
improve x11 test and add a test for reverse port forwarding
|
|
add support for opening x11 channels, and a unit test
|
|
reorder the closing of the pipe in Channel.close() to make sure it happens even when the channel is closed by the remote host first
|
|
might as well assert this
|
|
use hexlify in tests
|
|
new parent exception for all auth failures, and new specific exception for bad host key
|
|
channel operations raise an exception on error now instead of returning a bool
|
|
if open_channel fails, it now raises ChannelException. added a unit test for that too. renegotiate_keys will also raise an exception now instead of returning a bool.
|
|
add unit test for compression
|
|
don't attempt to start a rekey negotiation from within send_message -- always do it from the feeder thread. this prevents a situation where more than one thread may decide spontaneously to rekey, sending multiple kexinit messages, which confuses the hell out of the remote host :) also, do some locking around the clear-to-send event, to avoid a race when we first go into rekeying. add some tests for these things too
|
|
add server-side support for keyboard-interactive auth, and a couple of unit tests
|
|
bulletproof the select test in test_transport more
|
|
more unit tests
|
|
split out Packetizer, fix banner detection bug, new unit test
split out a chunk of BaseTransport into a Packetizer class, which handles
the in/out packet data, ciphers, etc. it didn't make the code any smaller
(transport.py is still close to 1500 lines, which is awful) but it did split
out a coherent chunk of functionality into a discrete unit.
in the process, fixed a bug that alain spineux pointed out: the banner
check was too forgiving and would block forever waiting for an SSH banner.
now it waits 5 seconds for the first line, and 2 seconds for each subsequent
line, before giving up.
added a unit test to test keepalive, since i wasn't sure that was still
working after pulling out Packetizer.
|
|
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
|
|
raise better exception on empty key
raise a clearer exception when trying to create an empty key.
|
|
unit test madness
add some more testy bits and fix up some other bits.
|
|
more unit tests
added unit tests for multi-part auth, exec_command, and invoke_shell.
|
|
clean up authentication
add new exception "BadAuthenticationType", which is raised when auth fails
because your auth type (password or public-key) isn't valid on the server.
used this as an excuse to clean up auth_password and auth_publickey so their
'event' arg is optional, and if missing, they block until auth is finished,
raising an exception on error.
also, don't close the session on failed auth -- the server may let you try
again.
added some test cases for failed auth.
|
|
start testing Transport
the beginnings of tests for Transport. only the bare minimum is there right
now.
also started doc'ing things up to ivysaur.
|