Commit Graph

565 Commits

Author SHA1 Message Date
Jeff Forcier 99859b8b02 Update version to 1.7.8, no need for 4 parts
(cherry picked from commit 5e0a329028)

Conflicts:
	README
	paramiko/__init__.py
	setup.py
2012-09-23 14:28:34 -07:00
Jeff Forcier 13e65a2ce0 Tweak setup.py to match README
(cherry picked from commit 673c427fe6)

Conflicts:
	setup.py
2012-09-23 14:24:27 -07:00
Jeff Forcier f8239015ec Add additional Random.atfork() to prevent RNG errors in large runs
Conflicts:
	paramiko/transport.py

Was: ssh 41f4566
2012-09-23 14:21:22 -07:00
Jeff Forcier 72ee77f441 Update README copyright notice (was ssh a228ab41) 2012-09-23 14:19:15 -07:00
Jeff Forcier 8f9b37add4 Initial port of 3709d2e02bf67ccc272e1f2311e5db125a922ba0 from 'ssh'
Re #17
2012-09-13 19:28:07 -07:00
Jeff Forcier edddc61fb5 Fix trailing whitespace re #28 2012-07-04 20:43:49 -07:00
Jeff Forcier 6ae99df2d5 Add changelog entry re #28 2012-07-04 20:43:00 -07:00
Sofian Brabez a991b5d151 document demo_keygen.py file in readme 2012-07-04 20:37:11 -07:00
Sofian Brabez a97b8b6da9 add priv/pub key generator demo 2012-07-04 20:37:06 -07:00
Jeff Forcier 3d08be043c Update changelog with #63 attribution 2012-05-25 21:58:38 -07:00
Jeff Forcier c4f873549a Merge pull request #63 from dlitz/issue49-rekeying-fix
Fix SSHException when re-keying over a fast connection
2012-05-25 21:58:07 -07:00
Jeff Forcier 322819454d Increment version for release 2012-05-16 16:03:10 -07:00
Jeff Forcier a6358f8d13 Merge #63 2012-05-16 15:51:27 -07:00
Dwayne C. Litzenberger c51b3b208c Fix SSHException when re-keying over a fast connection
When Paramiko initiates a re-key request over a high-bandwidth, medium-latency
connection, it erroneously terminates the connection with the error,
"SSHException: Remote transport is ignoring rekey requests".  This is due to
the hard-coded limit of 20 packets that may be received after a re-key request
has been sent.

See, for example, this bug report:

    "Transfer fails at 1GB: rekey window too small, hard-coded"
        https://github.com/paramiko/paramiko/issues/49

This patch changes paramiko's behaviour as follows:

- Decrease the threshold for starting re-keying from 2**30 to 2**29 bytes.
- Decrease the threshold for starting re-keying from 2**30 to 2**29 packets.
- Increase the limit of received packets between re-key request & completion
  from 20 packets to 2**29 packets.
- Add a limit of 2**29 received bytes between re-key request & completion.

In other words, we re-key more often in order to allow more data to be
in-transit during re-keying.

NOTE: It looks like Paramiko disables the keep-alive mechanism during
re-keying.  This patch does not change that behaviour.
2012-03-24 11:28:41 -04:00
Robey Pointer 7bcbc24198 version 1.7.7.1 2011-05-23 13:49:47 -07:00
Robey Pointer afae8dd7c5 oops. fix potential exception when there's no ssh agent available. 2011-05-23 13:40:33 -07:00
Robey Pointer 18f6a836da version 1.7.7 2011-05-23 00:40:37 -07:00
Robey Pointer db1c1efb7f remove the download link since that seems flaky 2011-05-21 19:42:28 -07:00
Robey Pointer a139d543ca slight readme cleanup 2011-05-21 19:30:06 -07:00
Robey Pointer 5d9eeaedcc patch from sugarc0de to call Random.atfork() when starting up, so paramiko can be used in multiprocess code 2011-05-21 19:29:38 -07:00
Robey Pointer 22608540c3 Merge pull request #9 from tehfink/master
support for openssl keys
2011-05-21 19:12:35 -07:00
Robey Pointer e891a5e473 Merge pull request #8 from garyvdm/master
Untitled
2011-05-21 19:11:34 -07:00
Robey Pointer 33482ff338 require a newer version of pycrypto and point to the new page 2011-05-21 19:08:46 -07:00
Robey Pointer 4efd0e6d3c Merge pull request #7 from jelmer/master
Fix for issue 6: paramiko does not try all available address families
2011-05-21 19:02:23 -07:00
Robey Pointer 0a9596aed3 Merge remote branch 'netik/master' 2011-05-21 18:57:09 -07:00
John Adams 33fd998a94 patch ssh-agent handling to not leak file descriptors 2011-02-01 02:43:17 -08:00
tehfink d3162ac75b support for openssl keys (http://www.mail-archive.com/paramiko@lag.net/msg00476.html) 2010-11-20 00:28:30 -05:00
Gary van der Merwe 044e702998 Use Crypto.Random rather than Crypto.Util.RandomPool. 2010-08-03 00:13:08 +02:00
Andrew Bennetts 213ab2c204 Try connecting to each available address family until one succeeds. 2010-05-13 12:56:39 +02:00
Robey Pointer e2add90981 fix spelling of "hierarchical" -- thanks, Thomas Guettler! 2010-04-25 17:05:06 -07:00
Robey Pointer 1324242a63 ignore the egg-info stuff. 2010-04-25 16:44:33 -07:00
Robey Pointer 81c7edc1a4 patch from Shad Sharma to raise an exception if the transport isn't active when you try to open a new channel. 2010-04-25 16:42:45 -07:00
Robey Pointer 188c82eede patch from Michele Bertoldi to allow compression to be turned on in the client constructor. 2010-04-25 13:37:13 -07:00
Robey Pointer 3242df7f09 i lost who sent this to me (sorry). patches to fix AIX. 2010-04-25 13:34:54 -07:00
Robey Pointer f67cea44d0 code style and fix test. 2010-04-13 18:52:29 -07:00
Robey Pointer d268594ab1 brittspace. 2010-04-13 18:51:45 -07:00
Robey Pointer bf3a87fa9b Merge remote branch 'larrywright/master' 2010-04-13 18:41:28 -07:00
Larry Wright b4ee844a3c added functionality to skip verifying the file, which works around sftp servers that remove the file immediately after it's been closed. 2009-12-18 17:02:55 -06:00
Robey Pointer cb913d5d32 bump to 1.7.6. 2009-11-01 22:01:04 -08:00
Robey Pointer e0a9f91c14 brittspace. 2009-11-01 21:33:13 -08:00
Robey Pointer 71e872e23a bug 426925: lookup host keys correctly when they have a different port. 2009-11-01 21:28:47 -08:00
Robey Pointer c628faa102 bug 411910: when asking for a sockaddr, ask for streams only. 2009-11-01 18:58:23 -08:00
Robey Pointer a60c69c81c bug 413850: patch from patrick mcnerthney. fix race between a server responding to an event and closing the channel. 2009-10-31 17:55:52 -07:00
Robey Pointer e80cec73b6 bug 363163: copy the SSHClient AF patch to transport.py too. 2009-10-31 16:10:59 -07:00
Robey Pointer d23ae79466 ignore more. 2009-10-31 16:07:55 -07:00
Robey Pointer 931f71e627 bug 411099: chdir() isn't saving the cwd in a normalized way. added test. 2009-10-31 16:06:53 -07:00
Robey Pointer 7da1f2c4a3 bump to 1.7.5. 2009-07-19 21:45:54 -07:00
Robey Pointer f573017a1d patch from evan jones: simplify wait_for_event. 2009-07-19 20:53:00 -07:00
Robey Pointer 62bc0ad79a ignore extra fields in a hosts file, since apparently some apps are putting comments on the same line (?). 2009-07-19 20:26:44 -07:00
Robey Pointer b4220657be oops. 2009-07-19 20:17:47 -07:00