Commit Graph

489 Commits

Author SHA1 Message Date
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
Robey Pointer 3319f556d6 [project @ robey@lag.net-20080219074736-1fkyp8jl95amj5ky]
add WarningPolicy to SSHClient, which logs a warning when a server host key
isn't known, but allows the connection. also added an option to avoid
searching for private keys, and made it check ~/ssh/ for windows.
2008-02-18 23:47:36 -08:00
Robey Pointer 9e67c45053 [project @ robey@lag.net-20080218051229-xtylb1poe246k2ci]
merge patch from Dwayne Litzenberger to fix unit tests on python 2.3.
2008-02-17 21:12:29 -08:00
Robey Pointer cb3a0a4c3d [project @ robey@lag.net-20080218045900-wh5168fjqq2o80kd]
merge patch from Dwayne Litzenberger that lets you ask an SSHClient not to
try agent-based auth.
2008-02-17 20:59:00 -08:00
Robey Pointer d81e0038d2 [project @ robey@lag.net-20080218024139-i2t8y0f0dd93xjo1]
bug 189466: fix typo in osrandom.py (from patch in bug report) and add a
friggin' unit test.
2008-02-17 18:41:39 -08:00
Robey Pointer 06faa6f2ed [project @ robey@lag.net-20080218003236-d2zgw43ys7xrccdx]
explain why we check ~/ssh/ in the demos
2008-02-17 16:32:36 -08:00
Robey Pointer 888aa8d5b7 [project @ robey@lag.net-20080124045017-dfqiamorj356btrd]
fix the utf-8 password bug for good (aka bug 177117) and add unit tests
this time.
2008-01-23 20:50:17 -08:00
Robey Pointer 953392c0a1 [project @ robey@lag.net-20080124014121-95bt9p4n4k8lw72i]
remove some now-unneeded code.
2008-01-23 17:41:21 -08:00
Robey Pointer 31544301f5 [project @ robey@lag.net-20080124013849-jno9xkgwvvqrvuov]
split auth tests into their own file, and clean up the remaining transport
tests a bit (use existing refactoring).
2008-01-23 17:38:49 -08:00
Robey Pointer 4031ae9292 [project @ robey@lag.net-20080122025908-h8xm28k72umoeo7y]
bump to version 1.7.2 (basil)
2008-01-21 18:59:08 -08:00
Robey Pointer 84eebc02f6 [project @ robey@lag.net-20080121194216-q3n5ovpeyiqjua6p]
patch from dwayne litzenberger to fix the PRNG to be more resilient when
using windows, and some forking/threading environments.
2008-01-21 11:42:16 -08:00
Robey Pointer 38835bc24c [project @ robey@lag.net-20080121190842-mq94nybu8qxhw1jl]
for password authentication, only utf-8 encode the password if it's in
unicode. this should let clients work around servers that expect non-utf-8
passwords (possibly because they predate the RFCs).
2008-01-21 11:08:42 -08:00
Robey Pointer ba1fd0d61b [project @ robey@lag.net-20071231052950-8h599bnez3sgbf2e]
patch from david guerizec for direct-tcpip forwarding support, and a unit
test added by yours truly.
2007-12-30 21:29:50 -08:00
Robey Pointer 06d3471b46 [project @ robey@lag.net-20071231003441-njdbcgbrqskrgtiw]
merge patch to allow bufsize param in SSHClient.exec_command()
2007-12-30 16:34:41 -08:00
Robey Pointer d70878831c [project @ robey@lag.net-20071231003259-xwwescnkvb3e6vxc]
be more explicit about setting buffering options, and make the default
be "unbuffered", because with buffering on, writes are buffered, which can
be very confusing over ssh and usually not what you want.
2007-12-30 16:32:59 -08:00
Robey Pointer a3128c63de [project @ robey@lag.net-20071230220403-9c9735x0tfr88dd8]
oops, fix typo.
2007-12-30 14:04:03 -08:00
Robey Pointer 92e92a9297 [project @ robey@lag.net-20071120052527-hloi0b30yngbay0x]
add send_ready() and a unit test.
2007-11-20 00:25:27 -05:00
Robey Pointer 2fcbacee7f [project @ robey@lag.net-20071119194455-u69od9ynz2n4x7ch]
merge tab fix
2007-11-19 11:44:55 -08:00
Robey Pointer db97851f36 [project @ robey@lag.net-20071110065222-xt335qy6c4s6flze]
patch from james bardin to allow closing an SSHClient more than once. :)
2007-11-09 22:52:22 -08:00
Robey Pointer 645bdfd861 [project @ robey@lag.net-20071110065121-76ooutayf5dvvuqh]
add get_transport() to fetch the Transport from an SSHClient.
2007-11-09 22:51:21 -08:00
Robey Pointer 9bc7c13ad7 [project @ robey@lag.net-20071110065103-a169t3ijqapq0zlo]
fix some typos.
2007-11-09 22:51:03 -08:00
Robey Pointer 758c18a28b [project @ robey@lag.net-20071029030520-ozmne7y4l6037m8h]
bug discovered while porting to jaramiko: old-style gex wasn't creating
the proper hash. fixed.
2007-10-28 20:05:20 -07:00
Robey Pointer e3d9b90ea1 [project @ robey@lag.net-20071029030344-9adfzb9ulfodtepu]
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-10-28 20:03:44 -07:00
Robey Pointer 80b9e289ce [project @ robey@lag.net-20070924062534-5yemkpyjy2sssvjn]
bug 137219: handle EINTR in a read or write, if python doesn't.
2007-09-23 23:25:34 -07:00
Robey Pointer 2cf5448d43 [project @ robey@lag.net-20070901031348-6x0zif4cdtqu4vvu]
jon slavin points out that using the 'cmp' keyword is not compatible
with python 2.3.
2007-08-31 20:13:48 -07:00
Robey Pointer 39b45b4000 [project @ robey@lag.net-20070611044506-2c1c1t2avdr3yuaa]
bump up to 1.7.1 (amy)
2007-06-10 21:45:06 -07:00
Robey Pointer 7431c59c20 [project @ robey@lag.net-20070611044447-ewcm7qcrmtdfyspq]
change README to rest format
2007-06-10 21:44:47 -07:00
Robey Pointer 77c69301f4 [project @ robey@lag.net-20070611043523-ol2r0nbenkjc7abb]
create new TODO file
2007-06-10 21:35:23 -07:00