Solved

Stupid Telnet Question

Posted on 2012-03-13
4
430 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 82

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 38

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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.
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now