Skip to main content

Ultra-Fast Proxy Fetcher & Tester

CI Python 3.10+ License: MIT

Fetch, validate, rank, and save public HTTP, SOCKS4, and SOCKS5 proxy endpoints with one Python script. The engine uses bounded asynchronous concurrency, strict public-address filtering, and an end-to-end HTTPS connectivity check.

Bounded proxy validation pipeline

This project is intended for authorized network testing, software development, and research. Public proxies are untrusted. Never send credentials, personal information, proprietary data, or other sensitive traffic through an endpoint produced by this tool.

Version 2.0.0 is the current verified release. Download the standalone runtime and integrity files from the release page.

Why this version is different

  • Fetches concurrently from 52 curated HTTPS sources validated on 2026-08-12.
  • Rejects private, loopback, link-local, multicast, reserved, malformed, and invalid-port entries before attempting a proxy connection.
  • Validates HTTP CONNECT, SOCKS4, and SOCKS5 transports against a fixed HTTPS endpoint that must return exactly 204.
  • Blocks unsafe source URLs and redirects, verifies source TLS, checks DNS destinations, and caps decompressed response sizes.
  • Uses bounded worker pools, source concurrency, timeouts, and a default 5,000-candidate safety cap.
  • Caps every source at 5 MiB and 10,000 unique endpoints to constrain hostile or malformed feeds.
  • Does not display third-party proxy addresses in live progress output.
  • Atomically invalidates stale output before testing and replaces it with the completed report, including when no proxies work.
  • Keeps all application logic in proxy_fetcher_ultimate.py.

Requirements

  • Python 3.10 or newer
  • Internet access to the configured source hosts and HTTPS connectivity endpoint

Installation

git clone https://github.com/fusiontechstrategies/Ultra-Fast-Proxy-Fetcher-Tester.git
cd Ultra-Fast-Proxy-Fetcher-Tester
python -m venv .venv

Activate the environment on Windows:

.venv\Scripts\Activate.ps1

Activate it on Linux or macOS:

source .venv/bin/activate

Install the runtime dependencies:

python -m pip install --upgrade pip
python -m pip install -r requirements.txt

Usage

Run with safe defaults:

python proxy_fetcher_ultimate.py

Fetch and validate source data without testing or saving proxy endpoints:

python proxy_fetcher_ultimate.py --fetch-only

Test a smaller HTTP-only sample:

python proxy_fetcher_ultimate.py --protocol http --max-candidates 500 --concurrent 50

Choose a different output file and hide live progress:

python proxy_fetcher_ultimate.py --output results/proxies.txt --quiet

Show every option and its enforced bounds:

python proxy_fetcher_ultimate.py --help

Show the stable product version:

python proxy_fetcher_ultimate.py --version

Important defaults

Setting Default Enforced maximum
Proxy checks 100 concurrent 500
Source downloads 12 concurrent 32
Candidates tested 5,000 50,000
Proxy timeout 8 seconds 30 seconds
Source timeout 12 seconds 30 seconds

Actual throughput depends on network conditions, operating-system limits, candidate quality, protocol mix, and timeout settings. The project deliberately makes no fixed checks-per-second promise.

Output

Working endpoints are sorted by measured response time and grouped into speed categories. The following addresses are documentation-only examples and are never shipped as a usable proxy list:

# LIGHTNING FAST (under 200ms)
http://192.0.2.10:8080              # 142.18ms

# VERY FAST (200-499ms)
socks5://198.51.100.20:1080         # 318.42ms

Generated proxy files are excluded by .gitignore. Treat them as transient operational data.

Exit codes

Code Meaning
0 Completed successfully and, unless using --fetch-only, found at least one working proxy
1 Output or application failure
2 No valid public candidates were collected
3 Candidates were tested but none passed validation
130 Interrupted by the user

Security model and limitations

  • The fixed HTTPS 204 check validates connectivity and TLS tunneling. It does not prove anonymity, trustworthiness, geographic location, uptime, or ownership.
  • A proxy can become malicious or unavailable immediately after a successful test.
  • Third-party source availability and content can change without notice.
  • Source entries are data from independent projects. This repository does not redistribute a current proxy snapshot.
  • The application ignores system proxy environment variables for source retrieval and test traffic.
  • Adding custom target URLs is intentionally unsupported to reduce misuse and accidental traffic against third parties.

Read SECURITY.md for vulnerability reporting and RESPONSIBLE_USE.md before operating the tool.

Release integrity

The v2.0.1 release process is designed to contain exactly seven files:

  1. an exact standalone copy of proxy_fetcher_ultimate.py
  2. a deterministic source and documentation ZIP
  3. a verified Python wheel
  4. a verified Python source archive
  5. an SPDX 2.3 direct-dependency SBOM
  6. SHA256SUMS.txt
  7. commit-bound release-evidence.json

The builder uses a fixed file allowlist, canonical ZIP order, timestamps, permissions, and metadata. It rejects mismatched versions, tags, dependencies, source files, commits, or output sets. GitHub Actions builds the assets twice, compares every byte, exercises the exact standalone runtime without network access, and attests every asset before creating a draft. The workflow cannot publish the draft and does not publish to a package registry.

See RELEASING.md for the exact contract and TESTING.md for offline, live, and release validation boundaries.

Development

Install the development checks:

python -m pip install -r requirements-dev.txt

Run the same offline checks used by GitHub Actions:

python -m pip check
python -m ruff check .
python -m ruff format --check .
python -m unittest discover -s tests -v
python -m mypy proxy_fetcher_ultimate.py
python -m bandit -q -r proxy_fetcher_ultimate.py
python -m pip_audit -r requirements.txt
python -m pip_audit -r requirements-dev.txt

See CONTRIBUTING.md for source-review and pull-request requirements.

License

Released under the MIT License.

Metadata

Release files for ultra-fast-proxy-fetcher-tester 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ultra-fast-proxy-fetcher-tester 2.0.1
File Size Uploaded
ultra_fast_proxy_fetcher_tester-2.0.1.tar.gz 112.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ultra-fast-proxy-fetcher-tester 2.0.1
File Interpreter ABI Platform
ultra_fast_proxy_fetcher_tester-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 160.9 kB

Release files / ultra_fast_proxy_fetcher_tester-2.0.1.tar.gz

Download URL ultra_fast_proxy_fetcher_tester-2.0.1.tar.gz
Size 112.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c513ca45d0bd78ccd0ca9fb70d10a2f5236d206b2e4ef1ce3f4ac04965c14c69
BLAKE2b-256 checksum
How to use checksums
bb22c9c4ed249e334587ad290180fe4bdf76f570180f01fb2d22ecf6d572c790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / ultra_fast_proxy_fetcher_tester-2.0.1-py3-none-any.whl

Download URL ultra_fast_proxy_fetcher_tester-2.0.1-py3-none-any.whl
Size 48.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
737c9004a08c81c22dc9ded8b725b609d15391c90c8066693d5eccc67e2af0c4
BLAKE2b-256 checksum
How to use checksums
d29e9e720dbba557b5375d3ecc46b6b7bd1cddfd3538c179124f93c16285ff23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page