This article provides a comprehensive guide to TCP three-way handshake, four-way teardown, and troubleshooting common connection failures using Linux tools like ss, tcpdump, and curl, emphasizing evidence-based diagnosis over theoretical concepts.
Learn multiple command-line techniques to retrieve both private and public IP addresses on Linux, covering ip, ifconfig, hostname, dig, curl, and wget with practical examples for internal network ranges and external service queries.
This guide explains how to systematically troubleshoot server network connectivity using ping, telnet, curl, and traceroute, showing what each tool verifies at different network layers, how to interpret results, avoid common misdiagnoses, and build evidence chains for root-cause analysis.
cURL maintainer Daniel Stenberg shut down the project's bug bounty program after AI-generated fake vulnerability reports overwhelmed the team, while simultaneously using AI analysis tools to discover over 100 real vulnerabilities that traditional methods missed, highlighting the dual impact of AI on open source security.
AI code analysisAI-generated vulnerability reportsDaniel Stenberg
This comprehensive guide explains why a server may respond to ping but fail HTTPS access, detailing a systematic layered approach covering DNS, proxy, TCP, TLS, HTTP, and application layers with concrete commands and case studies.
A troubleshooting guide for intermittent TLS handshake failures across carriers, revealing how JDK default version differences cause protocol_version alerts and providing verification steps and fixes using -Dhttps.protocols=TLSv1.1,TLSv1.2 for Java, curl --tlsv1.2 for scripts, and Nginx ssl_protocols adjustments.
This article explains why ping cannot test specific ports due to its use of ICMP instead of TCP/UDP, and demonstrates four tools—telnet, curl, netcat, and nmap—with command examples for verifying port availability.
The article examines curl's long‑standing C implementation, its memory‑safety vulnerabilities, a four‑year effort to replace the libcurl backend with Rust's Hyper that reached 95% completion, and the decision to drop it because maintenance costs, a fragile C‑Rust glue layer, scarce expertise, and mismatched user demand outweighed the benefits.
This guide explains how to break down the vague symptom “network unreachable” into layered checks—interface status, routing, ARP, DNS, TCP, TLS, and HTTP—using the four classic tools ping, telnet, curl, and traceroute, and provides concrete commands, analysis steps, and evidence‑gathering scripts for Linux servers and Kubernetes pods.
This guide walks through a systematic, layered approach to troubleshoot server connectivity issues using ping, telnet, curl, and traceroute, covering everything from interface checks and DNS validation to firewall rules, routing, TLS verification, and Kubernetes networking.
The article recounts a real incident where API calls succeeded on some carriers but failed on others due to TLS version mismatch, detailing how to diagnose using curl, OpenSSL, and JDK version checks, and providing fixes for Java apps, scripts, and Nginx to enable multiple TLS versions for compatibility.
An unfiltered eventSnapshot API on the ICM 2026 website revealed four hidden Fields Medal lecture entries—including Chinese mathematicians Wang Hong and Yu Deng—through a single curl request, prompting a data leak that could mark the first year two Chinese scholars share the award and highlighting their distinct academic journeys.
This guide explains when to use telnet, nc, curl, and nmap for TCP, HTTP, UDP, and batch port scanning, includes a ready-to-use shell script that classifies connectivity as open, refused, or timed out with actionable remediation advice, and demonstrates a real Redis firewall diagnosis using nc and strace.
cURL, installed on over 300 billion devices and supporting virtually every network protocol, is now being bombarded by a flood of AI‑generated vulnerability reports that outpace the tiny core team’s capacity, exposing the open‑source community’s resource crunch and prompting a debate on AI‑assisted remediation.
KeyHacks lets security engineers quickly test the validity of more than a hundred different API keys by providing ready‑made curl commands, eliminating the need to write code or read documentation and streamlining red‑team workflows.
In a detailed blog post, curl creator Daniel Stenberg evaluated Anthropic’s AI security model Mythos by scanning 176,000 lines of curl’s C code, uncovering five reported issues that collapsed to a single low‑severity CVE after manual verification, and concluded that the model’s hype far exceeds its actual capability.
Despite winning a $10,000 Microsoft FOSS grant in 2022, the ubiquitous cURL library—supporting over 110 operating systems and countless protocols—remains underfunded relative to its presence in billions of devices, highlighting the broader economic challenges faced by essential open‑source projects.
Learn several straightforward Linux commands—ping for latency, curl or wget for download throughput, iperf for precise bandwidth measurement, and iftop for real‑time traffic monitoring—to accurately assess network speed and stability, with example syntax and usage tips for both client and server setups.
Entering the numeric URL https://16843009 in a browser redirects to Cloudflare’s DNS page because the integer 16843009 corresponds to the IPv4 address 1.1.1.1, illustrating how IPv4 addresses are 32‑bit unsigned integers and can be expressed in decimal, hexadecimal, octal, and other notations.
This guide explains the purpose, syntax, parameters, return value, and practical example of PHP's curl_setopt() function, showing how to set options such as URL, request method, timeout, and response handling for reliable HTTP communication.
The article recounts how cURL’s creator Daniel Stenberg received a $10,000 monthly FOSS grant, explores the tool’s massive technical impact and widespread adoption, and analyses why the funding and sponsorship model still falls far short of matching its global usage and development costs.
This guide explains how to reliably verify that the PHP cURL extension is truly enabled by inspecting phpinfo(), comparing CLI and web configurations, checking version compatibility, and performing a real request test, while highlighting common pitfalls such as disabled functions and outdated libcurl versions.
The article recounts how cURL received a $10,000 monthly grant from the Microsoft FOSS Foundation, outlines its extensive protocol support and ubiquitous deployment across billions of devices, examines its modest donation income versus massive usage, and explores sustainable models for open‑source projects.
This guide explains the PHP curl_setopt function, covering its syntax, parameter meanings, return value, and provides a complete example that demonstrates sending a GET request, handling responses, error checking, and closing the cURL session.
This guide explains how to use PHP's curl_setopt_array function to batch‑set cURL options, improving code readability and maintainability when sending HTTP requests, and includes a complete example with detailed code and important notes on option constants.
After adding an HTTPS certificate the site worked in browsers but curl requests were reset; through step‑by‑step network captures, buffer tweaks, cipher experiments and finally adding the missing ssl_session_cache directive, the author discovered the true cause and documented common Nginx error messages.
This guide explains how PHP's curl_getinfo function returns an associative array of request details, lists the most useful options such as effective URL and HTTP status code, and provides a complete example showing how to extract and display these metrics after a cURL request.
This guide explains how to use PHP's curl_getinfo() function to obtain request details such as effective URL, HTTP status code, total time, and content lengths, and provides a complete example demonstrating initialization, execution, information retrieval, and output of these metrics.
This guide explains how to use PHP's file_get_contents and cURL functions to send GET and POST HTTP requests, covering setup, option configuration, example code, and best‑practice tips for reliable remote data retrieval and transmission.
Learn how to use PHP's curl_errno() function to obtain cURL error codes, interpret common error numbers, and implement robust error handling in your network requests with clear code examples and best practices for reliable application stability.
After adding an HTTPS certificate to an Nginx site, browsers load the page fine but curl requests are reset; this article walks through network tests, configuration tweaks, packet captures, and the eventual discovery that enabling ssl_session_cache resolves the issue.
The cURL 8.17.0 release introduces critical security patches for CVE‑2025‑10966, adds several new capabilities such as an expanded progress indicator and Apple SecTrust support, and removes legacy features like Heimdal and wolfSSH, marking a significant update for developers and system administrators.
This article explains how to create a basic PHP web crawler on a Linux system, covering prerequisite installations, script development with cURL and DOMDocument, execution commands, and sample output, while emphasizing legal and ethical considerations for web scraping.
After adding an HTTPS certificate to an Nginx server, browsers load the site fine but curl requests are reset; the article walks through network checks, cipher and buffer tweaks, a certificate swap, and ultimately shows that configuring the ssl_session_cache directive resolves the reset issue.
Learn how to use PHP's curl_setopt function to configure HTTP requests, covering its syntax, parameter explanations, return values, and a complete example that demonstrates initializing a cURL session, setting options like URL, GET method, timeout, handling responses, and closing the session.
In this walkthrough I show how, within minutes, I used AI‑driven code search and simple curl commands to locate, enable, and test the newly added API server feature in the open‑source Cherry Studio project, illustrating the power of an AI‑first workflow.
cURL 8.16 introduces 17 changes across 270 releases, adding new command‑line options like --follow and --out‑null, enhancing parallel connections, supporting WebSocket read functions, updating TLS defaults, fixing two low‑severity CVEs, and delivering over 250 bug fixes, making it a must‑update for developers and ops teams.
This guide explains the purpose, syntax, parameters, return value, and a complete example of PHP's curl_setopt() function, showing how to set URLs, request methods, timeouts, and handle responses when making HTTP requests with cURL.
This article explains how the PHP curl_multi_close() function releases resources allocated by curl_multi_init(), demonstrates its proper usage with a complete code example, and highlights why closing multi‑cURL handles is essential for efficient network request handling.
This guide explains the PHP curl_setopt() function, covering its syntax, parameters, return value, and a complete example that demonstrates configuring a cURL session to perform a GET request with URL, method, timeout, and response handling, helping developers master HTTP requests in PHP.
This guide explains what curl is, why it’s useful for network debugging and automation, shows how to install it on common Linux distributions, describes its syntax, lists the most frequently used options for requests, data transfer, output handling, debugging, and provides practical command‑line examples.
This guide explains how to use curl and wget for fetching web content and downloading files, outlines Linux bonding modes for network interface aggregation, and provides step‑by‑step nmcli commands to configure both bonded and regular network interfaces on Linux systems.
This guide explains the PHP curl_setopt function, covering its syntax, parameters, return value, and a complete example that demonstrates how to configure and execute a GET request with cURL, handle errors, and close the session.
This article explains the PHP cURL library’s curl_init() function, covering its syntax, parameters, return values, and provides a complete example that demonstrates initializing a session, setting options, handling errors, executing requests, and processing JSON responses.
This article explains how to use PHP's curl_setopt function to configure cURL sessions, covering its syntax, parameters, return values, and a complete example that demonstrates sending a GET request with custom options and handling the response.
This article explains how the PHP curl_multi_getcontent() function works, demonstrates its use with a complete example for fetching multiple concurrent API responses, and highlights important considerations for ensuring each request has finished before retrieving its content.
PHP 8.5, slated for release in November 2025, introduces handy array helpers, a left‑to‑right pipe operator, getters for error and exception handlers, a cURL multi‑handle retrieval function, RTL locale detection, a build‑date constant, and a CLI option to show only modified INI settings, all aimed at improving developer experience and debugging.
Learn how to use PHP's curl_errno() function to obtain cURL request error codes, understand common error numbers, and implement robust error handling with practical code examples that initialize a cURL handle, execute requests, check for errors, and close the handle.
This guide presents essential cURL commands for service health checks, API testing, file transfer, debugging, Kubernetes interactions, monitoring, load balancing, and webhook triggering, demonstrating how the versatile tool can streamline automation, CI/CD pipelines, and daily DevOps tasks.
This guide shows how to select a model in LM Studio, expose a local port, start the HTTP server, and interact with it via curl commands, covering quick model listing, chat requests, and the difference between streaming and full‑response modes.
The article outlines PHP 8.5’s expected November 2025 release, highlights the new curl_multi_get_handles function, discusses backward‑compatibility and support timelines, and provides practical upgrade recommendations for developers.
Learn how to set up the lightweight Meilisearch engine using Docker, explore its rapid instant‑search features, and perform index, settings, document, and query operations via RESTful API and curl commands, all illustrated with step‑by‑step examples and screenshots.
curl 8.13.0 shatters previous records with more than 300 bug fixes, 501 new commits, and a host of new features such as TLS early data support, enhanced URL handling, and expanded rustls capabilities, all detailed in its comprehensive changelog.
This article explains the PHP cURL extension’s curl_setopt() function, covering its syntax, parameter meanings, boolean return value, and provides a complete example that demonstrates sending a GET request, handling responses, and closing the cURL session.
This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return values, and provides a complete example that demonstrates initializing a cURL session, setting options, executing a request, handling errors, and processing JSON responses.
This article explains how the PHP curl_multi_add_handle() function can be used to add multiple cURL handles to a single session, provides its syntax and parameters, and includes a complete example demonstrating initialization, adding handles, executing requests, retrieving responses, and cleaning up.
This tutorial walks through creating a personal GitLab access token, testing the GitLab API, configuring CI variables, importing a sample project, triggering a merge‑request pipeline, sending changed files to a Zhipu AI model, and writing the AI's review back into the merge request as comments.
This guide walks you through deploying the open‑source DeepSeek‑R1 inference model on Alibaba Cloud's Compute Nest platform, covering service creation, instance configuration, login procedures, and API calls with sample curl commands for text generation and chat.
This guide introduces essential Linux command‑line tools—curl and wget for data retrieval and file downloading, explains network bonding modes, and provides step‑by‑step nmcli commands to configure bond interfaces and assign IP addresses, offering a concise reference for system administrators.
This article explains how the PHP curl_multi_getcontent() function retrieves the response of each cURL handle created with curl_multi_init() and executed via curl_multi_exec(), provides a complete example with code, and highlights important usage considerations for concurrent API requests.
This article explains PHP's native JSON functions—json_encode and json_decode—showing how to convert PHP variables to JSON strings and back, and demonstrates a practical cURL example for fetching and processing JSON data from a remote API.
This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return values, and provides a complete example demonstrating initialization, option setting, execution, error handling, and response processing for HTTP API requests.
This article explains how the PHP curl_multi_add_handle() function can be used to add multiple cURL handles to a single session, improving network request efficiency and code maintainability, and provides a complete example with detailed code walkthrough.
This article provides a detailed tutorial on cURL, covering its basic usage, key options for HTTP and HTTPS requests, file upload and download techniques, and common troubleshooting tips to help developers efficiently interact with web services from the command line.
This article showcases over ten practical cURL examples—including filename globbing, configuration files, parallel requests, output formatting, testing, the trurl utility, data upload, and support for various protocols—demonstrating how the versatile tool can streamline networking, debugging, and automation tasks for developers and ops engineers.
The article explains how to use PHP’s curl_multi_select() function to wait for active cURL transfers in a multi‑handle scenario, detailing its definition, parameters, behavior, and providing a complete example that demonstrates efficient concurrent HTTP requests handling.
This article explains how the PHP curl_multi_getcontent() function retrieves the response content of each handle in a multi‑cURL session, demonstrates its usage with a complete example, and highlights important considerations for concurrent API requests.
This article explains the purpose and syntax of the PHP curl_close() function, demonstrates how to use it with curl_init() and curl_setopt() in a complete example, and highlights the resource, performance, and memory benefits of closing cURL sessions promptly.
This article explains how the PHP curl_multi_getcontent() function works, demonstrates its usage together with curl_multi_init() and curl_multi_exec() for concurrent requests, provides a complete code example, and highlights important considerations when fetching results from multiple cURL handles.
This article explains the PHP curl_errno() function, shows how to use it to obtain cURL error codes with example code, lists common error numbers, and demonstrates proper error handling to improve application stability.
This article explains how the PHP curl_multi_add_handle() function can add multiple cURL handles to a single multi‑handle session, provides its syntax and parameters, and includes a complete example demonstrating initialization, adding handles, executing requests, retrieving responses, and cleaning up.
This article explains how the PHP cURL library, especially the curl_exec() function, can be used to initialize a session, set options, execute HTTP requests, handle errors, and retrieve remote page content efficiently.
The article introduces the cURL project and its command‑line tool, explains that curl 8.8.0 has been officially released without known security issues, and lists the eight notable changes including libcurl enhancements, protocol support, macOS/iOS AppleIDN integration, and experimental Encrypted Client Hello.
This article explains how to use PHP's curl_setopt_array() function to batch‑set cURL options, improving code readability and maintainability, and provides a complete example with code demonstrating initialization, option configuration, request execution, and response handling.
This guide explains proxy server types, shows how to configure Linux curl for HTTP, HTTPS, and SOCKS4/4A/5 proxies with authentication options, provides concrete command examples, and demonstrates a method for testing the anonymity of each proxy type using a PHP script.
This guide explains proxy classifications, shows how to configure HTTP, HTTPS, and SOCKS proxies with Linux curl—including authentication options—and provides step‑by‑step examples and test results to evaluate the anonymity level of each proxy type.
This article explains how to use PHP's curl_multi_select() function within the curl_multi library to wait for active cURL transfers, describes its parameters, demonstrates a complete example with multiple handles, and provides best‑practice tips for efficient multi‑request handling.
This article explains the purpose, syntax, and usage of the PHP curl_close() function, provides a complete example of initializing, configuring, executing, and closing a cURL request, and outlines the resource‑saving benefits of properly terminating cURL sessions.
This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return values, and provides a complete example that demonstrates initializing a cURL session, setting options, executing a request, handling errors, closing the session, and processing JSON responses.
The article explains PHP’s curl_setopt() function, detailing its syntax, parameters, return value, and providing a complete example that demonstrates initializing a cURL session, setting options like URL, GET method, timeout, executing the request, handling errors, and closing the session.
Learn how to conceal your IP using Linux curl by configuring various HTTP and SOCKS proxy types, understanding their anonymity levels, applying appropriate curl parameters—including authentication options—and testing proxy effectiveness with a PHP script that reveals server‑side IP and header information.
This article explains the PHP curl_errno() function, detailing its definition, usage, and return values, provides a complete example showing how to initialize a cURL handle, execute a request, check for errors, retrieve error codes, and close the handle, and lists common cURL error codes.
This guide explains proxy server types, how to configure HTTP and SOCKS proxies with Linux curl—including authentication options—and provides step‑by‑step examples and testing methods to evaluate proxy anonymity levels.
This article explains how to use PHP's curl_error() function to retrieve and handle error messages from cURL HTTP requests, including a step‑by‑step example that creates a cURL handle, sets a URL, executes the request, checks for errors, and closes the handle.
This article explains the purpose and proper usage of PHP's curl_multi_close() function, showing how it releases resources allocated by curl_multi_init() through a detailed example that creates, executes, and then cleanly closes multiple cURL sessions.
Apple’s recent change to macOS’s cURL implementation, which forces the ‑‑cacert option to use the system trust store instead of a user‑supplied certificate bundle, has been criticised by cURL founder Daniel Stenberg as unreliable and potentially insecure, though Apple says the behaviour is intentional and not a bug.
This article explains the PHP curl_multi_setopt() function, its syntax, parameters, common options, and provides a complete example showing how to configure multiple cURL settings for efficient concurrent HTTP requests.
curl_multi_getcontent() is a PHP cURL function that retrieves the response content of individual handles within a multi‑handle session, and this guide explains its purpose, usage steps, and provides a complete example demonstrating initialization, execution, content extraction, and cleanup of multiple concurrent requests.
This article explains how to overcome browser Same-Origin Policy restrictions in PHP by using a proxy server with cURL for request forwarding or by setting appropriate Access-Control-Allow-Origin response headers, including code examples and security considerations.
This article explains how to create a basic web crawler in a Linux environment using PHP, covering prerequisite installations, script development with cURL and DOMDocument, execution steps, and sample output while emphasizing legal and ethical considerations for web scraping.
This article explains how to boost PHP web application performance by using output buffering, gzip compression, HTTP caching headers, and asynchronous cURL requests, providing code examples for each optimization technique in real-world scenarios.
This article explains how to use PHP's built‑in network functions, such as file_get_contents() and cURL, to perform remote HTTP GET and POST requests, includes step‑by‑step code examples, and discusses choosing the appropriate method for data transmission in backend development.
This guide explains how to compile the PHP Curl extension with experimental HTTP/3 support, detect whether Curl supports HTTP/3, and use PHP code to issue HTTP/3 requests, including required libraries, build steps, and practical code examples.
The article reports two high‑severity libcurl vulnerabilities (CVE‑2023‑38545 and CVE‑2023‑38546) disclosed by curl’s maintainer, explains the limited public information before the scheduled curl 8.4.0 release, and urges developers to upgrade promptly due to the library’s widespread use.
The new curl 8.4.0 release on October 11 patches a severe SOCKS5 heap buffer overflow (CVE‑2023‑38545), urging all developers and users to upgrade immediately to mitigate the dangerous vulnerability.
The curl project announced the upcoming 8.4.0 release and disclosed two high‑severity CVEs that affect both the curl command‑line tool and the libcurl library, urging organizations to audit their usage, prepare upgrades, and stay alert for further details.
This guide introduces five essential Linux command-line HTTP clients—cURL, HTTPie, Wget, HTTPie-go, and Wuzz—explaining their key features and providing ready-to-use command examples for GET, POST, file downloads, and interactive requests.
This article provides an in-depth overview of PHP's cURL library, detailing its core functions, common options such as CURLOPT_URL and CURLOPT_POST, and practical code examples for GET, POST, custom headers, SSL handling, timeouts, file saving, and proxy usage.
This tutorial demonstrates how to obtain Baidu TTS credentials, construct the required signature, send an HTTP request using PHP's cURL library, and save the returned audio data as an MP3 file, providing a complete code example for developers.