summaryrefslogtreecommitdiffhomepage
path: root/tests/test_transport.py
AgeCommit message (Collapse)Author
2016-04-22Hack in a sleep() to avoid race conditions during timeout test.Jeff Forcier
(HOPEFULLY) closes #612
2015-02-24Expose handshake timeout in the transport API.Olle Lundberg
This is a reimplementation of #62.
2014-12-17Suggest a MIN_WINDOW_SIZE and MIN_PACKET_SIZEJeff Quast
Not fully confident with this change, though I will describe my findings fully in the pull request. The OpenSSH client requests a maximum packet size of 16384, but this MIN_PACKET_SIZE value of 32768 causes its request to be "clamped" up to 32768, later causing an error to stderr on the OpenSSH client. Suggest then, to delineate MIN_WINDOW_SIZE from MIN_PACKET_SIZE, as they are applied. I don't think there is any minimum value of MIN_PACKET_SIZE, however we can suggest a value of 4096 for now.
2014-12-17Use modern api to check if event is set.Olle Lundberg
Since we are a python2.6+ code base now, we want to be as forward compatible as possible.
2014-09-10Merge branch 'master' into 216-intJeff Forcier
Conflicts: paramiko/transport.py paramiko/util.py tests/test_client.py
2014-09-08Merge branch 'master' into 372-intJeff Forcier
Conflicts: paramiko/channel.py tests/test_util.py
2014-09-07Convert Channel into a context managerMichael Williamson
2014-08-15Remove all occurences of ParamikoTest.Olle Lundberg
Sorry paramiko, it's time to put on the big boy pants. You no longer support old as hell versions of python.
2014-08-15Strip whitespace.Olle Lundberg
2014-08-14Add sanitation methods for window and packet size.Olle Lundberg
2014-08-13Change window and packet size to match opensshs'.Olle Lundberg
Update tests to match the new numbers.
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2013-11-19Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell
support and use the `b` byte string marker instead
2013-11-19Change all exceptions to modern format (not Py2.5 compatible)Scott Maxwell
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-01Fixes for Python 2.5 and Python 3.2 supportScott Maxwell
2013-11-01Eliminate all uses of b'' syntax to allow for Python 2.5 supportScott Maxwell
2013-10-31More type conversionScott Maxwell
2013-10-31More type fixupsScott Maxwell
2013-10-30Convert and detect types properly, use helper constants, use StringIO and rangeScott Maxwell
2013-10-30Fix message sendingScott Maxwell
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30Fix dict iters, sorts, exceptions, bytes renames and tuple argsScott Maxwell
2013-10-30Use test_path to avoid relative path issuesScott Maxwell
2013-10-30Fix importsScott Maxwell
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2012-10-15Refactoring: it's a thing. Re #85Jeff Forcier
2012-10-15Only override unittest assertions when absolutely necessary.Jeff Forcier
Fixes #85
2009-07-19fix my email address to be the current one.Robey Pointer
2009-02-17bug 300536: allow a really long banner before the SSH handshake.Robey Pointer
2008-06-03[project @ robey@lag.net-20080604053906-vz5toqvlp5miqy1x]Robey Pointer
merge deadlog bugfix from dwayne litzenberger.
2008-03-23[project @ robey@lag.net-20080324065111-qv8icii767fqex9j]Robey Pointer
fix some unit tests for windows
2008-03-22[project @ robey@lag.net-20080323020709-ub8ya3xkh1ebywfa]Robey Pointer
add exit_status_ready for justin cook.
2008-02-17[project @ robey@lag.net-20080218051229-xtylb1poe246k2ci]Robey Pointer
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
2008-01-23[project @ robey@lag.net-20080124014121-95bt9p4n4k8lw72i]Robey Pointer
remove some now-unneeded code.
2008-01-23[project @ robey@lag.net-20080124013849-jno9xkgwvvqrvuov]Robey Pointer
split auth tests into their own file, and clean up the remaining transport tests a bit (use existing refactoring).
2007-12-30[project @ robey@lag.net-20071231052950-8h599bnez3sgbf2e]Robey Pointer
patch from david guerizec for direct-tcpip forwarding support, and a unit test added by yours truly.
2007-12-30[project @ robey@lag.net-20071230220403-9c9735x0tfr88dd8]Robey Pointer
oops, fix typo.
2007-11-20[project @ robey@lag.net-20071120052527-hloi0b30yngbay0x]Robey Pointer
add send_ready() and a unit test.
2007-10-28[project @ robey@lag.net-20071029030344-9adfzb9ulfodtepu]Robey Pointer
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.
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2007-02-12[project @ robey@lag.net-20070212183050-kaf5lvrbw46v9i59]Robey Pointer
improve x11 test and add a test for reverse port forwarding
2006-11-20[project @ robey@lag.net-20061121001117-8mf8zzltvfvzzrv7]Robey Pointer
add support for opening x11 channels, and a unit test
2006-11-20[project @ robey@lag.net-20061120192137-1rcpiiq9mcd58m76]Robey Pointer
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
2006-10-14[project @ robey@lag.net-20061015012126-36370734592aff17]Robey Pointer
might as well assert this
2006-08-01[project @ robey@lag.net-20060801182143-088ff687e0945937]Robey Pointer
use hexlify in tests
2006-05-09[project @ robey@lag.net-20060509164549-14e664f234b4b747]Robey Pointer
new parent exception for all auth failures, and new specific exception for bad host key
2006-05-07[project @ robey@lag.net-20060507230153-dba6b2d664b5ef3f]Robey Pointer
channel operations raise an exception on error now instead of returning a bool
2006-05-03[project @ robey@lag.net-20060504025237-a015ee747d9a2e75]Robey Pointer
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.
2005-12-03[project @ robey@ralph.lag.net-20051204043258-3d82f58e781edf13]Robey Pointer
add unit test for compression
2005-10-29[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-72]Robey Pointer
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