search for: client_wait_until_can_do_someth

Displaying 20 results from an estimated 29 matches for "client_wait_until_can_do_someth".

2002 Dec 30
2
Problem while exiting sftp on SX-6...
...assword packet, wait for reply debug1: ssh-userauth2 successful: method password debug1: fd 4 setting O_NONBLOCK debug2: fd 5 is O_NONBLOCK debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug1: send channel open 0 debug1: Entering interactive session. debug1: mks client_wait_until_can_do_something before select statement debug1: mks client_wait_until_can_do_something after select statement debug1: mks client_wait_until_can_do_something before select statement debug1: mks client_wait_until_can_do_something after select statement debug2: callback start debug1: ssh_session2_setup: id 0 debug...
2002 Mar 12
2
[Bug 160] Race condition in clientloop.c?
http://bugzilla.mindrot.org/show_bug.cgi?id=160 ------- Additional Comments From Nicolas.Williams at ubsw.com 2002-03-13 09:10 ------- Created an attachment (id=40) Debug output, lsof output, etc... ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2023 Feb 01
16
[Bug 3531] New: Ssh will not exit when it receives SIGTERM before calling poll in client_wait_until_can_do_something until some events happen.
https://bugzilla.mindrot.org/show_bug.cgi?id=3531 Bug ID: 3531 Summary: Ssh will not exit when it receives SIGTERM before calling poll in client_wait_until_can_do_something until some events happen. Product: Portable OpenSSH Version: 9.1p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-b...
2006 Apr 22
2
bug & patch in ServerAliveInterval (openssh 4.3-p2)
...have tried to fix this issue. Here is the patch: diff -rNu openssh-4.3p2/clientloop.c openssh-4.3p2-alive-fixed/clientloop.c --- openssh-4.3p2/clientloop.c 2005-12-31 07:22:32.000000000 +0200 +++ openssh-4.3p2-alive-fixed/clientloop.c 2006-04-22 19:32:17.000000000 +0300 @@ -456,7 +456,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, u_int *nallocp, int rekeying) { - struct timeval tv, *tvp; + static struct timeval tv, *tvp; int ret; /* Add any selections by the channel mechanism. */ @@ -508,12 +508,16 @@ if (options.server_a...
2000 Mar 03
7
[PATCH] Add a Maximum Idle Time (1.2.2)
...?" -User Friendly -------------- next part -------------- diff -ur openssh-1.2.2/clientloop.c openssh-1.2.2-trans_inter/clientloop.c --- openssh-1.2.2/clientloop.c Mon Dec 6 20:38:32 1999 +++ openssh-1.2.2-trans_inter/clientloop.c Fri Mar 3 11:21:12 2000 @@ -396,8 +396,10 @@ */ void -client_wait_until_can_do_something(fd_set * readset, fd_set * writeset) +client_wait_until_can_do_something(fd_set * readset, fd_set * writeset, int trans_inter) { + int select_return; + /* Initialize select masks. */ FD_ZERO(readset); @@ -436,15 +438,32 @@ max_fd = channel_max_fd(); /* - * Wait for something to ha...
2001 Dec 12
0
BUG #18
...nel clock have been modified to utilize the high-precision clock. These are: select(S) has microsecond precision, adjusted for kernel entry and exit times, time-sharing delays, and so forth." Could this be the change? I traced the error on 5.0.5 to the select statement in the function client_wait_until_can_do_something in file clientloop.c When I get more time, I will look into this further.
2013 Dec 19
0
Trying to compile for OS/2
...to shardik closed. Transferred: sent 3552, received 1136 bytes, in 0.0 seconds Bytes per second: sent 77217.4, received 24695.6 debug1: Exit status -1 The tcgetattr() error I have not tracked down yet but a Google search suggested that it could be ignored. The select() error is in Clientloop.c/client_wait_until_can_do_something #655 and would appear to be because one of the file descripters, 4, is an OS/2 file handle. I have yet to work out why or where is got allocated. That line of code is executed many times before fd 4 appears when it immediately barfs. I get similar problems with sshd but suspect that whe...
2023 Oct 11
23
[Bug 3628] New: tracking bug for openssh-9.6
https://bugzilla.mindrot.org/show_bug.cgi?id=3628 Bug ID: 3628 Summary: tracking bug for openssh-9.6 Product: Portable OpenSSH Version: -current Hardware: Other OS: Linux Status: NEW Keywords: meta Severity: enhancement Priority: P5 Component: Miscellaneous Assignee:
2001 Oct 11
0
[patch] option to prevent connection timeout
...//// De Bilt dick.streefland at xs4all.nl (@ @) The Netherlands ------------------------------oOO--(_)--OOo------------------ --- openssh-2.9.9p2/clientloop.c.orig Tue Sep 18 07:51:14 2001 +++ openssh-2.9.9p2/clientloop.c Thu Oct 11 22:03:09 2001 @@ -320,6 +320,9 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, int *nallocp, int rekeying) { + struct timeval tv; + int n; + /* Add any selections by the channel mechanism. */ channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying); @@ -364,7 +367,24 @@ * SSH_MSG_IGNORE packet...
2001 Oct 16
1
Defeating Timing Attacks Patch for OpenSSH 2.9.9p2 and 2.9p2
...THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. @@ -315,16 +342,25 @@ * Waits until the client can do something (some data becomes available on * one of the file descriptors). */ - -static void +/* + * SD Mod: We changed the return value of client_wait_until_can_do_something + * from void to int. It now returns 1 if the steno_timer has expired and 0 if not. + */ +int client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, int *nallocp, int rekeying) { + /* SD Mod: added variable steno_timer */ + static struct tim...
2001 Mar 14
1
[PATCH] Added Null packet keepalive option
...= 1; + if (options->noop_msg_frequency == -1) + options->noop_msg_frequency = 0; if (options->compression_level == -1) options->compression_level = 6; if (options->port == -1) --- clientloop.c 2001/03/06 03:34:40 1.36 +++ clientloop.c 2001/03/14 19:11:21 @@ -365,6 +365,10 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp) { + struct timeval tv = {0}; + tv.tv_sec = options.noop_msg_frequency; + /* Send a noop message at this frequency as a keepalive. */ + /* Add any selections by the channel mechanism. */ channel_prepare_select(readsetp, writesetp, max...
2024 Mar 25
7
[Bug 3674] New: Tracking bug for OpenSSH 9.8
...ug.cgi?id=3512 [Bug 3512] net-misc/openssh-9.1_p1: stopped accepting connections after upgrade to sys-libs/glibc-2.36 (fatal: ssh_sandbox_violation: unexpected system call) https://bugzilla.mindrot.org/show_bug.cgi?id=3531 [Bug 3531] Ssh will not exit when it receives SIGTERM before calling poll in client_wait_until_can_do_something until some events happen. -- You are receiving this mail because: You are watching the assignee of the bug.
2024 Jan 09
8
[Bug 3651] New: tracking bug for openssh-9.7
...ug.cgi?id=3512 [Bug 3512] net-misc/openssh-9.1_p1: stopped accepting connections after upgrade to sys-libs/glibc-2.36 (fatal: ssh_sandbox_violation: unexpected system call) https://bugzilla.mindrot.org/show_bug.cgi?id=3531 [Bug 3531] Ssh will not exit when it receives SIGTERM before calling poll in client_wait_until_can_do_something until some events happen. -- You are receiving this mail because: You are watching the assignee of the bug.
2001 Nov 09
4
keystroke timing attack
I'm reading this fine article on O'Reilly: http://linux.oreillynet.com/lpt/a//linux/2001/11/08/ssh_keystroke.html <quote> The paper concludes that the keystroke timing data observable from today's SSH implementations reveals a dangerously significant amount of information about user terminal sessions--enough to locate typed passwords in the session data stream and reduce the
2001 Oct 06
1
Defeating Timing Attacks
Hello, In response to the timing analysis attacks presented by Dawn Song et. al. in her paper http://paris.cs.berkeley.edu/~dawnsong/ssh-timing.html we at Silicon Defense developed a patch for openssh to avoid such measures. Timing Analysis Evasion changes were developed by C. Jason Coit and Roel Jonkman of Silicon Defense. These changes cause SSH to send packets unless request not to,
2002 Mar 11
1
scp completes but ssh subprocess in deadlock with sshd
I've just built openssh 3.1 for my Redhat 5.1 system (running on a 486 DX-66) using the latest zlib and openssl libraries. Connecting to the machine with ssh seems to work fine (although it takes a while to initiate a connection). But when I transfer a file to the machine with scp, it seems to work fine and the scp completes, but an ssh sub-process remains behind on the client and an sshd
2001 May 18
0
PATCH: implement delay (sleep) after last tunnelled connection exits
.... */ -static int session_closed = 0; /* In SSH2: login session closed. */ - +enum SessionStatus {SessionOpen, SessionClose, SessionWait}; +static int session_status = SessionOpen; /* In SSH2: login session closed. */ void client_init_dispatch(void); int session_ident = -1; @@ -324,6 +324,10 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, int rekeying) { + struct timeval timer; + struct timeval *timerp; + int rc; + /* Add any selections by the channel mechanism. */ channel_prepare_select(readsetp, writesetp, maxfdp, rekeying); @@ -346,7 +350,15 @@ if (buffer_len(...
2001 Oct 08
1
Hanging ssh session...
...poll(0xFFBEEFC0, 2, -1) (sleeping...) pstack: 10879: ssh epapdev at mate ls /etc/hosts ff217cfc poll (ffbeefc0, 2, ffffffff) ff1cf6b0 select (ffbeefd0, ff238bc4, 14b480, ff238bc8, 14b484, a) + 298 0004cc44 client_wait_until_can_do_something (ffbef200, ffbef1fc, ffbef1e4, 0, 9, 10000) + 3c4 0004e8a4 client_loop (0, ffffffff, 0, 14afb8, ff235ad4, 85308) + 6d4 00040c94 ssh_session2 (14afb8, 2, ffbef684, 141684, 144da8, 144da8) + 11c 0003f41c main (4, ffbef50c, ffbef520, 131c00, 0,...
2002 Jan 27
0
[PATCH] Add an exit delay to Openssh-3.0.2p1 for use in tunneling
...-static int session_closed = 0; /* In SSH2: login session closed. */ +enum SessionStatus {SessionOpen, SessionClose, SessionWait}; +static int session_status = SessionOpen; /* In SSH2: login session closed. */ static void client_init_dispatch(void); int session_ident = -1; @@ -320,6 +322,10 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, int *nallocp, int rekeying) { + struct timeval timer; + struct timeval *timerp; + int rc; + /* Add any selections by the channel mechanism. */ channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying); @@ -343,7 +349,7...
2001 Sep 26
1
[PATCH] random SSH_MSG_IGNORE packets
...with a Windows NT-centric IT-department... Patch against openssh-2.9p2. /Martin diff -ur openssh-2.9p2/clientloop.c openssh-2.9p2.servalive/clientloop.c --- openssh-2.9p2/clientloop.c Fri Apr 20 14:50:51 2001 +++ openssh-2.9p2.servalive/clientloop.c Wed Sep 26 12:58:38 2001 @@ -324,6 +324,9 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, int rekeying) { + struct timeval tv, *tvp = &tv; + int ret; + /* Add any selections by the channel mechanism. */ channel_prepare_select(readsetp, writesetp, maxfdp, rekeying); @@ -356,13 +359,29 @@ /* * Wait for something...