Tag

network debugging

0 views collected around this technical thread.

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.

Linux kerneleBPFnetcap
0 likes · 9 min read
netcap: An eBPF‑Based Next‑Generation Kernel Network Capture Tool
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.

MSSMTUWireshark
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
360 Quality & Efficiency
360 Quality & Efficiency
May 12, 2023 · Operations

Setting Up a Dual-Machine Debugging Environment with VirtualKD and Network Methods

This guide explains why dual-machine debugging is needed, outlines the two main scenarios (virtual machine and physical machine), and provides step‑by‑step instructions for configuring VirtualKD as well as network‑based kernel debugging on Windows systems, including common test cases and useful commands.

KernelVirtualKDWindows
0 likes · 8 min read
Setting Up a Dual-Machine Debugging Environment with VirtualKD and Network Methods
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.

DiagnosisLinuxPacket Tracing
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
Yiche Technology
Yiche Technology
Sep 14, 2022 · Mobile Development

Resolving iOS SSO QR Code Login Failures: Redirects, 404 Errors, and NSURLCache Management

This article analyzes why an iOS SSO QR‑code login sometimes fails with a 404 error despite being on company Wi‑Fi, explains the 301 redirect caused by network restrictions, and provides a step‑by‑step solution using NSURLCache inspection and cache‑clearing techniques.

Cache ManagementHTTP redirectNSURLCache
0 likes · 9 min read
Resolving iOS SSO QR Code Login Failures: Redirects, 404 Errors, and NSURLCache Management
Tencent Cloud Developer
Tencent Cloud Developer
Dec 21, 2021 · Backend Development

Whistle: Implementation Details of a Node.js Based Cross‑Platform HTTP Proxy

The article explains Whistle, a Node.js‑based cross‑platform HTTP proxy, by first showing a simple proxy implementation and then detailing its full architecture—five core modules for request entry, tunneling, processing, rule management, and plugin handling—along with its extensible, isolated plugin system.

HTTP proxyNode.jsPlugin Architecture
0 likes · 11 min read
Whistle: Implementation Details of a Node.js Based Cross‑Platform HTTP Proxy
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.

Linux kernellibpcapnetfilter
0 likes · 10 min read
How tcpdump Captures Packets Inside the Linux Kernel
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
Efficient Ops
Efficient Ops
Aug 1, 2019 · Operations

Mastering Packet Capture: When to Use Wireshark, Tcpdump, Charles, or mitmproxy

This guide compares five popular packet‑capture tools—Wireshark, Tcpdump, Charles, and mitmproxy—explaining their strengths, weaknesses, installation steps, filter syntax, and best‑use scenarios for developers and testers needing efficient network debugging.

CharlesWiresharkmitmproxy
0 likes · 14 min read
Mastering Packet Capture: When to Use Wireshark, Tcpdump, Charles, or mitmproxy
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 DevelopmentiOS
0 likes · 9 min read
Using Charles to Capture and Debug iOS Network Requests
360 Tech Engineering
360 Tech Engineering
May 3, 2018 · Operations

Using Fiddler for Mobile App Traffic Capture, Mocking, and Breakpoint Debugging

This guide explains how to configure Fiddler for capturing HTTPS traffic from mobile devices, install and trust its certificate on iPhone, and leverage features such as request inspection, saving sessions, replaying, mock responses with AutoResponder, and setting global or per‑request breakpoints.

FiddlerHTTPS CaptureMobile Testing
0 likes · 7 min read
Using Fiddler for Mobile App Traffic Capture, Mocking, and Breakpoint Debugging
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++FiddlerSDK Decryption
0 likes · 7 min read
Developing a Fiddler Plugin to Decrypt SDK Requests in C#