Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-16-2005, 01:41 PM   #1
Registered: May 2002
Posts: 401

Rep: Reputation: 30
telneting to a udp port.


itried to connect to an open ntp udp port on the server, although the port is open I couldnt telnet to this port.

is it true I cant telnet to a udp port?

thanks !

Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-16-2005, 03:07 PM   #2
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Use netcat with the -u option. See nc(1)
1 members found this post helpful.
Old 08-18-2005, 01:41 AM   #3
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
UDP is a connectionless protocol which means it basically just sends packets out to the specified destination. TCP is connection-oriented which means it establishes a connection to the other end using the '3-way handshake'.

So it makes sense to apply the 'telnet' paradigm to TCP - you make connection to a specific host and port, you still remain connected (for a period of time) even if you aren't sending any data and you can send and receive data continuously without having to reconnect in between.

UDP on the other hand doesn't really fit the telnet model - its more of a fire-and-forget system where you fire-off a series of packets towards the destination. You then go on with something else (or just wait doing nothing) until (or if) the remote process sends some packets back.
4 members found this post helpful.
Old 03-06-2013, 02:30 PM   #4
LQ Newbie
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Thumbs up

This is one of the most basic and useful exlplanations on UDP I've ever read in any forum. Anywhere ! Great Job tkedwards !!! And thank you for contributing to this community.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDP port 5353 WannaLearnLinux Linux - Security 17 05-05-2011 02:26 PM
is it possible to hack telneting at port 25? sagun_newbie Linux - Security 4 07-18-2004 07:55 PM
UDP Port 1697 RandomIZE Linux - Networking 5 03-23-2004 04:47 PM
How to prevent telneting to my mail server on port 25 adamrau Linux - Networking 7 10-24-2001 10:44 PM
How to prevent someone from telneting to my mail server on port 25 adamrau Linux - Security 2 10-11-2001 03:33 PM

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration