diff options
author | Robey Pointer <robey@lag.net> | 2004-05-29 18:56:10 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-05-29 18:56:10 +0000 |
commit | af8cfeced90cd1b9630b262b18d0b8773dade491 (patch) | |
tree | 2d69827f8129fcfb2264eb477857479297b6e5d1 /forward.py | |
parent | 6ea60572afe6bb2fc30b197946ea653451fc240e (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-54]
add direct-tcpip ability to open_channel
open_channel can now be given a dest_addr and src_addr, which are filled in
if the channel type is "forwarded-tcpip" or "direct-tcpip". these channel
types are used in remote & local port forwarding, respectively. i've only
tested "direct-tcpip" but i think if one works, they both should work.
also fixed a bug in connect where it was still assuming the old meaning for
get_remove_server_key() (oops!) and changed the sense of a send() failure
from <= 0 to < 0 since it may be possible for send() to return 0 and it not
be an EOF error.
Diffstat (limited to 'forward.py')
0 files changed, 0 insertions, 0 deletions