search for: tty_fd

Displaying 8 results from an estimated 8 matches for "tty_fd".

Did you mean: pty_fd
2002 Dec 10
1
Problems with the tty's in openssh + AIX
...ue. CAn anyone at least verify what evil thing this program does? telnet/rlogin/ssh-on-linux pass the sshd-test-program below. I used openssh3.5p1 with no patches. thanks,tobias. #include <stdio.h> #include <fcntl.h> #include <unistd.h> int main(int argc, char* argv[]) { int tty_fd; int old_tty_fd; char str[100]; if ( argc != 2) { fprintf (stderr,"usage: sshd-test `tty`\n"); return 1; } fprintf (stderr,"tty is: %s\n",argv[1]); old_tty_fd = open(argv[1],O_RDWR); tty_fd = dup(old_tty_fd); /* 1 will be /dev/tty */ fprin...
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...gt;domid) { > *pp = d->next; >- if (d->buffer.data) { >+ if (d->buffer.data) > free(d->buffer.data); >- } >+ if (d->page) >+ munmap(d->page, getpagesize()); >+ if (d->evtchn_fd != -1) >+ close(d->evtchn_fd); >+ if (d->tty_fd != -1) >+ close(d->tty_fd); > free(d); > break; > } >@@ -211,28 +335,28 @@ > > static void remove_dead_domains(struct domain *dom) > { >- if (dom == NULL) return; >- remove_dead_domains(dom->next); >- >- if (dom->is_dead) { >- remove_doma...
2001 Mar 05
0
AIX 4.3.3 + sshd = bug
...rs in the sshd program; when a program on the server writes a zero-length string to the terminal, the sshd daemon abruptly closes the connection, logging no information. The following code causes the problem to exhibit itself: #include <stdio.h> #include <fcntl.h> main() { int tty_fd; int old_tty_fd; int old_stdout_fd; char str[100]; old_tty_fd = open("/dev/tty",O_RDWR); tty_fd = dup(old_tty_fd); /* 1 will be /dev/tty */ close(old_tty_fd); strcpy(str,"this is the last thing you will see if sshd is broken.\n");...
2007 Feb 09
0
[PATCH] xenconsoled: ignore spurious watch event
...ct dom } dom->local_port = -1; + dom->remote_port = -1; if (dom->xce_handle != -1) xc_evtchn_close(dom->xce_handle); @@ -270,6 +275,7 @@ static int domain_create_ring(struct dom goto out; } dom->local_port = rc; + dom->remote_port = remote_port; if (dom->tty_fd == -1) { dom->tty_fd = domain_create_tty(dom); @@ -279,6 +285,7 @@ static int domain_create_ring(struct dom xc_evtchn_close(dom->xce_handle); dom->xce_handle = -1; dom->local_port = -1; + dom->remote_port = -1; goto out; } } @@ -336,6 +343,7 @@ static struct...
2007 Feb 20
0
[PATCH] Xenconsoled should ignore spurious watch event. Otherwise, it can rebind to the same evtchn of a dying domU during suspending and cause below error message:
...ct dom } dom->local_port = -1; + dom->remote_port = -1; if (dom->xce_handle != -1) xc_evtchn_close(dom->xce_handle); @@ -326,6 +331,7 @@ static int domain_create_ring(struct dom goto out; } dom->local_port = rc; + dom->remote_port = remote_port; if (dom->tty_fd == -1) { dom->tty_fd = domain_create_tty(dom); @@ -335,6 +341,7 @@ static int domain_create_ring(struct dom xc_evtchn_close(dom->xce_handle); dom->xce_handle = -1; dom->local_port = -1; + dom->remote_port = -1; goto out; } } @@ -392,6 +399,7 @@ static struct...
2002 Feb 22
5
[Bug 124] Terminal hangs when data is streaming to it...
http://bugzilla.mindrot.org/show_bug.cgi?id=124 ------- Additional Comments From markus at openbsd.org 2002-02-23 06:10 ------- what does "streaming" mean? what does "output reports" mean? do you have more detailed reports? do you have debugging output? what clients are involved? what servers? does the same happen with openssh 3.0.2? does the same happen with a recent
2007 Apr 18
7
[Bridge] (no subject)
Dear Sir, I was trying to install bridge as we are installing scps gateway in our testbed.This requires us to install the bridge. Our Linux version is 2.4.18 ~3 and we are using redhat 7.2 Please let me know which is the bridge I should install and how to configure it. Before configuring the bridge what I should check in my configuration. Thanks for your time, Sincerely Rama ===== I hear
2004 Apr 14
1
PPTP Server running behind Shorewall
...118]: CTRL: 0 min_bps, 1525 max_bps, 32 window size Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Made a OUT CALL RPLY packet Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Starting call (launching pppd, opening GRE) Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: pty_fd = 5 Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: tty_fd = 6 Apr 13 19:28:32 FWONP pptpd[3119]: CTRL (PPPD Launcher): Connection speed = 115200 Apr 13 19:28:32 FWONP pptpd[3119]: CTRL (PPPD Launcher): local address = 10.200.10.2 Apr 13 19:28:32 FWONP pptpd[3119]: CTRL (PPPD Launcher): remote address = 10.200.10.101 Apr 13 19:28:32 FWONP pptpd[3118]: C...