techPowerUp! Forums

Go Back   techPowerUp! Forums > Hardware > Networking & Security

Reply
 
Thread Tools
Old May 25, 2011, 12:25 AM   #1
s.
25 Posts
 
Join Date: Feb 2011
Posts: 32 (0.04/day)
Thanks: 10
Thanked 0 Times in 0 Posts

please a help about UDP packet

hello everybody,
i need ur help, i read in networking and some security on it, i have problem when i read that, it is:
i know that UDP is unrealiable , so i think that mean it has no 3-way hand shaking,
but when i read many papers, it said that UDP can be checked (by authantic method) in the first request packet, and if it not auth. the whole traffic is discard!!!!
please how is that??
doesn't the packets reach the destination out of order? so how can we recognize the first request packet from other packets?
and how to recognize the whole flow of that request?

thank u very much for any help and reply please i indeed need it
with regards
swa
s. is offline  
Reply With Quote
Old May 25, 2011, 01:24 AM   #2
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Quote:
Originally Posted by s. View Post
please how is that??
It's a series of handshakes. Client sends the server an encrypted password, server responds with an encypted key. Every future packet is encrypted/decrypted using that key. If any of this handshake is lost, they must perform a new handshake.


Quote:
Originally Posted by s. View Post
doesn't the packets reach the destination out of order?
It can. If you must receive packets in order, use TCP.


Quote:
Originally Posted by s. View Post
so how can we recognize the first request packet from other packets?and how to recognize the whole flow of that request?
You have to code that into your protcol design. UDP is only intended to transfer ~1KiB of data asynchronously. If whatever you are doing requires more than one packet, how to sort the mess is up to you. Usually, the first bytes of a packet specifies a packet type.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to FordGT90Concept For This Useful Post:
Old May 25, 2011, 10:29 AM   #3
s.
25 Posts
 
Join Date: Feb 2011
Posts: 32 (0.04/day)
Thanks: 10
Thanked 0 Times in 0 Posts

thank u very much for ur reply, it is helpful
so please by that
Quote:
UDP is only intended to transfer ~1KiB of data asynchronously.
do u mean that udp usually send 1 packet in it's transfer?

also please, the security that i read is between the client and it's nearest router, so here please, what is the series of the handshaking that happen here?

i don't want to send using TCP only, and the packets that transfered through is of all types, but i have problem in the UDP behavior in transfering

thank u in advance
with regards
sarah

Last edited by s.; May 25, 2011 at 10:43 AM.
s. is offline  
Reply With Quote
Old May 25, 2011, 04:20 PM   #4
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Quote:
Originally Posted by s. View Post
do u mean that udp usually send 1 packet in it's transfer?
The protocol only covers the transmission of a single packet but there's nothing to stop many packets from being sent/received. TCP can accept one packet as well but it is design to receive thousands of them in a specific order (requests those that are lost).


Quote:
Originally Posted by s. View Post
also please, the security that i read is between the client and it's nearest router, so here please, what is the series of the handshaking that happen here?
There's a DHCP handshake there where they share MAC address with each other and the router assigns an IP to the machine. As far as I know, it is not secure.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to FordGT90Concept For This Useful Post:
Old May 25, 2011, 09:28 PM   #5
s.
25 Posts
 
Join Date: Feb 2011
Posts: 32 (0.04/day)
Thanks: 10
Thanked 0 Times in 0 Posts

by that
Quote:
There's a DHCP handshake there where they share MAC address with each other and the router assigns an IP to the machine. As far as I know, it is not secure.
u exactly go when i want
thaaaank u very much
best regards
s. is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help about upgrading from 5770 crossfire Excelsis 88 Graphics Cards 4 Nov 13, 2010 02:56 PM
[C#] Raw sockets packet sending xlink Programming & Webmastering 2 Feb 4, 2010 10:19 AM
Need help configuring UDP and TCP mooch37 Networking & Security 13 Jan 6, 2008 02:35 PM
Please help me about Ati x1300pro's bios . masterX Graphics Cards 2 Feb 15, 2007 05:59 PM
Please Please!!! Tell about how the F@H GFX Client works! x1900xt users only. W2hCYK General Software 7 Oct 5, 2006 03:53 AM


All times are GMT. The time now is 03:40 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts