• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

please a help about UDP packet

s.

New Member
Joined
Feb 25, 2011
Messages
32 (0.01/day)
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
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
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.


doesn't the packets reach the destination out of order?
It can. If you must receive packets in order, use TCP.


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.
 
  • Like
Reactions: s.

s.

New Member
Joined
Feb 25, 2011
Messages
32 (0.01/day)
thank u very much for ur reply, it is helpful
so please by that
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:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
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).


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.
 
  • Like
Reactions: s.

s.

New Member
Joined
Feb 25, 2011
Messages
32 (0.01/day)
by that
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
 
Top