Displaying 7 results from an estimated 7 matches for "packet_read_poll_seqnr".
2018 Dec 03
3
[PATCH] removing an old API.
...ff --git a/opacket.h b/opacket.h
index c6e5124..d711468 100755
--- a/opacket.h
+++ b/opacket.h
@@ -38,7 +38,6 @@ do { \
void packet_close(void);
u_int packet_get_char(void);
u_int packet_get_int(void);
-void packet_set_connection(int, int);
int packet_read_seqnr(u_int32_t *);
int packet_read_poll_seqnr(u_int32_t *);
void packet_process_incoming(const char *buf, u_int len);
diff --git a/sshd.c b/sshd.c
index 2795a2e..65b96d4 100755
--- a/sshd.c
+++ b/sshd.c
@@ -1906,9 +1906,12 @@ main(int ac, char **av)
* Register our connection. This turns encryption off because we do
* not have a key...
2013 May 07
0
Some potential bugs in Openssh-6.2p1
Hi,
I'm a developer of a static analysis tool canalyze.
Recently I applied it to Openssh-6.2p1.
It seems some reports are real after by manually checking:
1. Use undefined value
file: dispatch.c
function: dispatch_run
At line 93: type = packet_read_poll_seqnr(&seqnr);
seqnr may not be override at
file: packet.c
function: packet_read_poll_seqnr
line 1442
where compat20 is 0.
2. Null Pointer
file: session.c
function: child_set_env
At line 962: if (*envp == NULL && *envsizep == 0)
Is it possible that *envp == NULL while *envsizep != 0?
If it i...
2007 Jul 26
1
Channel Handling Patch
...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
3849 84079 2.8602 62.4788 buffer_len
3541 87620 2.6313 65.1101 channel_prepare_select
3267 90887 2.4277 67.5378 client_wait_until_c...
2006 Jul 15
1
ssh-keyscan exits in mid-way
Hello All,
Im using OpenSSH 4.3p2 and tyring to scan a list of 40 machines in my
network with ssh-keyscan utility. I used the following command,
ssh-keyscan -t rsa -f hosts.txt
The man page says that this utility displays the host keys irrespective of
ssh or host is up/down and its working great. But in case if the scan
stops at 30th host due to some protocol problems, the utility exits and
2008 May 15
0
"ServerAliveInterval" and "ServerAliveCountMax" doesnt work in openssh50?
...CountMax value after ServerAliveInterval seconds to see if keep_alive_timeouts > ServerAliveCountMax, if so , ssh will close the connection and give the "connection timeout" information, else it will increment the keep_alive_timeouts by 1.
After Checking, ssh will jump into the "packet_read_poll_seqnr(u_int32_t *seqnr_p)" function, and there it will reset the keep_alive_timeouts variable to "0" again which actually caused the problem.
Can you check if it is a bug with openssh50's code or not?Thanks very much.
_________________________________________________________________...
2010 Apr 01
0
OpenSSH Coredump and "Bad packet length" errors seen on 5.10 sparc sun4v (Generic_125100-10)
...2f4
ff1ee66c AES_cbc_encrypt (74490, 774a8, 10, 6a358, 61fb8,
61fb8) +2c
ff238abc aes_128_cbc_cipher (1, 774a8, 74490, 10, f0,
ff2d9a18) + 1c
ff23dfb8 EVP_Cipher (61f98, 774a8, 74490, 10, 61800, 62400) +
18
0002f3e4 cipher_crypt (61f94, 774a8, 74490, 10, f0, 7b528) +
34
000338a4 packet_read_poll_seqnr (ffbfe474, 62000, 62000,
620f0,61800, 62400) + 258
00033f94 packet_read_seqnr (0, 6, ffbfe510, 628a8, f0, 3c) +
40
00038bbc dispatch_run (0, ffbfe524, ffbfe510, ffbfe4f0,
624ac, ff) +1c
00025988 ssh_userauth2 (64568, 65250, 72e08, 628a8, 1, 0) +
52c
00021a20 ssh_login (72e08, 4, 454...
2006 Jul 26
0
[Bug 1213] ssh-keyscan exits in mid-way
...ignores the hosts if they are not up or sshd is not running
when used with -f <file> option. But when it encounters any error while
retrieving the host key from the machine which is up and have sshd
running,it simply exits. This may happen due to transport layer
implementation in packet.c at packet_read_poll_seqnr() which results in
exiting.
My guess is that as packet.c is utilised by all OpenSSH utilities
including ssh-keyscan, we can't make ssh-keyscan to continue with
remaining hosts as specified in -f <files> in case of an error. But I
also vote for atleast documenting this one.
Detailed debu...