Skip to content

Hexaproxytech/proxy-persistence-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-persistence-tester

Is your mobile proxy actually warm-up grade? Find out before you burn a $5000 ad account.

A no-nonsense CLI tool to test whether a mobile proxy is suitable for serious work — ad account warm-up, multi-accounting, scraping at scale. Tests ASN classification, public blacklists, latency, and carrier-side IP persistence over time.

Built and maintained by HexaProxy, a French 4G mobile proxy provider. Works with any HTTP/HTTPS proxy, not just ours.

Why this tool exists

Mobile 4G proxy providers sell on three claims:

  1. "Real mobile carrier IPs" — often false, datacenter ranges relabeled.
  2. "Sticky sessions" — also false. The carrier owns the IP, not the provider. No one can guarantee zero involuntary reassignment on cellular networks.
  3. "Clean IPs" — sometimes false, IPs come pre-flagged on Spamhaus or fraud databases.

This tool measures all three empirically. After running it, you know whether your proxy is warm-up grade (stable enough to host a $5000 ad account for 14 days) or scraping grade (volatile but fine for high-volume requests) or junk (return your money).

Install

pip install git+https://github.com/Hexaproxytech/proxy-persistence-tester.git

Or clone and install editable:

git clone https://github.com/Hexaproxytech/proxy-persistence-tester.git
cd proxy-persistence-tester
pip install -e .

Usage

Quick check (5 minutes)

Skip the long persistence sample, run only the fast checks:

proxy-tester check \
  --proxy http://user:pass@gateway.example.com:8000 \
  --persistence-minutes 5

Full check (1 hour, recommended for warm-up validation)

proxy-tester check \
  --proxy http://user:pass@gateway.example.com:8000 \
  --persistence-minutes 60

Production validation (24h, run in tmux/screen)

proxy-tester check \
  --proxy http://user:pass@gateway.example.com:8000 \
  --persistence-minutes 1440

Sample output

╭──────────────────────────────────────────╮
│  proxy-persistence-tester v0.1           │
│  testing http://****:****@gateway:8000   │
╰──────────────────────────────────────────╯

[1/4] ASN check
  IP:        82.45.123.67
  Org:       AS3215 Orange S.A.
  Carrier:   ✓ real mobile carrier (Orange France)
  Country:   FR
  PASS

[2/4] Blacklist check (Spamhaus DNSBL)
  Listed:    no
  PASS

[3/4] Latency check
  Mean:      87 ms over 5 endpoints
  PASS (mobile-grade: 50-150ms expected)

[4/4] Persistence check (60 samples over 60 min)
  Sampling every 60s...
  ............................................................
  Unique IPs:    1
  Unique ASNs:   1 (AS3215 Orange S.A.)
  Country drift: none
  PASS

═══════════════════════════════════════════
VERDICT: WARM-UP GRADE ✅
Suitable for: Facebook/TikTok/Google ad accounts, multi-day sessions.
═══════════════════════════════════════════

Verdict tiers

Verdict Meaning
🟢 WARM-UP GRADE All 4 checks passed. Stable enough for ad account warm-up and multi-day sessions.
🟡 SCRAPING GRADE ASN + blacklist OK, but persistence is too low for warm-up. Fine for high-volume scraping where IP diversity is a feature.
🟠 DEGRADED At least one major check failed (e.g., wrong ASN, listed on a blacklist, country drift detected). Use at your own risk.
🔴 JUNK Multiple checks failed. Demand a refund.

Checks performed

1. ASN check

Connects through the proxy, fetches ipinfo.io, and verifies that the IP belongs to a real mobile carrier ASN. Database covers French (Orange, SFR, Bouygues, Free Mobile), US (T-Mobile, Verizon, AT&T), and major European carriers.

2. Blacklist check

Queries Spamhaus ZEN DNSBL via DNS reverse lookup. Sub-second, no API key required. If the IP is listed, it has a fraud history — avoid for any serious work.

3. Latency check

Times HTTP requests to a small set of stable endpoints (Google, Cloudflare). Real 4G mobile should sit at 50–150ms. Above 300ms suggests slow modem or relay routing somewhere it shouldn't.

4. Persistence check (the important one)

Samples the public IP every minute for the configured duration. Reports:

  • Number of unique IPs seen
  • ASN consistency (did the carrier change?)
  • Country drift (did you accidentally route through another country?)

A truly warm-up-grade proxy on a stable carrier (Orange in France) holds the same IP for the full sampling window. Occasional involuntary reassignments are acceptable as long as the new IP stays in the same ASN and country.

What this tool does NOT do

  • WebRTC leak detection — requires a real browser. Use browserleaks.com/webrtc inside your anti-detect browser instead.
  • Fingerprint analysis — you need an anti-detect setup, not a proxy tester.
  • Fraud score lookup on commercial APIs (IPHub, IPQS, Scamalytics) — most require paid keys. The DNSBL check is the free, fast alternative.

Contributing

Open issues and PRs welcome. If you've got carrier ASN ranges to add to the database, send a PR — we want this list as complete as possible.

License

MIT. Use it freely, fork it, sell services around it. Attribution appreciated but not required.


Built by HexaProxy · Blog · [Twitter / X coming soon]

About

Test if a mobile proxy is warm-up grade: ASN, blacklists, latency, carrier-side IP persistence.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages