Package: redir
Version: 2.2.1-2
Severity: wishlist

I tried to use redir as an SSH ProxyCommand directly, e.g.:
  Host qemu-*
    ProxyCommand redir --inetd --caddr=localhost --cport=%p

It fails like this:

[pid  3193] read(4, "SSH-2.0-OpenSSH_4.3p2 Debian-5\n", 4096) = 31
[pid  3193] write(0, "SSH-2.0-OpenSSH_4.3p2 Debian-5\n", 31) = -1 EBADF (Bad
file descriptor)
[pid  3193] shutdown(0, 0 /* receive */) = -1 ENOTSOCK (Socket operation on
non-socket)

The shutdown failure's not a problem, but its tendency to write to stdin
instead of stdout is a problem; I presume that this works if the same socket
is connected on stdin and stdout using dup, since sockets are bidirectional.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages redir depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libwrap0                     7.6.dbs-11  Wietse Venema's TCP wrappers libra

redir recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to