search for: channel_handl

Displaying 10 results from an estimated 10 matches for "channel_handl".

Did you mean: channel_handler
2007 Jul 26
1
Channel Handling Patch
...symbol name 15360 15360 11.4140 11.4140 client_loop 13277 28637 9.8661 21.2801 packet_send2_wrapped 11017 39654 8.1867 29.4668 channel_output_poll 8070 47724 5.9968 35.4635 buffer_append_space 7914 55638 5.8809 41.3444 channel_handler 5970 61608 4.4363 45.7807 arc4random 5346 66954 3.9726 49.7533 channel_pre_open 5159 72113 3.8336 53.5869 packet_read_poll_seqnr 4253 76366 3.1604 56.7473 channel_post_open 3864 80230 2.8713 59.6186 cipher_crypt...
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.
2020 Oct 14
2
Connection hang, can't stop SSH
Using OpenSSH_8.3p1 I had an open (working) connection to some other box; after a bit of inactivity, some device in the middle seems to have forgotten about the TCP connection (NAT) and broke it. I've got an EscapeChar defined, though; so first I tried to send a BREAK and, when that didn't help (TCP already gone, packets get lost!), I tried (just out of curiosity) a Rekey. Now I can see
2001 Aug 02
0
patch: properly zeroing fd_set in clientloop
...t **readsetp, fd_set **writesetp, int *maxfdp, int rekeying) { @@ -1178,8 +1186,8 @@ *writesetp = xmalloc(sz); *maxfdp = n; } - memset(*readsetp, 0, sz); - memset(*writesetp, 0, sz); + channel_zero_set(*readsetp, *maxfdp); + channel_zero_set(*writesetp, *maxfdp); if (!rekeying) channel_handler(channel_pre, *readsetp, *writesetp); --- clientloop.c~ Fri Apr 20 08:50:51 2001 +++ clientloop.c Thu Jul 12 08:33:33 2001 @@ -370,8 +370,8 @@ * We have to return, because the mainloop checks for the flags * set by the signal handlers. */ - memset(*readsetp, 0, *maxfdp); - memset(*wr...
2004 Apr 23
1
openssh code
Hi, How do the communication between sshd and program happens when compat20 is enabled? There are two function process_buffered_input_packets and process_input, but in both cases if compat20 is enabled its just buffering the packets, but how do sshd will the command to program for execution? Regards prasad
2009 Jan 06
3
[Bug 1548] New: Double free in OpenSSH clientloop.c/xmalloc.c via cmdline port forwarding
...81 #7 0xb7fb9bcb in process_escapes (c=0xb8235240, bin=0xb8235280, bout=0xb8235290 , berr=0xb82352a0, buf=0xbf9efda8 "C", len=1) at ../clientloop.c:882 #8 0xb7fba94d in client_simple_escape_filter (c=0x651c, buf=0xbf9efda8 "C", len =1) at ../clientloop.c:1281 #9 0xb7fcc965 in channel_handle_rfd (c=0xb8235240, readset=<value optimized out >, writeset=0xb8234df0) at ../channels.c:1522 #10 0xb7fcce65 in channel_post_open (c=0xb8235240, readset=0xb8233828, writeset= 0xb8234df0) at ../channels.c:1729 #11 0xb7fd0e1b in channel_handler (ftab=0xb7ffd680, readset=0xb8233828, writeset =0...
2000 Nov 08
1
internal error: we do not read, but chan_read_failed
...e 'read failed'; 'input open -> drain'; 'input open -> closed'; 'send eof' sequence. *Then* 'session_free' is called (as part of session close), and we end up back in session.c. Next (in serverloop.c) is called 'channel_after_select' which calls channel_handler. This calls (in our case we are using protocol 2) 'channel_post_open_2', which calls 'channel_handle_rfd' which (eventually) calls 'chan_read_failed' because the channel still hasn't been closed. As such in the original openssh we get the final - debug1: channel 0: r...
2006 Mar 16
11
[Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
...008737d5 in raise () from /lib/tls/libc.so.6 #2 0x00875149 in abort () from /lib/tls/libc.so.6 #3 0x0806b6f4 in buffer_append_space (buffer=0x93825c0, len=16384) at buffer.c:115 #4 0x0806b5a9 in buffer_append (buffer=0x93825c0, data=0xbfeccdf0, len=16384) at buffer.c:65 #5 0x0806f1c0 in channel_handle_rfd (c=0x9382580, readset=0x92e1e88, writeset=0x92e07b8) at channels.c:1449 #6 0x0806f9bf in channel_post_open (c=0x9382580, readset=0x92e1e88, writeset=0x92e07b8) at channels.c:1636 #7 0x0806fe30 in channel_handler (ftab=0x809a480, readset=0x92e1e88, writeset=0x92e07b8) at channels....
2001 Oct 10
7
OpenSSH solaris: bad return code after exec of remote command
Hi OpenSSH developers, I am using openSSH (now 2.9.9p2, but prob occurs in 2.9p2 also) to execute commands on a remote machine which outputs data to stdout then pipes it to another invocation of ssh which connects back to the first machine in the same way, where it starts a program to read and store the output from the command on the second machine. I am using the "command" option in
2016 May 26
19
[Bug 2573] New: dead sessions cannot be closed with ~.
https://bugzilla.mindrot.org/show_bug.cgi?id=2573 Bug ID: 2573 Summary: dead sessions cannot be closed with ~. Product: Portable OpenSSH Version: 3.7.1p2 Hardware: Other OS: Linux Status: NEW Severity: normal Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org