summaryrefslogtreecommitdiffhomepage
path: root/auth_transport.py
AgeCommit message (Collapse)Author
2003-12-27[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-14]Robey Pointer
move the paramiko files into a paramiko/ folder. just moving the files into a folder. it won't build this way yet.
2003-11-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-9]Robey Pointer
rename secsh -> paramiko also, rename SecshException back to SSHException. sigh. :)
2003-11-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-7]Robey Pointer
cleaned up server code, renamed some files & classes renamed demo-server.py and demo-host-key to demo_server.py and demo_host_key, just to be consistent. renamed SSHException -> SecshException. generalized the mechanism where Channel decides whether to allow different channel requests: 4 of the main ones (pty, window-change, shell, and subsystem) go through easily override-able methods now. you could probably make an actual ssh shell server. gave ChannelFile a repr(). turned off ultra debugging in the demos. demo_server creates a subclass of Channel to allow pty/shell and sets an event when the shell request is made, so that it knows when it can start sending the fake bbs. renamed to charmander and updated some of the distutils files.
2003-11-09[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-5]Robey Pointer
big chunk of work which makes server code 95% done fixed auth check methods to return just a result (failed, succeeded, partially succeeded) and always use get_allowed_auths to determine the list of allowed auth methods to return. channel's internal API changed a bit to allow for client-side vs. server-side channels. we now honor the "want-reply" bit from channel requests. in server mode (for now), we automatically allow pty-req and shell requests without doing anything. ChannelFile was fixed up a bit to support universal newlines. readline got rewritten: the old way used the "greedy" read call from ChannelFile, which won't work if the socket doesn't have that much data buffered and ready. now it uses recv directly, and tracks the different newlines. demo-server.py now answers to a single shell request (like a CLI ssh tool will make) and does a very simple demo pretending to be a BBS. transport: fixed a bug with parsing the remote side's banner. channel requests are passed to another method in server mode, to determine if we should allow it. new allowed channels are added to an accept queue, and a new method 'accept' (with timeout) will block until the next incoming channel is ready.
2003-11-04[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--base-0]Robey Pointer
initial import (automatically generated log message)