Tagged articles
40 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Mar 26, 2026 · Operations

How to Diagnose and Fix Port Connectivity Issues on Linux Servers

This guide walks you through the root causes of "port unreachable" problems, explains TCP and UDP handshakes, and provides a seven‑layer troubleshooting framework with concrete commands, scripts, case studies, best‑practice recommendations, and monitoring setups for Linux environments.

SELinuxTCPUDP
0 likes · 37 min read
How to Diagnose and Fix Port Connectivity Issues on Linux Servers
Xiao Liu Lab
Xiao Liu Lab
Dec 23, 2025 · Operations

Master Incident Response: Diagnose and Recover Service Outages in 15 Minutes

When a service crashes and users flood you with complaints, following a structured 15‑minute workflow—first narrowing the impact, then probing six layers (network, system, application, data, external services, security), and finally documenting the incident—lets you pinpoint and fix most outages quickly and reliably.

Operationsnetwork debuggingservice recovery
0 likes · 10 min read
Master Incident Response: Diagnose and Recover Service Outages in 15 Minutes
Efficient Ops
Efficient Ops
Nov 17, 2025 · Operations

Mastering pwru: A Step‑by‑Step Guide to eBPF Packet Tracing with Cilium

This article introduces pwru, Cilium's eBPF‑based packet‑tracing tool, explains kernel requirements, shows how to install the pre‑built binary, details command‑line options, and provides practical examples for filtering, output customization, and debugging dropped packets in Linux networking.

CiliumLinux networkingOperations
0 likes · 6 min read
Mastering pwru: A Step‑by‑Step Guide to eBPF Packet Tracing with Cilium
Deepin Linux
Deepin Linux
Oct 22, 2025 · Operations

Why Your Linux Server Drops Packets and How to Debug It Step‑by‑Step

This article explains why Linux servers can experience mysterious packet loss, walks through a systematic debugging process from the link layer to the kernel TCP/IP stack, and provides practical solutions such as adjusting kernel parameters and increasing listen queue sizes to eliminate the issue.

LinuxPacket LossTCP/IP
0 likes · 58 min read
Why Your Linux Server Drops Packets and How to Debug It Step‑by‑Step
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 6, 2024 · Mobile Development

How to Capture Android App Traffic with Charles and Postern

This guide explains why Charles combined with Postern is preferred for Android app packet capture, details the required environment, step‑by‑step configuration of Charles and Postern, SSL proxy setup, certificate installation and migration, and compares the solution with Fiddler.

AndroidCharlesMobile Development
0 likes · 6 min read
How to Capture Android App Traffic with Charles and Postern
Refining Core Development Skills
Refining Core Development Skills
Oct 22, 2024 · Operations

netcap: An eBPF‑Based Next‑Generation Kernel Network Capture Tool

netcap is an open‑source eBPF‑driven kernel network packet capture tool that extends tcpdump syntax to trace skb‑related functions across the Linux network stack, offering detailed packet tracing, customizable filters, multi‑trace aggregation, and user‑defined output to improve debugging of packet loss and performance issues.

Packet CaptureeBPFnetcap
0 likes · 9 min read
netcap: An eBPF‑Based Next‑Generation Kernel Network Capture Tool
BirdNest Tech Talk
BirdNest Tech Talk
Sep 26, 2024 · Operations

How to Trace Linux Packet Drops with eBPF and kfree_skb_reason

This article explains why packets are dropped in Linux, introduces the kfree_skb_reason API added in kernel 5.17, and shows step‑by‑step how to use bpftrace to capture drop reasons, five‑tuple details, and stack traces for precise network debugging.

Linux kernelbpftraceeBPF
0 likes · 9 min read
How to Trace Linux Packet Drops with eBPF and kfree_skb_reason
Wukong Talks Architecture
Wukong Talks Architecture
Jul 25, 2024 · Fundamentals

Debugging APP Load Failures: MTU/MSS Analysis with Wireshark

This article walks through a real‑world case where an app’s content loading fails due to MTU/MSS mismatches, explains how packet captures reveal retransmissions and missing ACKs, demonstrates ping‑based MTU probing, and shows how oversized request parameters in a new version caused the issue.

MSSMTUTCP
0 likes · 5 min read
Debugging APP Load Failures: MTU/MSS Analysis with Wireshark
Bilibili Tech
Bilibili Tech
Jul 23, 2024 · Operations

Network Troubleshooting: MTU/MSS Issues and Packet Capture Analysis

The investigation used Wireshark captures to uncover that a new app version sent oversized TCP segments—due to altered MSS and path‑MTU mismatch—causing unacknowledged retransmissions, which were diagnosed with ping‑do‑not‑fragment tests and resolved by trimming the request parameters and confirming via TLS key logging.

MSSMTUPacket Capture
0 likes · 7 min read
Network Troubleshooting: MTU/MSS Issues and Packet Capture Analysis
ByteDance SYS Tech
ByteDance SYS Tech
Apr 19, 2024 · Fundamentals

How xcap Uses eBPF to Revolutionize Kernel Network Packet Capture

The article introduces xcap, an eBPF‑based next‑generation kernel network packet capture tool that overcomes the limitations of traditional utilities like tcpdump by providing flexible hook points, customizable filtering, and support for diverse network scenarios such as AF_XDP and DPDK, thereby dramatically improving packet‑loss debugging efficiency.

BPF tracingLinux networkingeBPF
0 likes · 10 min read
How xcap Uses eBPF to Revolutionize Kernel Network Packet Capture
Liangxu Linux
Liangxu Linux
May 9, 2023 · Operations

How to Test and Debug Linux Network Ports with telnet, nc, and netstat

This guide explains how to verify TCP port connectivity on Linux using telnet and nc, shows how to interpret their output for open or closed ports, describes ways to exit these tools, and demonstrates how netstat can confirm the connection state and identify the owning process.

Linuxcommand-linenc
0 likes · 8 min read
How to Test and Debug Linux Network Ports with telnet, nc, and netstat
Tencent Cloud Developer
Tencent Cloud Developer
Jan 10, 2023 · Cloud Native

nettrace: An eBPF‑Based Tool for Network Packet Tracing, Diagnosis and Drop Monitoring in Cloud‑Native Environments

nettrace is an eBPF‑powered command‑line utility that traces a packet’s full kernel lifecycle, diagnoses network faults with a built‑in knowledge base, monitors anomalies and skb drops, supports NAT, GRE, IPVS and netfilter hooks, and replaces legacy tools like tcpdump and droptrace in cloud‑native Linux environments.

Linuxcloud-nativediagnosis
0 likes · 33 min read
nettrace: An eBPF‑Based Tool for Network Packet Tracing, Diagnosis and Drop Monitoring in Cloud‑Native Environments
Sohu Tech Products
Sohu Tech Products
Nov 9, 2022 · Mobile Development

Integrating AndroidMonitor for In‑App Network Packet Capture on Android

This article introduces AndroidMonitor, a lightweight Android packet‑capture library, explains how to add its monitor and monitor‑plugin dependencies, configure ProGuard, customize entry names, ports and logos, and optionally use AndroidLocalService to expose captured data via a local socket for both mobile and PC UI visualization.

AndroidKotlinLocal Service
0 likes · 9 min read
Integrating AndroidMonitor for In‑App Network Packet Capture on Android
Liangxu Linux
Liangxu Linux
Sep 16, 2021 · Operations

How Does tcpdump Capture Packets Inside the Linux Kernel?

This article explains the low‑level mechanisms by which tcpdump intercepts network packets in the Linux kernel, covering both the receive and transmit paths, the interaction with netfilter, and the steps required to implement a custom packet‑sniffing program.

Packet Capturenetfilternetwork debugging
0 likes · 12 min read
How Does tcpdump Capture Packets Inside the Linux Kernel?
Refining Core Development Skills
Refining Core Development Skills
Sep 8, 2021 · Fundamentals

How tcpdump Captures Packets Inside the Linux Kernel

This article explains the internal mechanisms of tcpdump, showing how it registers a virtual protocol in the kernel's ptype_all list to intercept packets during both receive and transmit paths, how netfilter interacts with these paths, and provides guidance for building a custom packet‑capture program.

Packet Capturelibpcapnetfilter
0 likes · 10 min read
How tcpdump Captures Packets Inside the Linux Kernel
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 10, 2020 · Operations

Master Online Fault Diagnosis: Server, Java, MySQL, Redis & Network Tips

This guide walks you through common online failures—from disk full and high CPU on servers to Java Tomcat hangs, MySQL deadlocks, slow queries, Redis memory alerts, and network connection issues—providing step‑by‑step troubleshooting methods and practical commands to quickly locate and resolve problems.

Server Monitoringnetwork debuggingonline troubleshooting
0 likes · 35 min read
Master Online Fault Diagnosis: Server, Java, MySQL, Redis & Network Tips
Jike Tech Team
Jike Tech Team
Jun 10, 2020 · Mobile Development

How to Build a Robust iOS Network Debugger Without Re‑sending Requests

This article explains the challenges of iOS network request debugging, reviews existing external and in‑app tools, dives into the URL loading system and URLProtocol mechanics, and presents a delegate‑proxy solution that captures all traffic without altering the original requests, even in production environments.

DelegateProxyRxSwiftURLProtocol
0 likes · 20 min read
How to Build a Robust iOS Network Debugger Without Re‑sending Requests
Liangxu Linux
Liangxu Linux
May 4, 2020 · Operations

How to Diagnose and Fix Linux UDP Packet Drops

This guide explains the Linux packet‑receiving process, shows how to identify where UDP drops occur, and provides practical commands and kernel tuning tips to troubleshoot network‑card, driver, system, and application‑level packet loss.

Packet LossUDPdropwatch
0 likes · 13 min read
How to Diagnose and Fix Linux UDP Packet Drops
360 Tech Engineering
360 Tech Engineering
Mar 11, 2019 · Mobile Development

Using Charles to Capture and Debug iOS Network Requests

This guide explains how to install Charles, configure an iPhone proxy, capture HTTP/HTTPS traffic, set breakpoints, modify requests, repeat calls, and simulate network conditions, providing a comprehensive workflow for iOS network debugging and performance testing.

CharlesMobile DevelopmentProxy
0 likes · 9 min read
Using Charles to Capture and Debug iOS Network Requests
Qunar Tech Salon
Qunar Tech Salon
Mar 8, 2018 · Backend Development

Analyzing Intermittent Timeouts and RST Packets in Apache HttpClient Calls

This article investigates an intermittent timeout issue caused by a Java Apache HttpClient implementation that leaks connections, explains why numerous RST packets appear during TLS shutdown, and presents experiments and code revisions that clarify the TCP/TLS interaction and proper resource handling.

Apache HttpClientConnection leakHTTP
0 likes · 9 min read
Analyzing Intermittent Timeouts and RST Packets in Apache HttpClient Calls
360 Quality & Efficiency
360 Quality & Efficiency
Sep 6, 2017 · Backend Development

Developing a Fiddler Plugin to Decrypt SDK Requests in C#

This guide explains how to set up the development environment, create a C# class‑library project, add Fiddler references, implement required interfaces, enable debugging, and build a custom Fiddler plugin that automatically decrypts encrypted SDK HTTP requests and displays them in clear text for testing.

C#FiddlerPlugin Development
0 likes · 7 min read
Developing a Fiddler Plugin to Decrypt SDK Requests in C#