About telnet

Data that travels over the air and how to protect (or decipher) it

About telnet

Post by pranav2794 on Thu Jun 02, 2011 12:28 am
([msg=58034]see About telnet[/msg])

When telneting which has default port of 23 as usually said that telnet uses port 23 ?

Which computer's port 23 one is talking about, about the target host, source host or both ?
pranav2794
New User
New User
 
Posts: 28
Joined: Mon May 09, 2011 3:14 pm
Blog: View Blog (0)


Re: About telnet

Post by Goatboy on Thu Jun 02, 2011 2:39 am
([msg=58040]see Re: About telnet[/msg])

Think about it:

If you are trying to connect to the target, would it make any sense to use the source's port?
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2813
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: About telnet

Post by pranav2794 on Thu Jun 02, 2011 3:27 am
([msg=58042]see Re: About telnet[/msg])

hmm....sorry but i didn't get it. u mean both the ports will be 23.
when my computer is establishing a session with the target it has to use have one source port to start the connection with and one destination port, these both are contained in the header of the packet.
as the packet is having the source port so there is surely some port that my computer uses in telnetting this.
sorry if m wrong
pranav2794
New User
New User
 
Posts: 28
Joined: Mon May 09, 2011 3:14 pm
Blog: View Blog (0)


Re: About telnet

Post by Goatboy on Thu Jun 02, 2011 3:37 am
([msg=58043]see Re: About telnet[/msg])

Programs use a random port, usually above 1024, when connecting to a remote computer. Your browser does this, as well as FTP, SSH, and Telnet.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2813
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)



Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests