LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-16-2005, 12:41 PM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
telneting to a udp port.


hi,

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 !

Juan
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-16-2005, 02:07 PM   #2
primo
Member
 
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, 12:41 AM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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.
 
5 members found this post helpful.
Old 03-06-2013, 01:30 PM   #4
avendanl
LQ Newbie
 
Registered: Dec 2007
Posts: 6

Rep: Reputation: 1
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.
 
  


Reply


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 01:26 PM
is it possible to hack telneting at port 25? sagun_newbie Linux - Security 4 07-18-2004 06:55 PM
UDP Port 1697 RandomIZE Linux - Networking 5 03-23-2004 03:47 PM
How to prevent telneting to my mail server on port 25 adamrau Linux - Networking 7 10-24-2001 09:44 PM
How to prevent someone from telneting to my mail server on port 25 adamrau Linux - Security 2 10-11-2001 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:12 PM.

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