<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: leo</title>
    <description>The latest articles on DEV Community by leo (@iplight).</description>
    <link>https://dev.to/iplight</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4269033%2Fc4a8a798-b251-4e56-a23f-e717c87ee6bf.png</url>
      <title>DEV Community: leo</title>
      <link>https://dev.to/iplight</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iplight"/>
    <language>en</language>
    <item>
      <title>Your Proxy Pool Isn't Broken. Your Client Is.</title>
      <dc:creator>leo</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:12:53 +0000</pubDate>
      <link>https://dev.to/iplight/your-proxy-pool-isnt-broken-your-client-is-4m74</link>
      <guid>https://dev.to/iplight/your-proxy-pool-isnt-broken-your-client-is-4m74</guid>
      <description>&lt;p&gt;&lt;em&gt;A field guide to the five layers anti-bot systems actually score — and why changing providers fixes exactly one of them.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;There is a specific Slack message that every data team sends eventually:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"The proxies stopped working."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nine times out of ten, they haven't. I have watched this diagnosis go wrong for years, and it is expensive: teams rotate providers, buy more IPs, add another vendor, and the failure rate does not move. Then someone finally opens a browser, loads the same URL through the same exit, and it works perfectly.&lt;/p&gt;

&lt;p&gt;That single observation is the whole article. If the IP works in a browser and fails in your script, the IP was never the problem.&lt;/p&gt;

&lt;p&gt;The useful mental model is that anti-bot systems score five layers, in order of how early they see you. A proxy can influence the first one. The other four belong to your client.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 1 — the network identity
&lt;/h2&gt;

&lt;p&gt;Before a byte of content is exchanged, the exit IP is already scored. The system looks at the ASN, the registration of the range, whether it appears in abuse feeds, how many distinct accounts recently used it, and whether it belongs to a hosting provider or an access network.&lt;/p&gt;

&lt;p&gt;This is the layer everyone knows about, and it is the one a proxy purchase actually addresses. It is also where the differences between exit types come from:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Exit type&lt;/th&gt;
&lt;th&gt;Typical reputation&lt;/th&gt;
&lt;th&gt;Usual response&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Datacenter / IDC&lt;/td&gt;
&lt;td&gt;Low — the ASN announces itself as hosting&lt;/td&gt;
&lt;td&gt;Blocked outright, or a challenge you cannot pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Residential broadband&lt;/td&gt;
&lt;td&gt;Medium — a real ISP, but the ranges get recycled&lt;/td&gt;
&lt;td&gt;Challenge, rate limit, gradual degradation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mobile 4G/5G&lt;/td&gt;
&lt;td&gt;High — shared with real handsets&lt;/td&gt;
&lt;td&gt;Fewer challenges; limits usually apply to behaviour&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Note the middle row carefully. Residential is not a magic word. A residential range that has been used by ten thousand scraping jobs has a &lt;em&gt;worse&lt;/em&gt; reputation than a clean datacenter IP on a site that doesn't care about ASNs. Reputation is a history, not a category.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 2 — the TLS handshake
&lt;/h2&gt;

&lt;p&gt;Before HTTP exists, your client offers a list of cipher suites, curves, extensions — and the order it presents them in. That offering is a fingerprint (JA3, JA4, and newer formats).&lt;/p&gt;

&lt;p&gt;Here is the part people miss: a mismatch is a stronger signal than any single value. A request claiming to be Chrome 120 while offering the cipher suite of a Python HTTP library is not "a slightly unusual browser". It is a contradiction, and contradictions are exactly what a classifier is good at finding.&lt;/p&gt;

&lt;p&gt;This is the layer where &lt;code&gt;requests.get()&lt;/code&gt; against a browser-only endpoint usually dies. You can set every header correctly and still fail, because headers are layer 3 and the handshake happened before them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What actually fixes it:&lt;/strong&gt; a client that genuinely mimics a browser's TLS behaviour — &lt;code&gt;curl_cffi&lt;/code&gt; with a browser profile, or a patched TLS stack. Not a header that says "Chrome".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What makes it worse:&lt;/strong&gt; manually setting &lt;code&gt;User-Agent&lt;/code&gt; to a real browser while keeping the library's handshake. That combination is more detectable than being honest, because it creates the contradiction deliberately.&lt;/p&gt;

&lt;p&gt;A practical first step before blaming anyone: send the same request from a real browser and from your script, both through the same exit, and compare them on a fingerprint-check page. The diff tells you which layer you are losing at.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 3 — HTTP/2 settings and header order
&lt;/h2&gt;

&lt;p&gt;Real browsers emit HTTP/2 settings — window size, max concurrent streams, pseudo-header order — in a stable pattern, and send headers in a stable order with consistent casing. An HTTP/1.1 client that puts &lt;code&gt;User-Agent&lt;/code&gt; before &lt;code&gt;Host&lt;/code&gt;, or omits &lt;code&gt;Sec-Fetch-*&lt;/code&gt; entirely, looks like exactly what it is.&lt;/p&gt;

&lt;p&gt;Most HTTP/2-capable stacks let you observe this cheaply. Do it once per target, record the expected pattern, and stop guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 4 — cookies and state
&lt;/h2&gt;

&lt;p&gt;A first request with no cookies is normal. The tenth request with no cookies is not.&lt;/p&gt;

&lt;p&gt;Anti-bot systems typically set a clearance cookie on first contact and then expect it back. A client with no cookie jar re-earns a challenge on every single request — which reads as "extremely suspicious traffic" while looking, in your logs, like "the proxy is failing intermittently".&lt;/p&gt;

&lt;p&gt;This is the most common cause of "it works in the browser but not in my script", and it is also the cheapest to fix:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Session&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                 &lt;span class="c1"&gt;# one jar for the whole run&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;proxies&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;PROXY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"https"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;PROXY&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;update&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"Accept-Language"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"en-US,en;q=0.9"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"Accept-Encoding"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gzip, deflate, br"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://example.com/"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;           &lt;span class="c1"&gt;# earns the clearance cookie&lt;/span&gt;
&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://example.com/data"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# carries it&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If your success rate jumps the moment you stop calling &lt;code&gt;requests.get()&lt;/code&gt; and start reusing a &lt;code&gt;Session&lt;/code&gt;, you were never fighting the IP.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 5 — behaviour
&lt;/h2&gt;

&lt;p&gt;If the first four layers are consistent, what remains is what you do with them.&lt;/p&gt;

&lt;p&gt;Request rate per exit. Navigation order. Whether you ever load CSS or images. How fast you move between pages. Whether the same path is hit in a perfect loop. All of it is observable, and all of it is your client's signature.&lt;/p&gt;

&lt;p&gt;The rule I keep coming back to: distribute across exits at roughly the rate a real user of that connection would generate. A single mobile IP making 5,000 requests a minute is not behaving like a phone, no matter how good its ASN is. That is why mobile forces better engineering on you — each session is a physical handset, so you naturally end up pacing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The table that ends the argument
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Problem&lt;/th&gt;
&lt;th&gt;Does a better proxy help?&lt;/th&gt;
&lt;th&gt;What actually fixes it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Datacenter ASN blocked&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Move to residential or mobile exits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Range reputation degraded&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Partly&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rotate exits; reserve sticky sessions for flows that need them&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Broken TLS fingerprint&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A browser-mimicking client, or a real browser&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contradictory headers&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Make headers match the client you claim to be&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dropped cookie jar&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A persistent session object&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Request rate too high&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Partly&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Slow down and distribute — more exits help, pacing helps more&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A JS challenge that must execute&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Partly&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A real browser, or an unlock API that handles it server-side&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The pattern is clean: &lt;strong&gt;a proxy solves identity. Everything your client says about itself, and everything it does, is yours.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters commercially
&lt;/h2&gt;

&lt;p&gt;Teams routinely spend months and five figures on the one layer that a purchase can fix, while losing 20–40% of requests to the four layers that a purchase cannot touch.&lt;/p&gt;

&lt;p&gt;Before the next provider renewal, do this instead:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Take your three worst-performing targets.&lt;/li&gt;
&lt;li&gt;For each, load the page once in a real browser through the same exit.&lt;/li&gt;
&lt;li&gt;If it works, the problem is your client. Stop shopping.&lt;/li&gt;
&lt;li&gt;If it fails in both, the target is genuinely evaluating the network — now a different exit type is worth paying for.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That four-step check has saved more budget in my experience than any price negotiation.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;IPLight publishes a &lt;a href="https://www.iplight.net/en/pool-report" rel="noopener noreferrer"&gt;live pool report&lt;/a&gt; and a deeper write-up of these five layers in the &lt;a href="https://www.iplight.net/docs/anti-bot-systems.html?lang=en" rel="noopener noreferrer"&gt;anti-bot detection guide&lt;/a&gt;. Residential traffic starts at $1.20/GB; mobile 4G/5G from $2.00/GB. If your team is at the point where client-side engineering has become the bottleneck, the &lt;a href="https://www.iplight.net/en/web-unlocker" rel="noopener noreferrer"&gt;Web Unlocker API&lt;/a&gt; is in early access — it moves layers 2–5 to the server and bills per successful request.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>python</category>
      <category>proxy</category>
      <category>scraping</category>
    </item>
  </channel>
</rss>
