Tagged articles
14 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Oct 22, 2024 · Fundamentals

Mastering TCP: Understanding States, Handshakes, and Common Pitfalls

This article explains TCP connection states, the three-way handshake and four-way termination processes, provides essential Linux commands for monitoring connections, and offers practical tips for diagnosing network issues, handling SYN floods, TIME_WAIT problems, and implementing keepalive mechanisms to maintain reliable communication.

Connection StatesKeepaliveNetworking
0 likes · 29 min read
Mastering TCP: Understanding States, Handshakes, and Common Pitfalls
Liangxu Linux
Liangxu Linux
Jun 2, 2024 · Fundamentals

Mastering TCP: Handshakes, Flow Control, Congestion Control & More

This comprehensive guide covers TCP fundamentals—including differences from UDP, the three‑way and four‑way handshakes, half‑open queues and SYN flood attacks, header fields, Fast Open, timestamps, RTO calculation, flow and congestion control, Nagle algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear explanations and practical examples for engineers.

Fast OpenFlow ControlHandshake
0 likes · 27 min read
Mastering TCP: Handshakes, Flow Control, Congestion Control & More
Wukong Talks Architecture
Wukong Talks Architecture
Sep 30, 2021 · Fundamentals

Computer Network Fundamentals: OSI/TCP‑IP Layers, TCP/UDP Differences, Handshakes, and Related Mechanisms

This article provides a comprehensive overview of computer networking fundamentals, covering OSI and TCP/IP layer models, the functions of each layer, detailed comparisons between TCP and UDP, the three‑way handshake, four‑way termination, SYN‑flood attacks, congestion control, and practical mitigation techniques.

Four-way terminationNetwork ProtocolsSYN Flood
0 likes · 21 min read
Computer Network Fundamentals: OSI/TCP‑IP Layers, TCP/UDP Differences, Handshakes, and Related Mechanisms
Code Ape Tech Column
Code Ape Tech Column
Jan 25, 2021 · Fundamentals

Mastering TCP: Handshake, Flow Control, Congestion Control and More

This comprehensive guide explains TCP fundamentals—including the differences between TCP and UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, header fields, Fast Open, timestamps, retransmission timeout calculation, flow and congestion control, Nagle's algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear examples and diagrams for each concept.

Flow ControlHandshakeNetworking
0 likes · 29 min read
Mastering TCP: Handshake, Flow Control, Congestion Control and More
Efficient Ops
Efficient Ops
Mar 1, 2020 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? A Real‑World Analogy Explained

Using a quirky long-distance video-chat scenario, the article illustrates how TCP’s three-way handshake and four-way termination work, explains the purpose of each packet exchange, details TCP header fields, and even covers SYN-flood attacks, turning everyday communication glitches into networking fundamentals.

Four-way terminationSYN FloodTCP
0 likes · 10 min read
Why Does TCP Need a Three‑Way Handshake? A Real‑World Analogy Explained
Programmer DD
Programmer DD
Jan 21, 2019 · Fundamentals

Why Does TCP Need a Three‑Way Handshake and a Four‑Way Teardown? A Deep Dive

This article explains the principles behind TCP's three‑way handshake and four‑way teardown, covering connection establishment, data transfer, termination, header fields, state diagrams, sequence‑number wraparound, SYN‑flood attacks, mitigation techniques, and a practical Redis packet‑capture analysis, all illustrated with diagrams and code snippets.

Four‑Way TeardownSYN FloodSequence Number
0 likes · 23 min read
Why Does TCP Need a Three‑Way Handshake and a Four‑Way Teardown? A Deep Dive
MaGe Linux Operations
MaGe Linux Operations
May 16, 2018 · Operations

Why Your E‑commerce Site Faces Intermittent Outages: Diagnosing SYN Socket Overflow and TCP Handshake Failures

The article walks through a real‑world case where an e‑commerce homepage intermittently became unreachable, explains how SYN socket overflow and full accept queues cause TCP handshake failures, demonstrates kernel and Nginx tuning, and provides Python scripts for load testing and SYN‑Flood simulation.

SYN FloodTCPlinux
0 likes · 8 min read
Why Your E‑commerce Site Faces Intermittent Outages: Diagnosing SYN Socket Overflow and TCP Handshake Failures
Efficient Ops
Efficient Ops
May 13, 2018 · Operations

Diagnosing and Fixing TCP SYN Queue Overflows that Crash E‑commerce Sites

This article walks through a real‑world incident where an e‑commerce site suffered intermittent outages due to TCP SYN and accept queue overflows, explains the underlying handshake mechanics, shows how kernel and Nginx parameters can be tuned, and provides Python scripts for testing and SYN‑flood simulation.

SYN FloodTCPbackend operations
0 likes · 9 min read
Diagnosing and Fixing TCP SYN Queue Overflows that Crash E‑commerce Sites
MaGe Linux Operations
MaGe Linux Operations
May 31, 2016 · Information Security

How to Detect and Mitigate SYN Flood Attacks on Linux Servers

This article explains what a SYN Flood DoS attack is, shows how to diagnose it using system logs and netstat, and provides practical mitigation steps such as iptables blocking, F5 load‑balancer filtering, and kernel parameter tuning to protect Linux web servers.

DoS mitigationLinux networkingSYN Flood
0 likes · 9 min read
How to Detect and Mitigate SYN Flood Attacks on Linux Servers