Displaying 4 results from an estimated 4 matches for "wfd_isatty".
2008 Aug 04
1
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
Since we upgraded OpenSSH from 5.0p1 to 5.1p1 on our Solaris 8 boxes
(I know, I know, we should upgrade or retire them...), we've started
experiencing problems with slogin'ing into these boxes, running vi,
and pasting text into the vi session.
As long as we are pasting in less that 1024 characters it's fine.
With >= 1024 characters, the session hangs.
If you run
2013 Jul 31
3
[Bug 2135] New: Solaris: race condition in channel forwarding when connect() returns EINPROGRESS
...ken a little bit longer and its outcome
had been known
when OpenSSH was already performing select(), it would behave
correctly.
However in this case, this particular timing is important.
=========================
I realized that isatty() call has been put there into Portable OpenSSH
to initialize wfd_isatty attribute
of Channel structure. However this attribute is currently used only for
AIX. So I would
say it is safe to declare and initialize it for AIX only as well.
With the attached patch, the problem is fixed.
The patch is against OpenSSH 6.0p1 but newer releases are affected as
well.
--
You ar...
2009 Jul 09
0
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
...0 1.273
> +++ channels.c 5 Aug 2008 01:08:22 -0000
> @@ -1578,11 +1578,10 @@ channel_handle_wfd(Channel *c, fd_set *r
> }
> return 1;
> }
> -#ifdef _AIX
> +
> /* XXX: Later AIX versions can't push as much data to tty */
> if (compat20 && c->wfd_isatty)
> - dlen = MIN(dlen, 8*1024);
> -#endif
> + dlen = MIN(dlen, 1024);
>
> len = write(c->wfd, buf, dlen);
> if (len < 0 &&
>
OK -- I can try this too. But it isn't necessary with the 5.0p1 sshd,
so I'm thinking that something changed w.r.t. O...
2010 Jan 14
1
ssh(1) multiplexing rewrite
...@@ -92,7 +97,7 @@ struct Channel {
int wfd; /* write fd */
int efd; /* extended fd */
int sock; /* sock fd */
- int ctl_fd; /* control fd (client sharing) */
+ int ctl_chan; /* control channel (multiplexed connections) */
int isatty; /* rfd is a tty */
int wfd_isatty; /* wfd is a tty */
int client_tty; /* (client) TTY has been requested */
@@ -142,6 +147,10 @@ struct Channel {
/* non-blocking connect */
struct channel_connect connect_ctx;
+
+ /* multiplexing protocol hook, called for each packet received */
+ mux_callback_fn *mux_rcb;
+ void *mux_ctx...