Solved

Stupid Telnet Question

Posted on 2012-03-13
4
438 Views
Last Modified: 2012-06-21
Just a quick one here - I use telnet often to test connectivity to devices through specific ports to ensure they are not blocked.

I've always assume that these were TCP ports.  Is it possible to do the same, but use UDP instead?  Or should telnet work regardless is the listening port is TCP or UDP?
0
Comment
Question by:JamesonJendreas
4 Comments
 
LVL 7

Assisted Solution

by:micropc1
micropc1 earned 167 total points
ID: 37717560
Telnet runs on TCP/IP at the application layer. To my knowledge it's not possible to connect to a port using a connectionless protocol such as UDP with Telnet.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 166 total points
ID: 37717623
UDP doesn't "connect", it just sends messages and doesn't not require a response.  So unless your device is programmed to respond, just sending a UDP message won't tell you anything.
0
 
LVL 39

Accepted Solution

by:
Adam Brown earned 167 total points
ID: 37717778
Telnet relies on TCP which requires a "Three-way handshake" to complete a connection. UDP doesn't do this, and so connecting to a UDP port over TCP will not complete a proper connection.

You can attempt to listen for or talk to UDP ports by using a utility called Netcat. http://netsecure.alcpress.com/netcat/ has more information.
0
 
LVL 1

Author Closing Comment

by:JamesonJendreas
ID: 37717787
Thanks all.  As I thought.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question