Solved

Stupid Telnet Question

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 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

16 Experts available now in Live!

Get 1:1 Help Now