search for: packet_read_poll2

Displaying 4 results from an estimated 4 matches for "packet_read_poll2".

2003 Jan 10
1
Cipher Text per Packet
...ncrements. Having a bit of trouble getting the cipher text per packet. I believe I am getting the correct sent cipher text (from inside packet_send2 - compared it to a packet capture to be sure) but not certain about getting the recieving stream of cipher text. I have, of coarse, determined that packet_read_poll2 is where I need to look. The problem lies in that packets seem to be continiously coming in and being constructed (of coarse) and from what I can tell they are actively being decrypted? Am I missing something or is it with the current architecture one is unable to get at an entire packets worth o...
2008 Oct 30
1
Can not debug sshd in gdb
I can not debug sshd in gdb. If i set a breakpoint in main function gdb can step, but I want to set break point on function packet_read_poll2 in file packet.c and the program do not stop on it. before installing I ran configure with --disable-strip option, this add -g to CFLAGS. I also remove optimization flag. I run sshd with options -ddd -e. I use OpenSSH portable v5.1. Please tell me what I do wrong.
2002 Mar 26
0
openssh3.1p1 -- 'ssh' connection gets terminated
...roblem before? If so, can anyone help me out on this? Tried adding -DPACKET_DEBUG flag to compile line to check the packets. And this was what i found: Looks like the function 'client_loop' receives a message type of 'SSH2_MSG_CHANNEL_EOF' (packet type 96) from the function 'packet_read_poll2' before receiving the 'motd' message and hence subsequently the client terminates. (Wonder why server should be sending 'eof' here.) Any help would be useful here. Thanks, Raji.
2001 Aug 20
1
Idletimeout patch, third attempt
...eof(fd_mask)); + FD_SET(connection_in, setp); + + /* Wait for some data to arrive. */ + } while (packet_select(connection_in + 1, + setp, NULL, NULL, 0) == -1); /* Read data from the socket. */ len = read(connection_in, buf, sizeof(buf)); @@ -974,6 +1057,7 @@ packet_read_poll2(payload_len_ptr): packet_read_poll1(payload_len_ptr); + idletimeout_check(type); if(compat20) { int reason; if (type != 0) @@ -1217,12 +1301,12 @@ sizeof(fd_mask)); packet_write_poll(); while (packet_have_data_to_write()) { - memset(setp, 0, howmany(connection_out +...