![]() |
|
|
#1 |
![]() 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 |
|
|
|
|
|
#2 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts
|
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.
It can. If you must receive packets in order, use TCP. 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(); } |
|
|
|
| The Following User Says Thank You to FordGT90Concept For This Useful Post: |
|
|
#3 | |
![]() 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:
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. |
|
|
|
|
|
|
#4 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts
|
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).
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(); } |
|
|
|
| The Following User Says Thank You to FordGT90Concept For This Useful Post: |
|
|
#5 | |
![]() Join Date: Feb 2011
Posts: 32 (0.04/day)
Thanks: 10
Thanked 0 Times in 0 Posts
|
by that
Quote:
thaaaank u very much best regards |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
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 |