Score:0

What is the name of the string that a service returns when you establish a tcp connection via telnet?

it flag

If you telnet to an ssh server, it will establish a connection and return a string, something like SSH-2.0-OpenSSH.... etc.

Something similar happens if you connect to a mysql server.

What exactly is the name of the string that the service returns? It's not a "header", since we aren't talking about http(s) here.

Similarly, it's also possible to send commands via telnet, for example, you can connect to an email server and send an email this way if you wanted to. What is the name of the commands one would send? They aren't exactly "POST" requests, again, since we aren't using http(s) here.

joeqwerty avatar
cv flag
Logon banner, greeting, message of the day, etc.
joeqwerty avatar
cv flag
The commands you use with SMTP are called... wait for it... SMTP commands. - https://www.samlogic.net/articles/smtp-commands-reference.htm
Score:1
br flag

What exactly is the name of the string that the service returns? It's not a "header", since we aren't talking about http(s) here.

This rfc4253 refers to it as the "identification string" in section 4.2 Protocol Version Exchange.

Similarly, it's also possible to send commands via telnet, for example, you can connect to an email server and send an email this way if you wanted to. What is the name of the commands one would send? They aren't exactly "POST" requests, again, since we aren't using http(s) here.

The rfc4253 goes on to explain how to setup the rest of the connection. I've not seen an example of sending commands to an SSH server. At the point the TCP connection is made with the telnet client and the banner received the client would need to agree on things like encryption algorithms, compression and so on.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.