<?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: theinfosiast-cloud-developer</title>
    <description>The latest articles on DEV Community by theinfosiast-cloud-developer (@theinfosiastclouddeveloper).</description>
    <link>https://dev.to/theinfosiastclouddeveloper</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%2F4233924%2F9ea79b08-3212-4f9c-8b92-3b6ae7205455.png</url>
      <title>DEV Community: theinfosiast-cloud-developer</title>
      <link>https://dev.to/theinfosiastclouddeveloper</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theinfosiastclouddeveloper"/>
    <language>en</language>
    <item>
      <title>Passkeys vs. Passwords in 2026: WebAuthn Level 3, AitM Phishing Defense &amp; Gmail Passkey Recovery</title>
      <dc:creator>theinfosiast-cloud-developer</dc:creator>
      <pubDate>Sun, 08 Nov 2026 17:56:49 +0000</pubDate>
      <link>https://dev.to/theinfosiastclouddeveloper/passkeys-vs-passwords-in-2026-webauthn-level-3-aitm-phishing-defense-gmail-passkey-recovery-34lo</link>
      <guid>https://dev.to/theinfosiastclouddeveloper/passkeys-vs-passwords-in-2026-webauthn-level-3-aitm-phishing-defense-gmail-passkey-recovery-34lo</guid>
      <description>&lt;p&gt;Adversary-in-the-Middle (&lt;strong&gt;AitM&lt;/strong&gt;) reverse-proxy frameworks such as Evilginx2 and Modlishka intercept both passwords and real-time 6-digit TOTP/SMS codes by proxying session cookies directly from the identity provider. &lt;strong&gt;FIDO2 / W3C WebAuthn passkeys&lt;/strong&gt; eliminate this attack class at the cryptographic protocol layer through strict &lt;strong&gt;Relying Party ID (&lt;code&gt;rpId&lt;/code&gt;) origin binding&lt;/strong&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Interactive Authentication &amp;amp; Identity Security Tools:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/gmail-passkey-setup-recovery-guide/#ti-gmail-passkey-checker" rel="noopener noreferrer"&gt;Launch the Gmail &amp;amp; Google Account Passkey Readiness Auditor&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/passkeys-vs-passwords-2026-security-guide/#ti-passkey-tester" rel="noopener noreferrer"&gt;Launch the Passkey Enclave &amp;amp; AitM Phishing Simulator&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/meta-account-centre-how-it-works-security-risks-and-account-protection/#ti-meta-auditor" rel="noopener noreferrer"&gt;Launch the Meta Accounts Center Cross-Login Risk Auditor&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/otp-scam-common-tactics-and-how-to-stay-safe/#ti-otp-analyzer" rel="noopener noreferrer"&gt;Launch the OTP &amp;amp; Verification Request Legitimacy Analyzer&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. How WebAuthn Origin Binding Defeats Reverse-Proxy Phishing
&lt;/h2&gt;

&lt;p&gt;During a WebAuthn assertion (&lt;code&gt;navigator.credentials.get()&lt;/code&gt;), the browser passes the exact TLS origin (&lt;code&gt;https://accounts.google.com&lt;/code&gt;) to the hardware authenticator (TPM 2.0, Apple Secure Enclave, Android Keystore, or YubiKey). The authenticator signs &lt;code&gt;SHA-256(rpId)&lt;/code&gt; alongside &lt;code&gt;clientDataJSON&lt;/code&gt;. If a user visits a lookalike phishing domain (&lt;code&gt;accounts-google-security.com&lt;/code&gt;), the origin mismatch prevents the authenticator from locating or signing with the genuine private key—even if the user attempts to approve the prompt.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Hardening Gmail &amp;amp; Google Accounts Against SMS Downgrade Attacks
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Authentication Layer&lt;/th&gt;
&lt;th&gt;Phishing Resistance&lt;/th&gt;
&lt;th&gt;Device-Loss Recovery Path&lt;/th&gt;
&lt;th&gt;Recommended Configuration&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Synced Passkey&lt;/strong&gt; (iCloud Keychain / Google Password Manager)&lt;/td&gt;
&lt;td&gt;High (Cryptographic &lt;code&gt;rpId&lt;/code&gt; binding)&lt;/td&gt;
&lt;td&gt;Cloud E2EE PIN/Biometric restore&lt;/td&gt;
&lt;td&gt;Primary daily sign-in across laptop &amp;amp; mobile&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Hardware Security Key&lt;/strong&gt; (FIDO2 YubiKey / Titan)&lt;/td&gt;
&lt;td&gt;Maximum (Hardware-bound non-exportable key)&lt;/td&gt;
&lt;td&gt;Keep a 2nd backup hardware key in a physical safe&lt;/td&gt;
&lt;td&gt;Required for Google Advanced Protection Program&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SMS / Voice 2FA Fallback&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Vulnerable to SIM-Swap &amp;amp; AitM&lt;/td&gt;
&lt;td&gt;Carrier SIM replacement&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Remove&lt;/strong&gt; once 2+ passkeys and offline 8-digit backup codes are registered&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Audit your current recovery posture with our &lt;strong&gt;&lt;a href="https://theinfosiast.com/gmail-passkey-setup-recovery-guide/#ti-gmail-passkey-checker" rel="noopener noreferrer"&gt;Interactive Gmail Passkey Readiness &amp;amp; Recovery Checker&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://theinfosiast.com/passkeys-vs-passwords-2026-security-guide/#ti-passkey-tester" rel="noopener noreferrer"&gt;Full Passkeys vs. Passwords 2026 Security Guide&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
    </item>
    <item>
      <title>Post-Quantum Cryptography (NIST FIPS 203 &amp; 204): Hybrid X25519MLKEM768 TLS 1.3 Wire-Size &amp; TCP MSS Guide</title>
      <dc:creator>theinfosiast-cloud-developer</dc:creator>
      <pubDate>Sun, 08 Nov 2026 17:56:32 +0000</pubDate>
      <link>https://dev.to/theinfosiastclouddeveloper/post-quantum-cryptography-nist-fips-203-204-hybrid-x25519mlkem768-tls-13-wire-size-tcp-mss-5b6h</link>
      <guid>https://dev.to/theinfosiastclouddeveloper/post-quantum-cryptography-nist-fips-203-204-hybrid-x25519mlkem768-tls-13-wire-size-tcp-mss-5b6h</guid>
      <description>&lt;p&gt;With NIST finalizing &lt;strong&gt;FIPS 203 (ML-KEM)&lt;/strong&gt;, &lt;strong&gt;FIPS 204 (ML-DSA)&lt;/strong&gt;, and &lt;strong&gt;FIPS 205 (SLH-DSA)&lt;/strong&gt;, enterprise zero-trust networks and public TLS 1.3 endpoints are actively migrating to hybrid post-quantum key exchange (&lt;code&gt;X25519MLKEM768&lt;/code&gt;, group &lt;code&gt;0x11ec&lt;/code&gt;) to neutralize &lt;strong&gt;Harvest Now, Decrypt Later (HNDL)&lt;/strong&gt; interception.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Interactive Post-Quantum Cryptography Labs &amp;amp; Benchmarks:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/post-quantum-cryptography-zero-trust-migration-blueprint/#ti-pqc-simulator" rel="noopener noreferrer"&gt;Launch the Post-Quantum TLS 1.3 Handshake &amp;amp; TCP MSS Simulator&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/what-is-secure-shell-ssh-and-how-to-use-it-to-connect-securely-over-the-internet/#ti-ssh-generator" rel="noopener noreferrer"&gt;Launch the OpenSSH 9.9+ Post-Quantum Keygen &amp;amp; sshd_config Generator&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://colab.research.google.com/github/theinfosiast-cloud-developer/llm-vram-pqc-security-benchmarks/blob/main/notebooks/ti_pqc_ml_kem_tls_benchmark.ipynb" rel="noopener noreferrer"&gt;Run the Python NIST FIPS 203/204 Benchmark Notebook in Google Colab&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/theinfosiast-cloud-developer/llm-vram-pqc-security-benchmarks" rel="noopener noreferrer"&gt;Download Raw Wire-Size CSV Datasets on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. Classical X25519 vs. Hybrid X25519MLKEM768 TLS 1.3 Key-Share Sizes
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Algorithm / Hybrid Group&lt;/th&gt;
&lt;th&gt;Standard / IANA Codepoint&lt;/th&gt;
&lt;th&gt;ClientHello KeyShare&lt;/th&gt;
&lt;th&gt;ServerHello Ciphertext&lt;/th&gt;
&lt;th&gt;Public Key / Sig Size&lt;/th&gt;
&lt;th&gt;Fits Single 1460B TCP Segment?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;X25519&lt;/code&gt; (Classical ECDHE)&lt;/td&gt;
&lt;td&gt;RFC 8446 (&lt;code&gt;0x001d&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;32 Bytes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;32 Bytes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;32 Bytes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Yes (&lt;code&gt;1 TCP segment&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;X25519MLKEM768&lt;/code&gt; (Hybrid KEM)&lt;/td&gt;
&lt;td&gt;NIST FIPS 203 (&lt;code&gt;0x11ec&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1,216 Bytes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1,120 Bytes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;1,184 B&lt;/code&gt; + &lt;code&gt;32 B&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Spans &lt;code&gt;2 TCP segments&lt;/code&gt; (ClientHello)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;ML-DSA-65&lt;/code&gt; (Dilithium3)&lt;/td&gt;
&lt;td&gt;NIST FIPS 204&lt;/td&gt;
&lt;td&gt;N/A (Cert Auth)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;1,952 B&lt;/code&gt; PK / &lt;code&gt;3,309 B&lt;/code&gt; Sig&lt;/td&gt;
&lt;td&gt;Chain adds &lt;code&gt;~9.8 KB&lt;/code&gt; (&lt;code&gt;7 TCP segments&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;SLH-DSA-SHA2-128f&lt;/code&gt; (SPHINCS+)&lt;/td&gt;
&lt;td&gt;NIST FIPS 205&lt;/td&gt;
&lt;td&gt;N/A (Stateless Hash)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;32 B&lt;/code&gt; PK / &lt;code&gt;17,088 B&lt;/code&gt; Sig&lt;/td&gt;
&lt;td&gt;Exceeds &lt;code&gt;initcwnd=10&lt;/code&gt; (&lt;code&gt;14.6 KB&lt;/code&gt; window)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  2. Why Legacy Middleboxes Drop Hybrid Post-Quantum ClientHello Packets
&lt;/h2&gt;

&lt;p&gt;When a TLS 1.3 client advertises &lt;code&gt;X25519MLKEM768&lt;/code&gt; (&lt;code&gt;1,216-byte&lt;/code&gt; key share) alongside standard extensions (SNI, ALPN, supported_groups, signature_algorithms), the total &lt;code&gt;ClientHello&lt;/code&gt; record crosses the &lt;code&gt;1,460-byte&lt;/code&gt; Ethernet TCP Maximum Segment Size (MSS). Older deep-packet inspection (DPI) firewalls that assume &lt;code&gt;ClientHello&lt;/code&gt; fits inside a single TCP packet stall or reset the connection—requiring TCP MSS clamping and middlebox firmware validation before full enforcement.&lt;/p&gt;

&lt;p&gt;Explore the full zero-trust migration blueprint and test your own MTU/RTT parameters in our &lt;strong&gt;&lt;a href="https://theinfosiast.com/post-quantum-cryptography-zero-trust-migration-blueprint/#ti-pqc-simulator" rel="noopener noreferrer"&gt;Interactive Post-Quantum TLS 1.3 Simulator&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>devops</category>
    </item>
    <item>
      <title>Why Websites Detect Your VPN or Proxy in 2026: WebRTC STUN Leaks, CGNAT &amp; Post-Quantum TLS</title>
      <dc:creator>theinfosiast-cloud-developer</dc:creator>
      <pubDate>Sun, 08 Nov 2026 17:47:20 +0000</pubDate>
      <link>https://dev.to/theinfosiastclouddeveloper/why-websites-detect-your-vpn-or-proxy-in-2026-webrtc-stun-leaks-cgnat-post-quantum-tls-20hm</link>
      <guid>https://dev.to/theinfosiastclouddeveloper/why-websites-detect-your-vpn-or-proxy-in-2026-webrtc-stun-leaks-cgnat-post-quantum-tls-20hm</guid>
      <description>&lt;p&gt;Even when your VPN tunnel encrypts traffic and rotates your public IPv4 address, modern anti-bot engines, streaming platforms, and fraud-prevention firewalls inspect five independent network layers to detect proxy and tunnel usage in milliseconds.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Live Client-Side Network &amp;amp; Security Diagnostic Labs:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/why-websites-detect-vpn-or-proxy/#ti-vpn-detected-checker" rel="noopener noreferrer"&gt;Launch the VPN/Proxy Detection Troubleshooter&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/check-ip-webrtc-dns-leak-test/#ti-leak-tester" rel="noopener noreferrer"&gt;Run the Live IP, WebRTC STUN &amp;amp; DNS Leak Test&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/post-quantum-cryptography-zero-trust-migration-blueprint/#ti-pqc-simulator" rel="noopener noreferrer"&gt;Simulate NIST FIPS 203 (ML-KEM-768) Post-Quantum TLS 1.3 Handshakes&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/tools/" rel="noopener noreferrer"&gt;Explore All 18 Interactive Security &amp;amp; AI Calculators&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. The 5 Protocol Signals That Expose a VPN or Proxy
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Detection Vector&lt;/th&gt;
&lt;th&gt;Protocol Layer&lt;/th&gt;
&lt;th&gt;How Firewalls Detect It&lt;/th&gt;
&lt;th&gt;Remediation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1. ASN &amp;amp; Datacenter IP Reputation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BGP / IPv4-IPv6&lt;/td&gt;
&lt;td&gt;Commercial VPN endpoints belong to hosting ASNs (M247, Datacamp, DigitalOcean, Choopa) listed in IP reputation databases rather than residential ISP ASNs.&lt;/td&gt;
&lt;td&gt;Use a residential ISP connection or dedicated non-datacenter static IP.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2. WebRTC STUN/ICE Candidate Leak&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Browser UDP (&lt;code&gt;RFC 8828&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;RTCPeerConnection&lt;/code&gt; queries STUN servers over UDP and enumerates local &lt;code&gt;host&lt;/code&gt; and server-reflexive (&lt;code&gt;srflx&lt;/code&gt;) ISP IP addresses outside browser proxy extensions.&lt;/td&gt;
&lt;td&gt;Enforce &lt;code&gt;force_non_proxied_udp&lt;/code&gt; or use full-tunnel WireGuard with UDP firewall rules.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3. Split-Tunnel DNS Resolver Drift&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;UDP/53, DoH (&lt;code&gt;RFC 8484&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Your HTTP exit node is in Frankfurt, but recursive DNS queries resolve via your domestic ISP resolver in New York.&lt;/td&gt;
&lt;td&gt;Bind DNS strictly to the tunnel interface or configure browser-level DNS-over-HTTPS (DoH).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;4. TCP MSS &amp;amp; WireGuard/OpenVPN MTU&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;L3/L4 TCP SYN&lt;/td&gt;
&lt;td&gt;Standard Ethernet advertises &lt;code&gt;MTU 1500&lt;/code&gt; (&lt;code&gt;MSS 1460&lt;/code&gt;). WireGuard (&lt;code&gt;MTU 1420&lt;/code&gt;, &lt;code&gt;MSS 1380&lt;/code&gt;) and OpenVPN reduce TCP MSS in the initial SYN packet, flagging encapsulation immediately.&lt;/td&gt;
&lt;td&gt;Match tunnel MSS clamping and inspect packet sizing.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;5. Timezone &amp;amp; Locale Mismatch&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Browser JS Intl API&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Intl.DateTimeFormat().resolvedOptions().timeZone&lt;/code&gt; reports &lt;code&gt;America/New_York&lt;/code&gt; while IP geolocation resolves to &lt;code&gt;Europe/Zurich&lt;/code&gt;.&lt;/td&gt;
&lt;td&gt;Align browser locale or whitelist trusted domains via split tunneling.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  2. Testing WebRTC ICE Candidates &amp;amp; IETF RFC Address Ranges
&lt;/h2&gt;

&lt;p&gt;When auditing your own browser or corporate zero-trust egress, verify whether your local interface uses standard RFC 1918 private addressing (&lt;code&gt;192.168.0.0/16&lt;/code&gt;, &lt;code&gt;10.0.0.0/8&lt;/code&gt;) or Carrier-Grade NAT (&lt;strong&gt;IETF RFC 6598&lt;/strong&gt;, &lt;code&gt;100.64.0.0/10&lt;/code&gt;), and confirm zero &lt;code&gt;srflx&lt;/code&gt; UDP candidate leaks using our &lt;strong&gt;&lt;a href="https://theinfosiast.com/check-ip-webrtc-dns-leak-test/#ti-leak-tester" rel="noopener noreferrer"&gt;Live IP, WebRTC &amp;amp; DNS Leak Diagnostic Lab&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://theinfosiast.com/find-your-ip-address/#ti-ip-inspector" rel="noopener noreferrer"&gt;Public IP &amp;amp; RFC Classifier&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
    </item>
    <item>
      <title>Run DeepSeek R1 Locally with Ollama (2026): VRAM Formula &amp; Hardware Sizing Matrix (1.5B to 671B)</title>
      <dc:creator>theinfosiast-cloud-developer</dc:creator>
      <pubDate>Sun, 08 Nov 2026 17:47:02 +0000</pubDate>
      <link>https://dev.to/theinfosiastclouddeveloper/run-deepseek-r1-locally-with-ollama-2026-vram-formula-hardware-sizing-matrix-15b-to-671b-5h1e</link>
      <guid>https://dev.to/theinfosiastclouddeveloper/run-deepseek-r1-locally-with-ollama-2026-vram-formula-hardware-sizing-matrix-15b-to-671b-5h1e</guid>
      <description>&lt;p&gt;Running &lt;strong&gt;DeepSeek R1&lt;/strong&gt; locally eliminates per-token API costs, prevents sensitive code or enterprise telemetry from leaving your workstation, and removes cloud rate limits. However, selecting the wrong parameter tier or quantization format results in immediate CUDA/Metal out-of-memory (OOM) errors or severe PCIe system-RAM offloading (&amp;lt;2 tokens/sec).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Interactive Engineering Calculators &amp;amp; Live Benchmarks:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/run-deepseek-r1-locally-ollama-hardware-requirements/#ti-deepseek-sizer" rel="noopener noreferrer"&gt;Launch the DeepSeek R1 Ollama GPU Sizer &amp;amp; CLI Generator&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/running-local-llms-consumer-hardware-2026/#ti-vram-calculator" rel="noopener noreferrer"&gt;Launch the 2026 Local LLM VRAM &amp;amp; Token Speed Calculator&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://colab.research.google.com/github/theinfosiast-cloud-developer/llm-vram-pqc-security-benchmarks/blob/main/notebooks/ti_llm_vram_quantization_benchmark.ipynb" rel="noopener noreferrer"&gt;Run the Python Benchmark Notebook in Google Colab&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/theinfosiast-cloud-developer/llm-vram-pqc-security-benchmarks" rel="noopener noreferrer"&gt;View Full CSV Datasets &amp;amp; CLI Sizer on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. The Exact Local LLM VRAM Formula (Weights + KV-Cache + Activation Buffer)
&lt;/h2&gt;

&lt;p&gt;When sizing GPU or unified memory for any GGUF quantized model, total memory consumption is governed by three additive terms:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Total VRAM (GB) = [ (Params_B * Bits_Per_Weight / 8) * 1.08 ] + KV_Cache_GB(Context_Len) + 0.85 GB Overhead
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model Weights&lt;/strong&gt;: Parameter count (in billions) multiplied by effective bits-per-weight (&lt;code&gt;4.85 bpw&lt;/code&gt; for &lt;code&gt;Q4_K_M&lt;/code&gt;, &lt;code&gt;5.69 bpw&lt;/code&gt; for &lt;code&gt;Q5_K_M&lt;/code&gt;, &lt;code&gt;8.50 bpw&lt;/code&gt; for &lt;code&gt;Q8_0&lt;/code&gt;) divided by 8, plus &lt;code&gt;8%&lt;/code&gt; GGUF metadata and embedding table overhead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;KV-Cache Footprint&lt;/strong&gt;: Scales linearly with context window length (&lt;code&gt;num_ctx&lt;/code&gt;). At &lt;code&gt;16,384&lt;/code&gt; tokens in FP16, a 32B dense model consumes &lt;code&gt;~4.2 GB&lt;/code&gt; solely for KV-cache unless quantized via &lt;code&gt;OLLAMA_KV_CACHE_TYPE=q8_0&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. DeepSeek R1 Hardware Sizing Matrix (1.5B Distill to 671B MoE)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;DeepSeek R1 Tag&lt;/th&gt;
&lt;th&gt;Architecture&lt;/th&gt;
&lt;th&gt;Recommended Quant&lt;/th&gt;
&lt;th&gt;Total VRAM (16K Context)&lt;/th&gt;
&lt;th&gt;Minimum GPU / Unified RAM Tier&lt;/th&gt;
&lt;th&gt;Exact Ollama CLI Command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:1.5b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Qwen-2.5 Dense&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Q8_0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~2.1 GB&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Any 4GB+ GPU / M1 8GB&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:1.5b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:7b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Qwen-2.5 Dense&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Q5_K_M&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~6.2 GB&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;RTX 4060 / 3070 (&lt;code&gt;8 GB&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:7b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Llama-3.1 Dense&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Q4_K_M&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~6.4 GB&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;RTX 4060 / M2 (&lt;code&gt;8 GB&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:8b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:14b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Qwen-2.5 Dense&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Q4_K_M&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~10.7 GB&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;RTX 3060 / 4070 (&lt;code&gt;12 GB&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:14b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:32b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Qwen-2.5 Dense&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Q4_K_M&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~21.6 GB&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;RTX 3090 / 4090 (&lt;code&gt;24 GB&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:32b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:70b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Llama-3.3 Dense&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Q4_K_M&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~44.1 GB&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Dual RTX 3090/4090 (&lt;code&gt;48 GB&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:70b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:671b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;DeepSeekMoE (37B Active)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Q4_K_M&lt;/code&gt; / &lt;code&gt;FP8&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;~404 GB&lt;/code&gt; / &lt;code&gt;~583 GB&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;8x H100 (&lt;code&gt;640 GB&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ollama run deepseek-r1:671b&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  3. Production Ollama Environment Variables &amp;amp; Modelfile Tuning
&lt;/h2&gt;

&lt;p&gt;To prevent KV-cache eviction and enable Flash Attention + 8-bit KV cache compression on 12GB-24GB GPUs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;OLLAMA_FLASH_ATTENTION&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;OLLAMA_KV_CACHE_TYPE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;q8_0
ollama run deepseek-r1:32b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  4. Explore the Full Interactive Engineering Suite
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/deepseek-r1-architecture-deployment-guide/#ti-moe-calculator" rel="noopener noreferrer"&gt;DeepSeek R1 Architecture &amp;amp; Multi-Head Latent Attention (MLA) Guide&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/running-local-llms-consumer-hardware-2026/#ti-vram-calculator" rel="noopener noreferrer"&gt;Running Local LLMs on Consumer Hardware in 2026 (Interactive VRAM Calculator)&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://theinfosiast.com/tools/" rel="noopener noreferrer"&gt;All 18 Interactive Engineering &amp;amp; Security Calculators on The Infosiast&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
    </item>
  </channel>
</rss>
