Commit Graph

1404 Commits

Author SHA1 Message Date
Robey Pointer 284614a857 [project @ robey@lag.net-20060309081619-4ec529d524744e14]
fix up the manifest
2006-03-09 00:16:19 -08:00
Robey Pointer 89e39a4559 [project @ robey@lag.net-20060309081455-84be2ae54f98e897]
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
2006-03-09 00:14:55 -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 860edff9f4 [project @ robey@lag.net-20060228030048-ca579e8c53c9c4b7]
this demo doesn't need to import interactive
2006-02-27 19:00:48 -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 e4dd1bf935 [project @ robey@master-shake.local-20060127181925-3e7e5133b20d2f5b]
add a demo for sftp
2006-01-27 10:19:25 -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 b955ee02cc [project @ robey@master-shake.local-20060127031302-7bb0582ea98a60bd]
move another demo script in, and do a bit more cleanup
2006-01-26 19:13:02 -08:00
Robey Pointer 77eada9fb4 [project @ robey@master-shake.local-20060127031139-0ca8125e66edccc5]
i'm a dork, actually these are needed to login to the demo server
2006-01-26 19:11:39 -08:00
Robey Pointer c8738fe17c [project @ robey@master-shake.local-20060127030513-a5bafc0a07b1afdc]
no longer need these
2006-01-26 19:05:13 -08:00
Robey Pointer e9e695aa4e [project @ robey@master-shake.local-20060127030342-c9c50eae5c4ebe17]
add 'clean' rule
2006-01-26 19:03:42 -08:00
Robey Pointer 0efdc8af5f [project @ robey@master-shake.local-20060127030114-b6810c4c29964a4e]
code from mike looijmans for a windows interactive shell -- while i'm mucking around in here, clean up the demos a bit too
2006-01-26 19:01:14 -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 a14384370c [project @ robey@lag.net-20051216175905-c3477e2ec74db4d9]
add setuptools/easy_setup support
2005-12-16 09:59:05 -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 72e28736e2 [project @ robey@ralph.lag.net-20051204045002-f1d13a4bc1351090]
remove pre-1.0 news, bzr will preserve it for future archivists ;)
2005-12-03 20:50:02 -08:00
Robey Pointer 65beaef76f [project @ robey@ralph.lag.net-20051204044921-ae847bf450372ff5]
add comments to demo and demo_simple explaining that they don't work on windows
2005-12-03 20:49:21 -08:00
Robey Pointer 93ee12a194 [project @ robey@ralph.lag.net-20051204043258-3d82f58e781edf13]
add unit test for compression
2005-12-03 20:32:58 -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