Commit Graph

566 Commits

Author SHA1 Message Date
Robey Pointer b4220657be oops. 2009-07-19 20:17:47 -07:00
Robey Pointer 0840d8dd28 patch from sofian brabez to fix hexdump logging in sftp_client. 2009-07-19 19:59:55 -07:00
Robey Pointer e56b36648d patch from jim wilcoxson: raise an error early if chdir will fail. 2009-07-19 19:47:53 -07:00
Robey Pointer 60c6e94e7d fix my email address to be the current one. 2009-07-19 19:45:02 -07:00
Robey Pointer 0e2e882d0d make the "auth type not permitted" message debug level, for bazaar. 2009-07-19 18:49:04 -07:00
Robey Pointer e06dbde805 patch from gary poster: allow multiple hostnames to be specified per block in the ssh config file format. bug #332382 2009-07-19 16:08:13 -07:00
Robey Pointer 15f4bdb105 patch from andreux fort: add a timeout to the key exchange, so that if the remote side doesn't ever answer, eventually we give up. bug #378511 2009-07-19 16:00:39 -07:00
Robey Pointer fe35f44f2e close the local/remote files in finally blocks in sftp get & put, so fds don't get lost. bug #379240 2009-07-19 15:19:10 -07:00
Robey Pointer ac42ba88d7 patch for ARC4 cipher support, and CTR block chaining, from denis bernard. 2009-07-19 15:04:54 -07:00
Robey Pointer a0313a47e4 simplify the "simple" demo. 2009-07-19 15:03:45 -07:00
Robey Pointer adb349bf2b fix tests. 2009-05-10 21:19:10 -07:00
Robey Pointer 62d49255d5 Merge commit 'shikhar/master' 2009-05-10 21:12:41 -07:00
Robey Pointer 4e2b250ace rename this file for github 2009-05-10 21:11:33 -07:00
Shikhar Bhushan 044814ba16 typo 2009-04-18 18:50:19 +02:00
Shikhar Bhushan 20e3306f3d fix ipv6 support in SSHClient 2009-04-18 18:26:12 +02:00
Robey Pointer 5e32b33be7 patch from maxime ripard adding ip6 support. 2009-04-14 18:55:25 -07:00
Robey Pointer 7bd95eb0d0 patch from james bardin: bail early if the high byte is zero. 2009-04-14 18:15:57 -07:00
Robey Pointer 74b581c170 bug 300536: allow a really long banner before the SSH handshake. 2009-02-17 18:30:48 -08:00
Robey Pointer 5def112013 fix silly exception message. 2009-02-16 01:35:22 -08:00
Robey Pointer 25417575ef make the transport a daemon thread since python 1.6 doesn't call the atexit handler correctly any more. also allow unicode as a hostname. 2009-02-16 01:24:26 -08:00
Robey Pointer 967b0011f0 [project @ robey@lag.net-20090202021455-ohooxd5bzsf8age3]
old todo comments
2009-02-01 18:14:55 -08:00
Robey Pointer 2fda984906 [project @ robey@lag.net-20080707012221-5fz3q4j2gvqlbmhl]
bump version to 1.7.4 (desmond).
2008-07-06 18:22:21 -07:00
Robey Pointer 97ea105d4e [project @ robey@lag.net-20080707002355-kl44yurqgjfhk7dd]
clarify documentation about non-blocking mode
2008-07-06 17:23:55 -07:00
Robey Pointer 035766fab0 [project @ robey@lag.net-20080707002335-9fw0bd9tj7ndcueg]
clarify feature was added in 1.7.4
2008-07-06 17:23:35 -07:00
Robey Pointer fbfd8126c8 [project @ robey@lag.net-20080706230815-v2ybqxm237zw0wa0]
add a callback method that can be used to track get/put progress in
SFTPClient. suggested by Phil Schwartz.
2008-07-06 16:08:15 -07:00
Robey Pointer e8748645a3 [project @ robey@lag.net-20080706225842-25rg9uk9ksyxxbyf]
fix convoluted logging method
2008-07-06 15:58:42 -07:00
Robey Pointer 5989710968 [project @ robey@lag.net-20080706223938-fn82xx2k0zvklazm]
more ignores
2008-07-06 15:39:38 -07:00
Robey Pointer c60133d85b [project @ robey@lag.net-20080706223720-l52qact0g0q5gkuz]
ack, somehow my previous commit ERASED this file!
i'm starting to lose my bazaar-fu from using git too much. :(
2008-07-06 15:37:20 -07:00
Robey Pointer 60c46d7b7c [project @ robey@lag.net-20080706223221-k0hzhvsayzmw6w3e]
patch from Mark Hammond to use win32gui instead of win32ui, to avoid
a dependency on MFC. only affects windows.
2008-07-06 15:32:21 -07:00
Robey Pointer abf891af0b [project @ robey@lag.net-20080706221605-t6ashnnjr1aurmn4]
SFTPClient.put() now returns the stats object it collected during
verification. suggested by Jude Venn.
2008-07-06 15:16:05 -07:00
Robey Pointer c2ef48cf18 [project @ robey@lag.net-20080706203706-zqxb69qrcgyuf90n]
allow multiple key files to be specified in SSHClient.
suggested by Bernhard Walle.
2008-07-06 13:37:06 -07:00
Robey Pointer 305f5e09a5 [project @ robey@lag.net-20080604053906-vz5toqvlp5miqy1x]
merge deadlog bugfix from dwayne litzenberger.
2008-06-03 22:39:06 -07:00
Robey Pointer e47e203540 [project @ robey@lag.net-20080518231221-znq4h93fzdgotwf1]
include an empty language field on sftp responses, since some clients
expect it.
2008-05-18 16:12:21 -07:00
Robey Pointer d21d384509 [project @ robey@lag.net-20080518224525-cjid4qbn81eve3zt]
merge dwayne litzenberger's fixes for randpool on windows.
2008-05-18 15:45:25 -07:00
Robey Pointer c52b11ba17 [project @ robey@lag.net-20080324065154-w8p2lhawmsbynxc0]
bump version to 1.7.3 (clara)
2008-03-23 23:51:54 -07:00
Robey Pointer f5f203d5ea [project @ robey@lag.net-20080324065139-nmvo5goh1izbd3gr]
not all windows boxes have winrandom
2008-03-23 23:51:39 -07:00
Robey Pointer f35a65bb0c [project @ robey@lag.net-20080324065111-qv8icii767fqex9j]
fix some unit tests for windows
2008-03-23 23:51:11 -07:00
Robey Pointer 9a6ffec93f [project @ robey@lag.net-20080323082110-o9fglwyiozn08tm9]
bug 191657:
clean up usage of the channel map by making a special object to hold the
weak value dict.
2008-03-23 01:21:10 -07:00
Robey Pointer e5a1b4bf56 [project @ robey@lag.net-20080323025751-de0lem9pi4oydt2g]
bug 193779:
catch EOFError in auth, and turn it into an auth exception. add a unit
test to verify.
2008-03-22 19:57:51 -07:00
Robey Pointer 7b819f0e91 [project @ robey@lag.net-20080323024555-s95m60jycc8dt14q]
bug 192749: document that SSHClient.connect may throw socket.error.
2008-03-22 19:45:55 -07:00
Robey Pointer 50d63690ee [project @ robey@lag.net-20080323023616-fpo17kr0qxxbgthv]
bug 200416:
don't create a new logger for every channel and every sftp client or server.
it causes python to leak lots of useless logger objects, because they never
go away. instead, log the channel # in the message, and use only a couple of
standard log nodes.
2008-03-22 19:36:16 -07:00
Robey Pointer 7854d600a7 [project @ robey@lag.net-20080323020709-ub8ya3xkh1ebywfa]
add exit_status_ready for justin cook.
2008-03-22 19:07:09 -07:00
Robey Pointer c0fc67acc9 [project @ robey@lag.net-20080323020309-9bjcp7l2ygdu49d2]
slight tweak to test, make it verify the length too
2008-03-22 19:03:09 -07:00
Robey Pointer 419b11b741 [project @ robey@lag.net-20080323020054-ar5bmythf7fr5rgk]
in the test that verifies key renegotiation during a large file "put", also
do a "get" of the large file (with prefetch) to verify that nothing screwy
happens.
2008-03-22 19:00:54 -07:00
Robey Pointer 613d2a2f24 [project @ robey@lag.net-20080322215455-xb70ktut2l1bkzsx]
patch from dwayne c. litzenberger to fix urandom support to work from
within a chroot. i modified it slightly to remove os.urandom calls
completely, since our direct file access is nearly identical to what
python was doing.
2008-03-22 14:54:55 -07:00
Robey Pointer 4f52c13900 [project @ robey@lag.net-20080220060035-yi82h5kc7jod5hlu]
add a demo for reverse port forwarding.
2008-02-19 22:00:35 -08:00
Robey Pointer 7ebda9a76d [project @ robey@lag.net-20080220060030-jih2gfguzp6jbwog]
verify WarningPolicy is exported
2008-02-19 22:00:30 -08:00
Robey Pointer ceb65ed55f [project @ robey@lag.net-20080220055938-c772bcrnw9lm2kcd]
for forwarded-tcpip connections, stuff the origin_addr in a public field in
the Channel, in case recipients find it useful info.
2008-02-19 21:59:38 -08:00
Robey Pointer 73c8dadb62 [project @ robey@lag.net-20080220055849-xmjvp8m0lqyz4cf1]
change -l to -p for consistency
2008-02-19 21:58:49 -08:00
Robey Pointer e963435e92 [project @ robey@lag.net-20080219075127-fx3aq6ijgm38oxy6]
cleaned up "forward" example.
2008-02-18 23:51:27 -08:00