Tuesday, 29 January 2013

How to test an Ident server by using telnet


How to test an Ident server by using telnet

What you need

  • The host name of an Ident server (for use in the telnet command)
  • The remote port number on the server
  • The local port number to query for

What to do

The initial telnet: > symbolises your shell prompt.
telnet: > telnet server.example.com auth
client: 22, 3216
server: 22 , 3216 : USERID : UNIX :root

2 comments:

  1. Perhaps I misread the syntax, but I thought the second number (3216 here) was supposed to be the client-side port used (by your telnet/tcp-cli-simpletext-client) which I'm not saying wont be 3216...
    But shouldn't there be a step to open up another command line window and find out what port it used *this connection attempt* (since it's normally random) [& inside the upper unreserved ports spectrum] after the telnet command connects - say roughly (Since I'm using the windows command filtered with a traditional unix command - this command actually works in Windows 10 if you type bash.exe from the cli to load the Ubuntu native x86_64 environment. if you have the option enabled) '/mnt/c/Windows/System32$ ./netstat.exe -a -b -n|grep -B 2 -i "telnet.exe"
    [vmware-hostd.exe]' and reading the first non-":1" number on the line that starts with TCP which for our example will be 3216...etc.
    ???

    ReplyDelete
    Replies
    1. "(newline)[vmware-hostd.exe]" wasn't supposed to be in there, must of accidentally come from my clipboard and in this tiny reply/preview box I didn't notice it...Sorry =)

      Delete