Jump to content

TCP/UDP Help needed

keavlar

Hi there.

 

It looks stupid to ask, but can someone please explain when you been asked, if you know TCP/UDP, what does it mean?

I read about it, I do understand how it works, but I just don't get the question, if you know it?

It is not like Java the "if" statements.

 

Also, maybe aby one can provide the website, or online books regarding the servers and protocols (to learn), as the search results for each and every one of us is different,

I am sure, you have other websites to suggest me. 

 

Thanks in advance. 

CPU - AMD 5800XMotherboard - ROG STRIX B550-E GAMING , Memory  - G.SKILL TridentZ Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM DDR4 3600 ,

GPU - NVIDIA GeForce RTX 3080 Ti MSI SUPRIM X 12G,  Case - 4000D AIRFLOW Tempered Glass Mid - Tower ATX Case - Black ,

Storage - Samsung 970 EvoPlus 500GB - Samsung 870 EVO 1TB + 6TB HDD,

PSU - Corsair HX1000 , Display -  ASUS TUF Gaming VG27A 165HZ + Dell 24 UltraSharp Monitor , Cooling - Noctua NH-D15 Black , 

Keyboard - Razer Stalker , Mouse - Logitec G502 Wireless , Operating System - Win 10 Pro , 

Sound - Logitech Z906 5.1 THX Surround Sound Speaker System

Link to comment
Share on other sites

Link to post
Share on other sites

Easiest way to think about it is that TCP requires confirmation the packet was sent and received. If not, it stops and resends the packet or packets it did not get an acknowledgement from the other end as having received a good packet. This is known as the TCP Handshake.  UDP on the other hand, doesnt care and sends the packet assuming the other side received it just fine. 

Community Standards | Fan Control Software

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Black Out"

Ryzen 9 5900x | Full Custom Water Loop | Asus Crosshair VIII Hero (Wi-Fi) | RTX 3090 Founders | Ballistix 32gb 16-18-18-36 3600mhz 

1tb Samsung 970 Evo | 2x 2tb Crucial MX500 SSD | Fractal Design Meshify S2 | Corsair HX1200 PSU

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 16gb Gskill Flare X 3200mhz | Corsair RM550x PSU | Asus Strix GTX1070 | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
Share on other sites

Link to post
Share on other sites

I would say something like both are Transport Layer Protocols.

TCP stands for Transmission Control Protocol while UDP means User Datagram Protocol. And then Pros and Cons and what the difference is like TCP sends 2 adresses with the package, one for where the package goes and the other is your own adress since TCP needs a confirmation back from where the packets are sent while UDP does send the packets all day long

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

With the TCP handshake, if you ever did a wireshark packet capture, you would see that each packet is assigned a number that the receiving side acknowledges it received. If it doesnt acknowledge it, the sending side can then determine which packet it needs to resend based on that number that did not get the acknowledgement. 

Community Standards | Fan Control Software

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Black Out"

Ryzen 9 5900x | Full Custom Water Loop | Asus Crosshair VIII Hero (Wi-Fi) | RTX 3090 Founders | Ballistix 32gb 16-18-18-36 3600mhz 

1tb Samsung 970 Evo | 2x 2tb Crucial MX500 SSD | Fractal Design Meshify S2 | Corsair HX1200 PSU

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 16gb Gskill Flare X 3200mhz | Corsair RM550x PSU | Asus Strix GTX1070 | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Skiiwee29 said:

Easiest way to think about it is that TCP requires confirmation the packet was sent and received. If not, it stops and resends the packet or packets it did not get an acknowledgement from the other end as having received a good packet. This is known as the TCP Handshake.  UDP on the other hand, doesnt care and sends the packet assuming the other side received it just fine. 

 

Just now, ZeouLs said:

I would say something like both are Transport Layer Protocolls.

TCP stands for Transmission Control Protocll while UDP means User Datagram Protocoll

Guys, 

Thanks, but I do know what they do and the difference. 

But for some reason, when applying to malware analyst, it is not enough. 

And every time someone ask, do you know TCP/UDP it is not what they do, but more than that.

CPU - AMD 5800XMotherboard - ROG STRIX B550-E GAMING , Memory  - G.SKILL TridentZ Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM DDR4 3600 ,

GPU - NVIDIA GeForce RTX 3080 Ti MSI SUPRIM X 12G,  Case - 4000D AIRFLOW Tempered Glass Mid - Tower ATX Case - Black ,

Storage - Samsung 970 EvoPlus 500GB - Samsung 870 EVO 1TB + 6TB HDD,

PSU - Corsair HX1000 , Display -  ASUS TUF Gaming VG27A 165HZ + Dell 24 UltraSharp Monitor , Cooling - Noctua NH-D15 Black , 

Keyboard - Razer Stalker , Mouse - Logitec G502 Wireless , Operating System - Win 10 Pro , 

Sound - Logitech Z906 5.1 THX Surround Sound Speaker System

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah, I don't get the question either.

It's like asking "do you know wheels". You can answer that you know what they are and that they are used in for example cars, but the question has to be more specific to give any proper answer.

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, keavlar said:

 

Guys, 

Thanks, but I do know what they do and the difference. 

But for some reason, when applying to malware analyst, it is not enough. 

And every time someone ask, do you know TCP/UDP it is not what they do, but more than that.

Probably looking into the more specifics of TCP and UDP (compare and contrast) with features such as how TCP and windowing works, the 3 way handshake, latency, Maximum segment size, tcp slow starts, demonstrating a good knowledge of what TCP should look like with the acknowledging, sequencing and how UDP can affect TCP traffic within a stream since standard UDP would drain out TCP since it has no in-built features into the protocol itself to reduce a 'bottleneck' or what I mean is UDP can't dynamically adjust packets being sent between hosts that both agree how much data they can receive like TCP does with windowing. (maybe compared to something like people that implement TCP like features within upper layers with UDP)

 

You can't just define TCP as: "oh it uses a three way handshake, has sequencing and acknowledgements, and is also more reliable than UDP"... the TCP/IP illustrated book is a well known book that dives deep into the gritty basics of tcp/udp/also routing protocols etc..

I'm going to put a link to my PC specs which actually aren't my PC specs and I cry myself to sleep everyday so I can have these PC specs but I can't afford these PC specs so PC specs PC specs PC specs PC specs PC specs PC specs.

Link to comment
Share on other sites

Link to post
Share on other sites

On 7/24/2018 at 2:21 AM, keavlar said:

But for some reason, when applying to malware analyst, it is not enough. 

I imagine they were expecting more of an angle of how to fingerprint traffic flows between the two.  

PC : 3600 · Crosshair VI WiFi · 2x16GB RGB 3200 · 1080Ti SC2 · 1TB WD SN750 · EVGA 1600G2 · Define C 

Link to comment
Share on other sites

Link to post
Share on other sites

On 7/24/2018 at 5:22 PM, LAwLz said:

Yeah, I don't get the question either.

It's like asking "do you know wheels". You can answer that you know what they are and that they are used in for example cars, but the question has to be more specific to give any proper answer.

 

On 7/25/2018 at 1:55 AM, BSpendlove said:

Probably looking into the more specifics of TCP and UDP (compare and contrast) with features such as how TCP and windowing works, the 3 way handshake, latency, Maximum segment size, tcp slow starts, demonstrating a good knowledge of what TCP should look like with the acknowledging, sequencing and how UDP can affect TCP traffic within a stream since standard UDP would drain out TCP since it has no in-built features into the protocol itself to reduce a 'bottleneck' or what I mean is UDP can't dynamically adjust packets being sent between hosts that both agree how much data they can receive like TCP does with windowing. (maybe compared to something like people that implement TCP like features within upper layers with UDP)

 

You can't just define TCP as: "oh it uses a three way handshake, has sequencing and acknowledgements, and is also more reliable than UDP"... the TCP/IP illustrated book is a well known book that dives deep into the gritty basics of tcp/udp/also routing protocols etc..

 

On 7/25/2018 at 7:28 PM, beersykins said:

I imagine they were expecting more of an angle of how to fingerprint traffic flows between the two.  

THIS is what I basically asked for. But thx any way for help. Maybe now you also can tell me, what is teh correct way to ask my question. Thx

 

How TCP_IP Protocol Works - Part 1.pdf

How TCP_IP Protocol Works - Part 2 .pdf

TCP IP Book.pdf

CPU - AMD 5800XMotherboard - ROG STRIX B550-E GAMING , Memory  - G.SKILL TridentZ Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM DDR4 3600 ,

GPU - NVIDIA GeForce RTX 3080 Ti MSI SUPRIM X 12G,  Case - 4000D AIRFLOW Tempered Glass Mid - Tower ATX Case - Black ,

Storage - Samsung 970 EvoPlus 500GB - Samsung 870 EVO 1TB + 6TB HDD,

PSU - Corsair HX1000 , Display -  ASUS TUF Gaming VG27A 165HZ + Dell 24 UltraSharp Monitor , Cooling - Noctua NH-D15 Black , 

Keyboard - Razer Stalker , Mouse - Logitec G502 Wireless , Operating System - Win 10 Pro , 

Sound - Logitech Z906 5.1 THX Surround Sound Speaker System

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×