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
adb349bf2b
fix tests.
2009-05-10 21:19:10 -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
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
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
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
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
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
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
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
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
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
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
946e4dbc29
[project @ robey@lag.net-20070521023545-8a36vex4ewgdxcwk]
...
merge in a modified form of a patch from alexander belchenko. this lets
windows users use the 'win32all' module *or* the 'ctypes' module, if they
have ctypes installed. python 2.5 comes with ctypes in the standard
library.
2007-05-20 19:35:45 -07:00
Robey Pointer
58e26ae41b
[project @ robey@lag.net-20070521002334-6bx5g0zrnb10sgyd]
...
add optional timeout parameter to SSHClient.connect(), based on a patch
from james bardin.
2007-05-20 17:23:34 -07:00
Robey Pointer
afa5e0594e
[project @ robey@lag.net-20070520225704-j1czjtrl2hu7t1pj]
...
add a get_channel() method to SFTPClient, to retrieve the underlying channel.
2007-05-20 15:57:04 -07:00
Robey Pointer
3229cd0f94
[project @ robey@lag.net-20070520225622-ozs9cguu8ipaxt85]
...
patch from wesley augur: expose the 'longname' field from listdir_attr().
2007-05-20 15:56:22 -07:00
Robey Pointer
920b172360
[project @ robey@lag.net-20070326075819-y7972z9cy3ffmw76]
...
expose PKey for documentation, so inherited methods can be seen in DSSKey and RSAKey
2007-03-26 00:58:19 -07:00
Robey Pointer
6b71c642d1
[project @ robey@lag.net-20070218212332-ufb5mk2ne0bzamx5]
...
oops, fix doc typo
2007-02-18 13:23:32 -08:00
Robey Pointer
cb0e01dd86
[project @ robey@lag.net-20070218212228-qdk8w1n4is0cady3]
...
bump version to 1.7 zubat
2007-02-18 13:22:28 -08:00
Robey Pointer
83b335e10f
[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]
...
bump copyright year to 2007
2007-02-13 11:17:06 -08:00
Robey Pointer
b9f43f3f06
[project @ robey@lag.net-20070212183021-0c9dx3w16m0x2non]
...
add a convenience method for open_forwarded_tcpip_channel
2007-02-12 10:30:21 -08:00
Robey Pointer
ab2e5a710e
[project @ robey@lag.net-20070212182955-eaqi0dhzk0p8tw02]
...
slightly improve docs; mention check_channel_x11_request
2007-02-12 10:29:55 -08:00
Robey Pointer
44af093090
[project @ robey@lag.net-20070211022613-tvtcqzmho5cxr55u]
...
fix a couple of typos discovered by mczepiel.
2007-02-10 18:26:13 -08:00
Robey Pointer
f384749a8c
[project @ robey@lag.net-20070210235828-2a24iw2xqe4lnf42]
...
patch from mpool to fix a python 2.5 warning: stat() returns floats for
times and we want to encode them as ints.
2007-02-10 15:58:28 -08:00
Robey Pointer
c1e3e85353
[project @ robey@lag.net-20061227214016-ebfnh1q09zt8z3ej]
...
as john arbash meinel points out, this assert wasn't validating internal
consistency, because a readv() request may ask for more data than is left
in the file. so remove the assert.
2006-12-27 16:40:16 -05:00
Robey Pointer
0a63d74a69
[project @ robey@lag.net-20061227194104-ztyb6hi94wp9egp2]
...
fix bug in prefetch confirmation
2006-12-27 14:41:04 -05:00
Robey Pointer
db89be96ef
[project @ robey@lag.net-20061226012748-lmbxlsue9q2jzk8x]
...
if connecting to the agent fails, assume it's just not there, and don't
raise an exception. (suggestion from martin pool on bazaar-dev.)
2006-12-25 20:27:48 -05:00
Robey Pointer
bc66f5eed2
[project @ robey@lag.net-20061226012631-dlhl2akelqy8z0v8]
...
remove silly comment about compression not being tested
2006-12-25 20:26:31 -05:00
Robey Pointer
5a30821a7d
[project @ robey@lag.net-20061217011840-wndj9dyd2f9g512e]
...
don't need to expanduser twice
2006-12-16 17:18:40 -08:00
Robey Pointer
029b8989db
[project @ robey@lag.net-20061215222108-7pu0151970w1e1lp]
...
add a ResourceManager to replace __del__ methods, and use it in SSHClient
to automatically close any open transport when the SSHClient is collected.
this won't work on Transport itself (to close the attached packetizer)
because Transport starts up its own thread, and the threading library
keeps a Transport object alive to run that thread. i think that's okay;
the SSHClient interface is meant to be the easier one, so that's the one
where it's important that some auto-cleanup is attempted.
2006-12-15 14:21:08 -08:00
Robey Pointer
7058f5ead2
[project @ robey@lag.net-20061215211936-rgc3uzy5ai9h6qho]
...
bug 75370: notice garbage sftp packets
since sftp packets shouldn't be larger than about 32k, if the first length
byte is non-zero (ie, the packet size > 16M), raise an exception.
2006-12-15 13:19:36 -08:00
Robey Pointer
76285309cf
[project @ robey@lag.net-20061203023334-72zo500ys0l1le30]
...
potential port forwarding support; probably buggly cuz i haven't added unit tests yet :)
2006-12-02 18:33:34 -08:00
Robey Pointer
aaa97d72c0
[project @ robey@lag.net-20061127192023-ns5lhww0jc84f21t]
...
absorb socket.errors caused by a closed socket if we knew it was closed
2006-11-27 11:20:23 -08:00
Robey Pointer
fec76c51b1
[project @ robey@lag.net-20061121001117-8mf8zzltvfvzzrv7]
...
add support for opening x11 channels, and a unit test
2006-11-20 16:11:17 -08:00
Robey Pointer
48bb10694b
[project @ robey@lag.net-20061120192137-1rcpiiq9mcd58m76]
...
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-11-20 11:21:37 -08:00
Robey Pointer
b956cc4831
[project @ robey@lag.net-20061119205558-p5p2tmqx0xt7hq9r]
...
bump version to 1.6.4 (yanma) and trim the README changes-history a bit
2006-11-19 12:55:58 -08:00
Robey Pointer
a9c51b23ce
[project @ robey@lag.net-20061113041742-e24468a63d31b8bd]
...
sometimes the sftp module is used with raw sockets, not just paramiko
Channels. in this case, calling recv() will never return. so notice
this and use select() to give python a chance to notice a closed socket.
this kind of thing is especially useful for unit tests.
2006-11-12 20:17:42 -08:00
Robey Pointer
48afc3082a
[project @ robey@lag.net-20061112063054-bf71926ff8c98c68]
...
a bit of cleanup in close() to try harder to avoid having lingering threads
2006-11-11 22:30:54 -08:00
Robey Pointer
e2d8357622
[project @ robey@lag.net-20061112055617-098a150cf051bffa]
...
try a trick that should let 'hostkeys[hostname][keytype] = key' work for
HostKeys objects again.
2006-11-11 21:56:17 -08:00
Robey Pointer
e736341e20
[project @ robey@lag.net-20061111004413-7bab08f1bad7f96f]
...
bug 70398:
allow constructions like:
hostkeys['hostname'] = {}
to create an empty host entry object, so that future attempts to set
keys will at least not throw an exception. (they'll still silently do
nothing, though.)
2006-11-10 16:44:13 -08:00
Robey Pointer
482d0bcef2
[project @ robey@lag.net-20061031223747-9fda3f2c1112c5dc]
...
(bug 69222)
on some recent linux kernels, a socket can return "readable" from select,
but a subsequent read() will return EAGAIN. this is against the contract
of select(), so python's socketmodule doesn't catch it or handle it.
therefore, we need to. EAGAIN should now be treated the same as a
socket timeout.
2006-10-31 14:37:47 -08:00
Robey Pointer
4628a53acf
[project @ robey@lag.net-20061031190617-1113fb493ff5b690]
...
(bug 69330)
in SFTPClient._auth, check for the existence of the rsa/dsa keys before
trying to open them, so that an I/O exception doesn't mask an earlier
one.
2006-10-31 11:06:17 -08:00
Robey Pointer
7e27adacf1
[project @ robey@lag.net-20061015015628-371a037b5165d634]
...
bump version to 1.6.3
2006-10-14 18:56:28 -07:00
Robey Pointer
4d090c71a6
[project @ robey@lag.net-20061008002032-d6803b57bac4f62c]
...
i think the compression needs to be inside this lock in order to preserve order
2006-10-07 17:20:32 -07:00
Robey Pointer
93ab477408
[project @ robey@lag.net-20061001034525-8f78a989ecde720c]
...
bug fix from mike looijmans: notify any thread waiting in accept() when the transport dies
2006-09-30 20:45:25 -07:00
Robey Pointer
64b89b6efd
[project @ robey@lag.net-20061001034455-bf6880fdbd4dd29e]
...
trivial doc fixes
2006-09-30 20:44:55 -07:00
Robey Pointer
31c26eafb9
[project @ robey@lag.net-20060911175604-bf2798fcebd62780]
...
trap EOF errors when reading a response, and translate into SSHException
2006-09-11 10:56:04 -07:00
Robey Pointer
4acb9589ce
[project @ robey@lag.net-20060908023959-de70f0675f25fa64]
...
fixes from mike barber for chdir and sftp attr __str__
2006-09-07 19:39:59 -07:00
Robey Pointer
682185bac1
[project @ robey@lag.net-20060908015516-1b8ac2af031586fe]
...
better way to change the module name
2006-09-07 18:55:16 -07:00
Robey Pointer
df20443b29
[project @ robey@lag.net-20060901205930-021bcc34e3d5d8c8]
...
sadly, revert the append optimization -- it breaks for openssh
2006-09-01 13:59:30 -07:00
Robey Pointer
1f4a3f1976
[project @ robey@lag.net-20060829181836-1cd17df7729c4db8]
...
remove usage of has_key, which is dangerous and deprecated
2006-08-29 11:18:36 -07:00
Robey Pointer
b23079b135
[project @ robey@lag.net-20060829012231-328fee7de77036be]
...
fix a couple of pcheck warnings
2006-08-28 18:22:31 -07:00
Robey Pointer
2b8738d3ce
[project @ robey@lag.net-20060828234834-51542dc36057b361]
...
fix __setitem__ to do the right thing
2006-08-28 16:48:34 -07:00
Robey Pointer
c2b38a1fb8
[project @ robey@lag.net-20060823025610-adee7f6d9bd92725]
...
ok, ok, switch back to open()
2006-08-22 19:56:10 -07:00
Robey Pointer
145ceab54c
[project @ robey@lag.net-20060823025538-3f8a4d761d7d4118]
...
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
2006-08-22 19:55:38 -07:00
Robey Pointer
cc3e383baf
[project @ robey@lag.net-20060822025601-aab3b723b95d3a9c]
...
add 'flags' param to SFTPHandle and make the default impl avoid calling tell() when in append mode; add proper append-mode support to stub_sftp
2006-08-21 19:56:01 -07:00
Robey Pointer
49418d1145
[project @ robey@lag.net-20060816213132-2e094c077d22dc50]
...
bump version to 1.6.2
2006-08-16 14:31:32 -07:00
Robey Pointer
bfe8fac5bf
[project @ robey@lag.net-20060816213106-99cffe9de5d555c5]
...
don't need odict anymore
2006-08-16 14:31:06 -07:00
Robey Pointer
929ce8df7a
[project @ robey@lag.net-20060813195045-ca4148e233794d4b]
...
add a unit test to verify that all the paramiko symbols are exported correctly
2006-08-13 12:50:45 -07:00
Robey Pointer
6d37b6b810
[project @ robey@lag.net-20060813193546-c92b58af1c27d156]
...
missing commas in exported class list (bug 55946)
2006-08-13 12:35:46 -07:00
Robey Pointer
4bedcfbf39
[project @ robey@lag.net-20060801182715-f0977a00fbcce456]
...
fix logic in checking prefetch buffers: don't stop looking for prefetched data just because all the buffers have arrived
2006-08-01 11:27:15 -07:00
Robey Pointer
05de66db6d
[project @ robey@lag.net-20060801182357-e030af9570314145]
...
use hexlify instead of home-grown hexify
2006-08-01 11:23:57 -07:00
Robey Pointer
4086a5cd35
[project @ robey@lag.net-20060729182801-e5e501844712bd85]
...
oops, forgot to import SSHException
2006-07-29 11:28:01 -07:00
Robey Pointer
6821b6e8e8
[project @ robey@lag.net-20060727025519-bffe5bcc0556d779]
...
variant of a patch from warren young to preserve the order of host entries from the 'known_hosts' file and preserve knowlege of which lines had multiple hostnames on them
2006-07-26 19:55:19 -07:00
Robey Pointer
17a93bce4c
[project @ robey@lag.net-20060726191515-6ff627b4d7216073]
...
if a chunk has been requested in prefetch, don't bother doing an overlapping prefetch during readv
2006-07-26 12:15:15 -07:00
Robey Pointer
c731a077fb
[project @ robey@lag.net-20060726002947-e60cb0a3d7b86919]
...
don't fetch readv chunks that we have reason to believe are already in prefetch buffers. no longer need to order the prefetch requests either.
2006-07-25 17:29:47 -07:00
Robey Pointer
c24db3e38c
[project @ robey@lag.net-20060726000907-b9a2d46eecc64cec]
...
allow prefetch + readv to occur at the same time (even though it will be really inefficient). instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far. break up large readv requests into the max packet size. add 2 more unit tests to test this stuff.
2006-07-25 17:09:07 -07:00
Robey Pointer
787b0b461d
[project @ robey@lag.net-20060723235649-5f757e44908ffb31]
...
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
2006-07-23 16:56:49 -07:00
Robey Pointer
4737e44e40
[project @ robey@lag.net-20060723235548-2f5f9ae591d683ca]
...
clean up use of expected_packet and make it accept a tuple of packet types
2006-07-23 16:55:48 -07:00
Robey Pointer
ffcc22e784
[project @ robey@lag.net-20060713194617-35597c20a6b3bc59]
...
bump version to 1.6 (oops, forgot to check this in a few days ago)
2006-07-13 12:46:17 -07:00
Robey Pointer
ec6e76abc6
[project @ robey@lag.net-20060710070003-b9c4a1a7f7ab0ae9]
...
apparently some sftp servers may return an mtime of 0xffffffff -- just in case, ignore that value
2006-07-10 00:00:03 -07:00
Robey Pointer
9c8a06b877
[project @ robey@lag.net-20060628050022-2f0d754ed70356f1]
...
anal-retentive conversion to 'while True'
2006-06-27 22:00:22 -07:00
Robey Pointer
c22df44900
[project @ robey@lag.net-20060628045919-ffac82c51c51b3df]
...
make HostKeys use odict to ensure order is preserved, and add HostKeys.save()
2006-06-27 21:59:19 -07:00
Robey Pointer
4fa4fdee4b
[project @ robey@lag.net-20060627064106-71a2bfb5a39a2913]
...
add PKey.from_private_key to read from a file object
2006-06-26 23:41:06 -07:00
Robey Pointer
d81758f1ff
[project @ robey@lag.net-20060627060810-93a5453df5ae4a62]
...
log mkdir mode when given
2006-06-26 23:08:10 -07:00
Robey Pointer
be86d5474a
[project @ robey@lag.net-20060627060703-3d7eadfb1f5042ad]
...
catch and discard exceptions thrown when sending a status response during an exception
2006-06-26 23:07:03 -07:00
Robey Pointer
79d239693a
[project @ robey@lag.net-20060627060600-07d5b7e2fc57202d]
...
add PKey.write_private_key to write a private key into a file object, and add tests for it
2006-06-26 23:06:00 -07:00
Robey Pointer
1726162508
[project @ robey@lag.net-20060530070000-358e08e75c891d8b]
...
add __setitem__ for HostKeys
2006-05-30 00:00:00 -07:00
Robey Pointer
e0f0ae5eb2
[project @ robey@lag.net-20060530065945-158cc1305bfc2c82]
...
missed the client id
2006-05-29 23:59:45 -07:00
Robey Pointer
471876ff3e
[project @ robey@lag.net-20060530065858-6300e2d76304778c]
...
convert an EOFError into SSHException during sftp negotation
2006-05-29 23:58:58 -07:00
Robey Pointer
af4b8fedc9
[project @ robey@lag.net-20060511013313-411d1524da3b53f0]
...
bump version to 1.6, fix up docs a little bit
2006-05-10 18:33:13 -07:00
Robey Pointer
6f4110a066
[project @ robey@lag.net-20060511011140-ab3550c28121f900]
...
fix a few bugs found by pycheck
2006-05-10 18:11:40 -07:00
Robey Pointer
8843feb633
[project @ robey@lag.net-20060509164549-14e664f234b4b747]
...
new parent exception for all auth failures, and new specific exception for bad host key
2006-05-09 09:45:49 -07:00
Robey Pointer
02e8178510
[project @ robey@lag.net-20060508005224-a8a04cd59f9fa016]
...
pulled out openssh config parsing into its own class
2006-05-07 17:52:24 -07:00
Robey Pointer
1d2bd214c3
[project @ robey@lag.net-20060508002214-0403d95f73b152f5]
...
couple of doc fixes
2006-05-07 17:22:14 -07:00
Robey Pointer
2a03425e27
[project @ robey@lag.net-20060508002007-3b7b87c361fe876a]
...
add unit tests for SSHClient, and fix a few bugs that uncovered
2006-05-07 17:20:07 -07:00
Robey Pointer
de1e072c73
[project @ robey@lag.net-20060507230153-dba6b2d664b5ef3f]
...
channel operations raise an exception on error now instead of returning a bool
2006-05-07 16:01:53 -07:00
Robey Pointer
581103665b
[project @ robey@lag.net-20060504025237-a015ee747d9a2e75]
...
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.
2006-05-03 19:52:37 -07:00
Robey Pointer
2067e9a136
[project @ robey@lag.net-20060502002709-617a268779f7ca6b]
...
readv should just yield results as it gets them (suggestion from robertc)
2006-05-01 17:27:09 -07:00
Robey Pointer
e646d0ee4c
[project @ robey@lag.net-20060430023238-3cd706d10c2de472]
...
try to clean up if the server object throws an exception
2006-04-29 19:32:38 -07:00
Robey Pointer
c278de9fd4
[project @ robey@lag.net-20060428174959-bae73f58ca8ed33a]
...
patch from nicholas piper to catch keepalives sent to the client
2006-04-28 10:49:59 -07:00
Robey Pointer
3bcdf46a9d
[project @ robey@lag.net-20060424011126-66797c157af18805]
...
add SSHClient (so far)
2006-04-23 18:11:26 -07:00
Robey Pointer
8e81ba61f5
[project @ robey@lag.net-20060424011046-7edc8e67b364f07d]
...
mark a couple of functions as since 1.5.2
2006-04-23 18:10:46 -07:00
Robey Pointer
abb7f1f1ba
[project @ robey@lag.net-20060420072627-958cad5e36cb8ecc]
...
fix a bug where prefetch() at EOF would throw an exception, and add a unit test
2006-04-20 00:26:27 -07:00
Robey Pointer
d965f00563
[project @ robey@lag.net-20060412205753-e6c5d195a51fc389]
...
fix docs
2006-04-12 13:57:53 -07:00
Robey Pointer
6e2f3b6548
[project @ robey@lag.net-20060412203612-863c46529730f786]
...
bump up the default banner timeout to 15 seconds and make it configurable via (undocumented) Transport.banner_timeout
2006-04-12 13:36:12 -07:00
Robey Pointer
37dd98bc61
[project @ robey@lag.net-20060412093740-9fad67f9fbafcd7d]
...
fix doc typo
2006-04-12 02:37:40 -07:00
Robey Pointer
f765980313
[project @ robey@lag.net-20060412084327-0d666ca96c0b0976]
...
oops, don't forget to add the empty() method
2006-04-12 01:43:27 -07:00
Robey Pointer
e7afd83308
[project @ robey@lag.net-20060412084250-bd347f3f01aca394]
...
flip the switch: use BufferedPipe inside Channel
2006-04-12 01:42:50 -07:00
Robey Pointer
b7a615d02a
[project @ robey@lag.net-20060411224733-0361ad3758aee64d]
...
add a way to set the event to trigger, and fix a typo
2006-04-11 15:47:33 -07:00
Robey Pointer
9e14a3bf58
[project @ robey@lag.net-20060411073946-8830b560b276266f]
...
factor out BufferedPipe into its own class
2006-04-11 00:39:46 -07:00
Robey Pointer
017d315bce
[project @ robey@lag.net-20060409073938-bcbb9a13a6f311c2]
...
changes to win_pageant from todd whiteman which avoid using ctypes and apparently makes the pageant agent work
2006-04-09 00:39:38 -07:00
Robey Pointer
ccc1046a5c
[project @ robey@lag.net-20060406181821-68f9bc13b3580d37]
...
some fixes for win32: potential fix for lockup during failed tests; don't try chmod/chown or symlinks; fix canonicalize to convert dos-style path separators to '/'; open local files in binary mode; close a file before erasing it
2006-04-06 11:18:21 -07:00
Robey Pointer
d7b28ac257
[project @ robey@lag.net-20060327001936-9dd7d3b155614bbf]
...
allow multiple prefetches to happen in rapid succession
2006-03-26 16:19:36 -08:00
Robey Pointer
4120a15823
[project @ robey@lag.net-20060326235536-31da9988fb7a06be]
...
slightly more docs to hostkeys
2006-03-26 15:55:36 -08:00
Robey Pointer
016060388a
[project @ robey@lag.net-20060324174423-1d310608680dd29b]
...
try out john's win_pageant code
2006-03-24 09:44:23 -08:00
Robey Pointer
4eb0b9ac3e
[project @ robey@lag.net-20060312042905-752c324bdc1ac2cf]
...
bump version to 1.5.4
2006-03-11 20:29:05 -08:00
Robey Pointer
82d8ca6e11
[project @ robey@lag.net-20060312040732-8d16f6c42f12f138]
...
document readv, fix thinko, and add a readv unit test
2006-03-11 20:07:32 -08:00
Robey Pointer
862e1f48e3
[project @ robey@lag.net-20060310022234-c183ad0b3f31eb28]
...
generalize the prefetching a bit so that it can be reused for a readv method
2006-03-09 18:22:34 -08:00
Robey Pointer
a98c5cf627
[project @ robey@lag.net-20060309082830-ea89d2b2259098a2]
...
revise the prefetch machinery so that it doesn't assert if you seek to earlier than the prefetched buffers. also, keep around any prefetched data that has been seeked around, so that jumping around in the file will still get the benefit of prefetch, though only the first time any chunk is read.
2006-03-09 00:28:30 -08:00
Robey Pointer
bbcf7687aa
[project @ robey@lag.net-20060309082217-438047d0007d5a5b]
...
reads were being rounded up to an 8k buffer size, even with no buffering specified when the file was opened. i traced this back to the old ChannelFile where it worked correctly. fix to only buffer when asked to.
2006-03-09 00:22:17 -08:00
Robey Pointer
de6315b9c5
[project @ robey@lag.net-20060309080450-bad95b03d60d3d4f]
...
improve HostKeys so that it more correctly emulates a dict, and add a unit test to verify that
2006-03-09 00:04:50 -08:00
Robey Pointer
90a577c775
[project @ robey@lag.net-20060228030121-67362d86a18a352b]
...
heh, this import will always fail unless we have 'os' handy
2006-02-27 19:01:21 -08:00
Robey Pointer
5b7957ce39
[project @ robey@lag.net-20060220072303-cdc3bc647d5732b0]
...
bump version to 1.5.3
2006-02-19 23:23:03 -08:00
Robey Pointer
2103553ff5
[project @ robey@lag.net-20060220040447-d7b79989d3b680ed]
...
remove @since that predate 1.0
2006-02-19 20:04:47 -08:00
Robey Pointer
6459365f50
[project @ robey@lag.net-20060220040343-f13904d9c97035e3]
...
explain why paths aren't, and can't be, unicode strings when passed to SFTPServerInterface
2006-02-19 20:03:43 -08:00
Robey Pointer
4be91d1c4d
[project @ robey@lag.net-20060220031741-3227438ff1b03a29]
...
add SFTPClient.truncate. add chmod, chown, utime, and truncate to SFTPFile. and of course tests.
2006-02-19 19:17:41 -08:00
Robey Pointer
8446c0bda1
[project @ robey@lag.net-20060220005934-58d0df2920e799b5]
...
update copyright year
2006-02-19 16:59:34 -08:00
Robey Pointer
409c4fc482
[project @ robey@lag.net-20060220003513-aa54e3e771a530fd]
...
add HostKeys, a helper for reading/parsing openssh known_hosts files, including hashed-host support
2006-02-19 16:35:13 -08:00
Robey Pointer
08c9efc86a
[project @ robey@lag.net-20060213181724-ba80fa329c5be7f4]
...
not all sftp servers obey the 'all filenames are utf8' requirement, so if both ascii and utf8 codecs fail, just return the filename as a byte string
2006-02-13 10:17:24 -08:00
Robey Pointer
97496845bb
[project @ robey@master-shake.local-20060210175613-e7a1fccdcc4e689c]
...
this del is also useless
2006-02-10 09:56:13 -08:00
Robey Pointer
12efdd7ca1
[project @ robey@master-shake.local-20060209073516-77f30d55aee054ea]
...
packetizer doesn't need a __del__, and the keepalive should use a weakref
2006-02-08 23:35:16 -08:00
Robey Pointer
07dfbd5808
[project @ robey@master-shake.local-20060209030347-a7238bae41dad9d7]
...
doing a close() on Transport.__del__ is useless: because a Transport can't go away until all its Channels are collected, it will never make a difference. so don't do it, cuz __del__ is pretty hairy.
2006-02-08 19:03:47 -08:00
Robey Pointer
27ccd56af7
[project @ robey@master-shake.local-20060209030112-ab9669fa6d1d3d26]
...
avoid really obvious/brainfart reference loop. found by andrew bennetts
2006-02-08 19:01:12 -08:00
Robey Pointer
619192814d
[project @ robey@master-shake.local-20060206064228-23198d2e82bd7248]
...
add getpeername() call to make asyncore work better
2006-02-05 22:42:28 -08:00
Robey Pointer
2853a7ae05
[project @ robey@master-shake.local-20060203180829-27d4707bf572ac5b]
...
Transport doesn't need HMAC
2006-02-03 10:08:29 -08:00
Robey Pointer
0627f09494
[project @ robey@dhcp-192-168-1-88.danger.com-20060202005930-3248b8be189d5d23]
...
reorder the event check so that a positive event is noticed before a closed channel
2006-02-01 16:59:30 -08:00
Robey Pointer
2262f7f188
[project @ robey@master-shake.local-20060201193536-86f3fd393e7ef8f9]
...
don't clear the select pipe when the recv buffer is cleared out, if we're at EOF (found by thomas steinacher)
2006-02-01 11:35:36 -08:00
Robey Pointer
c091dff994
[project @ robey@master-shake.local-20060131005629-3f1bfead54bd5283]
...
add more logging to sftp client
2006-01-30 16:56:29 -08:00
Robey Pointer
eeb76522ea
[project @ robey@master-shake.local-20060130182053-0d5b7aba9dc9d9b3]
...
tone down the packet logging
2006-01-30 10:20:53 -08:00
Robey Pointer
3596251856
[project @ robey@master-shake.local-20060130182024-4f0c84964b65cb72]
...
describe auth types better in logs
2006-01-30 10:20:24 -08:00
Robey Pointer
cf0c5c7720
[project @ robey@master-shake.local-20060127035453-c91a77a5aa6d2136]
...
a few more pychecker warning fixups
2006-01-26 19:54:53 -08:00
Robey Pointer
1a469d97fd
[project @ robey@master-shake.local-20060127035342-a7bb21c598c8136d]
...
(possibly misguided) attempt to reduce paramiko's exports
2006-01-26 19:53:42 -08:00
Robey Pointer
7058195e38
[project @ robey@master-shake.local-20060126205008-cbf83d6697711e37]
...
when setting a new log channel, pass that info on to the packetizer
2006-01-26 12:50:08 -08:00
Robey Pointer
d44035e716
[project @ robey@master-shake.local-20060126204925-3cc14de36a8c5c1f]
...
winscp doesn't like it if the server sends version info before the client does
2006-01-26 12:49:25 -08:00
Robey Pointer
f5421e7600
[project @ robey@master-shake.local-20060120182350-92e8f21d029f8634]
...
catch a case where the sftp server might give an invalid error code
2006-01-20 10:23:50 -08:00
Robey Pointer
fa90f1247a
[project @ robey@master-shake.local-20060120182320-d569b04adc2bd622]
...
some performance improvements: be a LOT less aggressive about stirring the randpool; use buffering when reading the banner; add a hook for using a native-compiled hmac (which gives the biggest boost, but should probably be done in pycrypto)
2006-01-20 10:23:20 -08:00
Robey Pointer
f02a4bcded
[project @ robey@master-shake.local-20060119232616-edcb93583d3dc005]
...
john points out i could just use None for no-value and it would be a lot simpler... good point
2006-01-19 15:26:16 -08:00
Robey Pointer
1731d51b51
[project @ robey@master-shake.local-20060119072156-31241967db33d1d9]
...
john a meinel caught a typo in the previous sort() patch
2006-01-18 23:21:56 -08:00
Robey Pointer
6a145dea09
[project @ robey@master-shake.local-20060119065503-341b1f0c0d161e22]
...
add Transport.atfork to handle the case where a forked child needs to cleanly dispose of a Transport where the socket is shared with its parent
2006-01-18 22:55:03 -08:00
Robey Pointer
be7d99886c
[project @ robey@master-shake.local-20060115063338-50ebabff6276f500]
...
patch from jan hudec to fix a python 2.4-ism
2006-01-14 22:33:38 -08:00
Robey Pointer
cb3008b402
[project @ robey@master-shake.local-20060115063008-4f68552398868788]
...
fix a bunch of pychecker warnings, some of which were actual (but unlikely) bugs
2006-01-14 22:30:08 -08:00
Robey Pointer
26397bff47
[project @ robey@lag.net-20051216180002-5661c935adb8262e]
...
ENOTDIR should be translated into NO_SUCH_FILE -- openssh does it, and there really isn't any better mapping for it
2005-12-16 10:00:02 -08:00
Robey Pointer
995343439a
[project @ robey@lag.net-20051204092822-69155fa5abbc4637]
...
bump version to 1.5.2
2005-12-04 01:28:22 -08:00
Robey Pointer
a8abbbecb8
[project @ robey@lag.net-20051204090414-7c8318ab735f6188]
...
experimental util functions for parsing/getting openssh host config, and unit tests (turned out to be pretty easy)
2005-12-04 01:04:14 -08:00
Robey Pointer
373e65dd97
[project @ robey@lag.net-20051204090235-431d6d71cee11f68]
...
don't call _send_user_message() while holding the channel lock. the call may
block waiting for CTS (during rekey), and the feeder thread may be waiting on
the channel lock to clear out channel traffic before it gets to the kex-init.
instead, the 2 methods that wanted to send from inside the lock now just return
messages to send. slightly hacky but functional. :)
2005-12-04 01:02:35 -08:00
Robey Pointer
fdf927cffd
[project @ robey@ralph.lag.net-20051204043251-efc5e0b9adee5403]
...
remember once a transport is authenticated, so that after rekeying when using openssh-style delayed zlib (zlib@openssh.com ), we know it's okay to immediately start new compression
2005-12-03 20:32:51 -08:00
Robey Pointer
8aa2131e28
[project @ robey@ralph.lag.net-20051204042920-132f9184b775ffb1]
...
fix typo in doc
2005-12-03 20:29:20 -08:00
Robey Pointer
2de86653c7
[project @ robey@ralph.lag.net-20051204042853-ba804918019cbdba]
...
windows users who switch between cygwin and native mode may sometimes have an SSH_AUTH_SOCK environ var set from cygwin, even when in native mode there's no such thing as an AF_LOCAL socket -- check for native windows mode and avoid trying unix ssh agents in that case
2005-12-03 20:28:53 -08:00
Robey Pointer
a8778ffe6f
[project @ robey@ralph.lag.net-20051203043206-1a5ab28112642246]
...
when closing an sftp file because of __del__, don't wait for a response, just shoot off a request and leave (on linux, the GC is run from a devoted thread)
2005-12-02 20:32:06 -08:00
Robey Pointer
62a83e7d03
[project @ robey@ralph.lag.net-20051203043112-0091aa8e40980487]
...
serialize outgoing requests (duh) -- when prefetching multiple files, there may be several threads pumping out read requests
2005-12-02 20:31:12 -08:00
Robey Pointer
2d06308fd9
[project @ robey@ralph.lag.net-20051203042147-7e7a922aadc37bc2]
...
only create the log filter once, so it doesn't get applied more than once (tiny thing that bothered me during debugging)
2005-12-02 20:21:47 -08:00
Robey Pointer
35b5719dc2
[project @ robey@lag.net-20051203003250-030b7c160f13aca9]
...
oops, forgot to add this file -- guess friday really is hawaiian shirt day :)
2005-12-02 16:32:50 -08:00
Robey Pointer
568ddd963d
[project @ robey@lag.net-20051202211544-900e02e2693d4a92]
...
add tentative compression support (off by default)
2005-12-02 13:15:44 -08:00
Robey Pointer
e7a45fee60
[project @ robey@lag.net-20051202204242-1fb4a6438ba50969]
...
nail down select() on EOF: occasionally a channel would be closed remotely but select() wouldn't trigger. when a channel gets EOF or is closed, set the pipe FOREVER.
2005-12-02 12:42:42 -08:00
Robey Pointer
76eafefcea
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-82]
...
convert_status is already called. calling it again was breaking van dyke sftp servers, which add garbage to the end of their sftp packets
2005-11-25 19:09:59 +00:00
Robey Pointer
ba6165a4aa
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-81]
...
copy from jaramiko: only check for rekey at the beginning of a packet
2005-11-12 01:38:27 +00:00
Robey Pointer
6de6dc72c6
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-80]
...
add 'x' flag to open to allow O_EXCL behavior
2005-11-12 01:10:41 +00:00
Robey Pointer
7e95e2afc8
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-79]
...
in Transport.__del__, don't try to clean up attributes that were never created
2005-11-11 17:43:01 +00:00
Robey Pointer
42867ded42
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-78]
...
oops, this file wasn't saved yet when i did the randpool.stir() commit
2005-10-31 19:09:46 +00:00
Robey Pointer
b9106e4f21
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-77]
...
bump up version to 1.5.1
2005-10-31 03:28:54 +00:00
Robey Pointer
b1d58c5ceb
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-76]
...
add a few more randpool.stir() calls
2005-10-31 03:27:13 +00:00
Robey Pointer
25d55e6089
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-75]
...
fix a few windows bugs (and broken str() on SFTPAttributes) reported by grzegorz makarewicz
2005-10-31 03:26:10 +00:00
Robey Pointer
e57c4baab5
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-74]
...
raise the max packet size so that the max sftp packet will fit
2005-10-30 21:13:36 +00:00
Robey Pointer
a355cf43d9
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-73]
...
packet read sizes were overestimated by 1 byte
2005-10-29 20:57:43 +00:00
Robey Pointer
66919286b6
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-72]
...
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
2005-10-29 20:47:04 +00:00
Robey Pointer
3c67e35b5f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-71]
...
the window-adjust can be sent outside of the lock, as long as the window size tracking is done within the lock (ie: allocate window space within the lock, then send the ack later) -- helps avoid deadlocks
2005-10-29 20:41:14 +00:00
Robey Pointer
f65edffbfb
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-70]
...
add SFTPFile.prefetch() to allow pre-fetching a file that will be downloaded in full -- quick testing showed this could speed up downloads 3x or more
2005-10-24 06:19:56 +00:00
Robey Pointer
c986f92dc5
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-69]
...
i think seek_cur had a bug here
2005-10-22 06:38:43 +00:00
Robey Pointer
d42d6af12b
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-68]
...
set errno for some errors
2005-10-22 06:35:57 +00:00
Robey Pointer
95bf2b0957
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-67]
...
oops, dont forget to export SFTPFile for docs :)
2005-10-20 04:42:10 +00:00
Robey Pointer
64d89583c7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-66]
...
fix a test that failed once: the encoding of R or S in dss signatures might not always be exactly 20 bytes
2005-10-17 16:36:55 +00:00
Robey Pointer
6eab0b3b4d
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-65]
...
remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
2005-10-13 18:52:59 +00:00
Robey Pointer
8bb5e65499
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-64]
...
track channels seen and throw away (without error) messages bound for nonexistent channels that *used* to exist -- fixes a bug found by gordon good
2005-10-13 18:51:18 +00:00
Robey Pointer
7f9677d5ab
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-63]
...
fix doc typo
2005-10-02 20:12:48 +00:00
Robey Pointer
65883e673b
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-62]
...
readme comments, bump version to 1.5 paras
2005-10-02 20:08:39 +00:00
Robey Pointer
f2ec841a15
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-61]
...
add server-side support for keyboard-interactive auth, and a couple of unit tests
2005-09-27 04:03:27 +00:00
Robey Pointer
fb73c0ef7f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-60]
...
add file pipelining for writes
2005-09-25 09:11:23 +00:00
Robey Pointer
364479610e
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-59]
...
add auth_none and auth_interactive to support 'no auth' and 'keyboard-interactive auth'; for password auth, add a mode where it will try to fallback to keyboard-interactive in a pinch
2005-09-21 22:42:11 +00:00
Robey Pointer
24045332c5
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-58]
...
make the str form of BadAuthenticationType describe the allowed auth types
2005-09-21 22:37:23 +00:00
Robey Pointer
112b72511e
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-56]
...
patch from nathaniel smith: fix SFTPClient.open() 'a' flag, and guard against multiple close() of the same file
2005-09-18 07:25:54 +00:00
Robey Pointer
0f3bf86617
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-54]
...
smooth BaseTransport and Transport together, and move the auth stuff into AuthHandler -- an improvement i made in jaramiko and decided deserved to be backported
2005-08-09 07:40:07 +00:00
Robey Pointer
646db7c787
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-52]
...
rework init so classes all appear in the right package in docs (yaaaay)
2005-08-09 06:30:59 +00:00
Robey Pointer
7cd7841556
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-51]
...
rename 3 globals so they're not exposed in docs
2005-08-09 06:30:22 +00:00
Robey Pointer
a4fc5bb8a7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-50]
...
add docs to Message
2005-08-09 06:29:59 +00:00
Robey Pointer
7b4cd51b76
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-49]
...
dumb tiny tweaks
2005-08-03 06:57:51 +00:00
Robey Pointer
eb60811594
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-48]
...
can use up to 32k buffers here
2005-08-03 06:57:30 +00:00
Robey Pointer
5a5cd201b7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-47]
...
bump version number to 1.4 oddish
2005-07-18 06:40:30 +00:00
Robey Pointer
d8ee5e2a4a
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-46]
...
add SFTPFile.check and server support (and test) -- it's an sftp extension that allows a client to retrieve the hash of part or all of a file without downloading it. we're probably the only ones who implement it yet
2005-07-18 05:43:44 +00:00
Robey Pointer
e9ccd7ea20
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-45]
...
yeah! figured out the last things that were causing GC cycles and got rid of them: Channels, Transports, SFTPClients, and SFTPFiles can all have __del__ methods now, which auto-close themselves :)
2005-07-17 20:06:29 +00:00
Robey Pointer
f27e625926
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-44]
...
try to handle utf8 paths in a sane way in SFTPClient: assume incoming strings are already utf8, and encode incoming unicodes -- for return values, use str if an ascii encoding will work, otherwise return a unicode
2005-07-17 07:01:51 +00:00
Robey Pointer
a22719c338
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-43]
...
allow start_client and start_server to be passed no event object for synchronous behavior
2005-07-16 16:41:39 +00:00
Robey Pointer
458a0de23f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-42]
...
don't forget to export Agent
2005-07-16 16:35:25 +00:00
Robey Pointer
37f3775389
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-41]
...
pull in tiny changes from ralph
Patches applied:
* robey@lag.net--2005/paramiko--dev--1--patch-2
merge laptop work
* robey@lag.net--2005/paramiko--dev--1--patch-3
update from laptop
* robey@lag.net--2005/paramiko--dev--1--patch-4
integrate tons more laptop work
* robey@lag.net--2005/paramiko--dev--1--patch-5
thew has a good point: this is stable software now, not alpha
* robey@lag.net--2005/paramiko--dev--1--patch-6
roll up laptop changes
2005-07-14 02:51:31 +00:00
Robey Pointer
a321fa026d
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-40]
...
anal tweak of docs
2005-07-14 02:46:35 +00:00
Robey Pointer
4c22409524
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-38]
...
fix util docs a bit
2005-07-14 02:36:30 +00:00
Robey Pointer
b5f0b3c786
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-37]
...
remove debug print
2005-07-14 02:36:15 +00:00
Robey Pointer
1a6ba349da
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-36]
...
move load_host_keys into util where others can use it
2005-07-14 02:19:13 +00:00
Robey Pointer
e12e16858e
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-35]
...
oooooops, didn't mean to leave posix commented out
2005-07-14 02:18:45 +00:00
Robey Pointer
f565576321
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-34]
...
fix a comment claiming that channels are closed automatically when GC'd (they aren't and can't be); don't close the pipe until the app explicitly calls close(); signal EOF via the pipe
2005-07-14 02:17:38 +00:00
Robey Pointer
93f3cae64f
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-33]
...
add SFTPClient.put and SFTPClient.get, and make sftp file objects auto-close on del
2005-07-13 08:35:15 +00:00
Robey Pointer
1f88224239
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-32]
...
add the concept of a cwd to SFTPClient, and add a unit test for it
2005-07-13 07:59:35 +00:00
Robey Pointer
e6e4c4bff7
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-31]
...
fix whitespace on a line that bugged me
2005-07-13 07:57:12 +00:00
Robey Pointer
b3ec01f57e
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-30]
...
fix stupid line that broke dss's unit test... that'll teach me to fuss over pychecker warnings
2005-07-13 07:56:44 +00:00