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
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
9b5d80869c
[project @ robey@ralph.lag.net-20051203043919-0a8c4665d04853fc]
...
turn down output for unit tests by default, but add --verbose option to manually crank them back up
2005-12-02 20:39:19 -08:00
Robey Pointer
a6b4875286
[project @ robey@ralph.lag.net-20051203043223-8ee54573dcda1386]
...
new unit test for doing a bunch of prefetches at once
2005-12-02 20:32:23 -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
ee8a4e4b2b
[project @ robey@lag.net-20051202120305-73accda404b89d27]
...
dumb test to verify utf8 encoding
2005-12-02 04:03:05 -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