Displaying 20 results from an estimated 137 matches for "list_hostkey_typ".
Did you mean:
list_hostkey_types
2009 Mar 31
2
Memory leak in do_ssh2_kex()
Hi guys
Apparently, there is small memory leak in the do_ssh2_kex() routine in sshd.c.
Line 2195 in sshd.c states:
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
Where list_hostkey_types() returns a pointer allocated by the xstrdup call (line 735). This pointer should be freed in the calling routine do_ssh2_key().
Should I make a patch for this?
Also, since my previous patch was not according to the your standards, how many lines of context do you no...
2009 Apr 01
3
[Bug 1582] New: memory leak in do_ssh2_kex() routine (sshd.c)
...CC: miguel.sanders at arcelormittal.com
Created an attachment (id=1620)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1620)
Fix for memory leak
There is small memory leak in the do_ssh2_kex() routine in sshd.c.
Line 2195 in sshd.c states:
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
Where list_hostkey_types() returns a pointer allocated by the xstrdup
call (line 735). This pointer should be freed in the calling routine
do_ssh2_kex().
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are wa...
2001 Jul 24
1
OpenSSH 2.9p2+Kerberos5 on RH7.1 fails
...g1: Client protocol version 2.0; client software version
OpenSSH_2.9p2
debug1: match: OpenSSH_2.9p2 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_2.9p2
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: Wait SSH2_MSG_GSSAPI_INIT
debug1: Miscellaneous failure
debug1: Unknown code z 0...
2018 Nov 22
2
Debian Stretch 9.6: openssh-server and old dropbear client don't work togheter
...6
Nov 22 14:34:03 myhostname sshd[3905]: debug3: preauth child monitor started
Nov 22 14:34:03 myhostname sshd[3905]: debug3: privsep user:group
106:65534 [preauth]
Nov 22 14:34:03 myhostname sshd[3905]: debug1: permanently_set_uid:
106/65534 [preauth]
Nov 22 14:34:03 myhostname sshd[3905]: debug1: list_hostkey_types:
ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256 [preauth]
Nov 22 14:34:03 myhostname sshd[3905]: debug3: send packet: type 20 [preauth]
Nov 22 14:34:03 myhostname sshd[3905]: debug1: SSH2_MSG_KEXINIT sent [preauth]
Can you help?
Thanks
2005 Oct 26
2
openssh 4.2p1 zlib compression broken for old clients
...if (options.compression == COMP_DELAYED) {
myproposal[PROPOSAL_COMP_ALGS_CTOS] =
- myproposal[PROPOSAL_COMP_ALGS_STOC] = "none,zlib at openssh.com";
+ myproposal[PROPOSAL_COMP_ALGS_STOC] = "none,zlib at openssh.com,zlib";
}
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
-------------------------------------------------------------------------------
Harald Koenig
PS: yes I know about the security issues using such old ssh clients, but it's
only used in fairly protected small internal customer networks, and the customer
insists not to change anything in...
2002 Jun 25
1
[Bug 293] New: sshd 3.3p1 doesn't work on Slackware
http://bugzilla.mindrot.org/show_bug.cgi?id=293
Summary: sshd 3.3p1 doesn't work on Slackware
Product: Portable OpenSSH
Version: -current
Platform: ix86
URL: http://www.slynet.lu/
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: sshd
AssignedTo:
2008 Sep 15
0
No subject
...e_identificationsock_in=6, sock_out=6
?after packet_set_nonblocking
in buffer_init
?after buffer_init
?before use_privsep=0',use_privsep
before privsep_preauth
in authctxt_new
in buffer_init
?authenticate user and start session
?in do_ssh2_kex
?compat_cipher_proposal
?compat_cipher_proposal
?in list_hostkey_types
in buffer_init
in buffer_len
?in key_ssh_name
?in KEY_RSA
in buffer_append
in buffer_append_space
in buffer_len
in buffer_append
in buffer_append_space
?in key_ssh_name
?in KEY_DSA
in buffer_append
in buffer_append_space
in buffer_append
in buffer_append_space
in buffer_ptr
in buffer_free
list_ho...
2017 Mar 01
7
[Bug 2686] New: SSHD segfaults when trying to load RSA1 host keys
...quot;ecdsa-sha2-nistp256-cert-v01 at openssh.com,ecdsa-sha2-nistp384-cert-v01 at openssh.com,ecdsa-sha2-nistp521-cert-v01 at openssh.com,ssh-ed25519-cert-v01 at openssh.com,ssh-rsa-cert-v01 at openssh.com,ssh-dss-cert-v0"...,
dolower=dolower at entry=0) at match.c:156
#2 0x000055555556447c in list_hostkey_types () at sshd.c:794
#3 do_ssh2_kex () at sshd.c:2327
#4 0x00005555555622c1 in main (ac=<optimized out>, av=<optimized out>)
at sshd.c:2181
Problem is in list_hostkey_types() which is not checking the return
value of sshkey_ssh_name() (for RSA1 returns NULL).
The openssh is build -...
2008 Sep 18
2
SSHD_PROBLEM
...e_identificationsock_in=6, sock_out=6
after packet_set_nonblocking
in buffer_init
after buffer_init
before use_privsep=0',use_privsep
before privsep_preauth
in authctxt_new
in buffer_init
authenticate user and start session
in do_ssh2_kex
compat_cipher_proposal
compat_cipher_proposal
in list_hostkey_types
in buffer_init
in buffer_len
in key_ssh_name
in KEY_RSA
in buffer_append
in buffer_append_space
in buffer_len
in buffer_append
in buffer_append_space
in key_ssh_name
in KEY_DSA
in buffer_append
in buffer_append_space
in buffer_append
in buffer_append_space
in buffer_ptr
in buffer_free
list_ho...
2002 Jul 27
1
openssh problem
...ging mode.
> Connection from 127.0.0.1 port 32948
> debug1: Client protocol version 2.0; client software version
OpenSSH_3.4p1
> debug1: match: OpenSSH_3.4p1 pat OpenSSH*
> Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-1.99-OpenSSH_3.4p1
> debug1: list_hostkey_types: ssh-rsa,ssh-dss
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
> debug1: SSH2_MSG_KEX_DH_GEX_G...
2005 Apr 21
0
openssh 4.0p1 under OSX
...ing: 4, 4
Connection from ::1 port 55838
debug1: Client protocol version 2.0; client software
version OpenSSH_4.0
debug1: match: OpenSSH_4.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_4.0
debug1: permanently_set_uid: 75/75
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: expecting SS...
2002 Apr 24
1
Fwd: need help in ssh client: key exchange
...x
debug1: Client protocol version 2.0; client software
version OpenSSH_2.3.1p1
debug1: match: OpenSSH_2.3.1p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_2.5.2p2
debug1: Rhosts Authentication disabled, originating
port not trusted.
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug1: got kexinit: ssh-rsa,ssh-dss
debug1: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192
-cbc,aes256-cbc,rijndael...
2003 Nov 03
1
Problems with PAM and PermitRootLogin without-password
...lient protocol version 2.0; client software version OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat
OpenSSH_3.2*,OpenSSH_3.3*,OpenSSH_3.4*,OpenSSH_3.5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2
debug1: permanently_set_uid: 74/74
debug1: list_hostkey_types: ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: expecting SSH2_MSG_K...
2002 Jul 01
3
3.4p1: 'buffer_append_space: alloc 10506240 not supported'
...t fork when running in debugging mode.
Connection from 10.10.0.172 port 35503
debug1: Client protocol version 2.0; client software version
OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_3.4p1
debug1: list_hostkey_types: ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 zlib
debug1: kex: server->client aes128-cbc hmac-md5 zlib
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: dh_gen_key: priv key...
2018 Nov 23
2
Debian Stretch 9.6: openssh-server and old dropbear client don't work togheter
...reauth child monitor started
> > Nov 22 14:34:03 myhostname sshd[3905]: debug3: privsep user:group
> > 106:65534 [preauth]
> > Nov 22 14:34:03 myhostname sshd[3905]: debug1: permanently_set_uid:
> > 106/65534 [preauth]
> > Nov 22 14:34:03 myhostname sshd[3905]: debug1: list_hostkey_types:
> > ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256 [preauth]
> > Nov 22 14:34:03 myhostname sshd[3905]: debug3: send packet: type 20 [preauth]
> > Nov 22 14:34:03 myhostname sshd[3905]: debug1: SSH2_MSG_KEXINIT sent [preauth]
> >
> > Can you help?
>
> T...
2002 Jun 24
1
sshd 3.1 dumps core when client connects -- Solaris 9 gcc 3.1
...ng mode.
Connection from 127.0.0.1 port 33372
debug1: Client protocol version 2.0; client software version OpenSSH_3.3
debug1: match: OpenSSH_3.3 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.3
debug3: privsep user:group 60003:50006
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes1...
2016 Jan 26
2
Questions about inferred state machines for OpenSSH
Dear all,
For my thesis, I've been working on automatic inference of state
machines for SSH servers. I ran into a couple of particularities
regarding OpenSSH's inferred state machine, and was hoping some of you
might be interested. Maybe you can even shed some light on it.
Setup: I'm using LearnLib's (Java) version of the L* learning
algorithm [1] to come up with sequences of
2001 Feb 19
1
FreeBSD 4.2 OpenSSH2.3.0 client vs Red Hat 6.2 OpenSSH2.5.1p1 sshd
...bug1: Client protocol version 2.0; client software version OpenSSH_2.3.0
debug1: match: OpenSSH_2.3.0 pat ^OpenSSH_2\.3\.0
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_2.5.1p1
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: list_hostkey_types: ssh-dss
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug1: got kexinit: ssh-dss
debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael1...
2006 Jul 12
1
Stange sshd problem... bug?
...nSSH_4.3 pat OpenSSH*
Jul 12 03:12:13 web1 sshd[3707]: debug1: Enabling compatibility mode for
protocol 2.0
Jul 12 03:12:13 web1 sshd[3707]: debug1: Local version string
SSH-1.99-OpenSSH_4.3
Jul 12 03:12:13 web1 sshd[3708]: debug1: permanently_set_uid: 74/74
Jul 12 01:12:13 web1 sshd[3708]: debug1: list_hostkey_types: ssh-rsa,ssh-dss
Jul 12 01:12:13 web1 sshd[3708]: debug1: SSH2_MSG_KEXINIT sent
And it just freezes there. I've tried to set a smaller mtu, but the
problem wasn't solved. When I connect to the same server using windows XP
it works, so it has nothing to do with the hardware.
I should als...
2002 Jan 10
1
OpenSSH 3.0.Xp1, AIX -> Sun trusted host problem
...bug1: match:
OpenSSH_3.0.1p1 pat ^OpenSSH
Jan 10 13:31:14 sunhost.stanford.edu sshd[6832]: Enabling
compatibility mode for protocol 2.0
Jan 10 13:31:14 sunhost.stanford.edu sshd[6832]: debug1: Local
version string SSH-1.99-OpenSSH_3.0.2p1
Jan 10 13:31:14 sunhost.stanford.edu sshd[6832]: debug1:
list_hostkey_types: ssh-rsa,ssh-dss
Jan 10 13:31:14 sunhost.stanford.edu sshd[6832]: debug1: SSH2_MSG_KEXINIT sent
Jan 10 13:31:14 sunhost.stanford.edu sshd[6832]: debug1:
SSH2_MSG_KEXINIT received
Jan 10 13:31:14 sunhost.stanford.edu sshd[6832]: debug1: kex:
client->server blowfish-cbc hmac-md5 none
Jan 10 13...