Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

It's ten o'clock; do you know where your processes are?


computers / comp.security.ssh / What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUEST_FAILURE?

SubjectAuthor
* What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUek.patrik
`- Re: What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUPatrik Ek

1
Subject: What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUEST_FAILURE?
From: ek.pat...@gmail.com
Newsgroups: comp.security.ssh
Date: Fri, 21 Feb 2020 13:30 UTC
X-Received: by 2002:ac8:4b6f:: with SMTP id g15mr32143787qts.196.1582291830496;
Fri, 21 Feb 2020 05:30:30 -0800 (PST)
X-Received: by 2002:a37:652:: with SMTP id 79mr33943987qkg.464.1582291830191;
Fri, 21 Feb 2020 05:30:30 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.security.ssh
Date: Fri, 21 Feb 2020 05:30:29 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=192.176.1.85; posting-account=FeMETQoAAACnHNYTA_wCzAZreuLIfH7N
NNTP-Posting-Host: 192.176.1.85
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a744ebd0-2a22-4bcc-b153-44ab7cb0159f@googlegroups.com>
Subject: What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUEST_FAILURE?
From: ek.pat...@gmail.com
Injection-Date: Fri, 21 Feb 2020 13:30:30 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
View all headers
Hi,
I am currently working with apache sshd library, trying to create an SSH client. To send an SSH_MSG_GLOBAL_REQUEST with a keep alive message,

50 00 00 00 15 6b 65 65 70 61 6c 69 76 65 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 01
translating to
P....keepalive@openssh.com,

where P, is just ascii for 0x50, which is the ID of the SSH_MSG_GLOBAL_REQUEST https://tools.ietf.org/html/rfc4254

So the problem I have here is the reply sent from the server (netopeer-server, which uses libssh under the hood) is SSH_MSG_UNIMPLEMENTED and not SSH_MSG_REQUEST_FAILURE, as I would have expected.

So what I would need to know is, when is a server expected to send SSH_MSG_UNIMPLEMENTED and when SSH_MSG_GLOBAL_REQUEST?

BR
Patrik


Subject: Re: What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUEST_FAILURE?
From: Patrik Ek
Newsgroups: comp.security.ssh
Date: Fri, 21 Feb 2020 14:05 UTC
References: 1
X-Received: by 2002:a0c:a910:: with SMTP id y16mr31079530qva.139.1582293957368; Fri, 21 Feb 2020 06:05:57 -0800 (PST)
X-Received: by 2002:a05:620a:22f7:: with SMTP id p23mr2187471qki.382.1582293957021; Fri, 21 Feb 2020 06:05:57 -0800 (PST)
Path: i2pn2.org!i2pn.org!aioe.org!peer03.am4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.security.ssh
Date: Fri, 21 Feb 2020 06:05:56 -0800 (PST)
In-Reply-To: <a744ebd0-2a22-4bcc-b153-44ab7cb0159f@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=192.176.1.85; posting-account=FeMETQoAAACnHNYTA_wCzAZreuLIfH7N
NNTP-Posting-Host: 192.176.1.85
References: <a744ebd0-2a22-4bcc-b153-44ab7cb0159f@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <893cbd9e-ef56-465b-b44f-60a341760728@googlegroups.com>
Subject: Re: What is the difference between SSH_MSG_UNIMPLEMENTED and SSH_MSG_REQUEST_FAILURE?
From: ek.pat...@gmail.com (Patrik Ek)
Injection-Date: Fri, 21 Feb 2020 14:05:57 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 16
X-Received-Bytes: 2137
X-Received-Body-CRC: 2028167839
View all headers
Den fredag 21 februari 2020 kl. 14:30:31 UTC+1 skrev Patrik Ek:
Hi,
I am currently working with apache sshd library, trying to create an SSH client. To keep the connection up, I want to send an SSH_MSG_GLOBAL_REQUEST with a keep alive message,

50 00 00 00 15 6b 65 65 70 61 6c 69 76 65 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 01
translating to
P....keepalive@openssh.com,

where P, is just ascii for 0x50, which is the ID of the SSH_MSG_GLOBAL_REQUEST https://tools.ietf.org/html/rfc4254

So the problem I have here is the reply sent from the server (netopeer-server, which uses libssh under the hood) is SSH_MSG_UNIMPLEMENTED and not SSH_MSG_REQUEST_FAILURE, as I would have expected.

So what I would need to know is, when is a server expected to send SSH_MSG_UNIMPLEMENTED and when SSH_MSG_GLOBAL_REQUEST?

BR
Patrik



1
rocksolid light 0.7.2
clearneti2ptor