<?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: **dp07</title>
    <description>The latest articles on DEV Community by **dp07 (@dpsyfk).</description>
    <link>https://dev.to/dpsyfk</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%2F4021574%2F9012ae0d-589f-4351-afc6-3e86b9f6e80a.jpg</url>
      <title>DEV Community: **dp07</title>
      <link>https://dev.to/dpsyfk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dpsyfk"/>
    <language>en</language>
    <item>
      <title>Progress of project LENS......</title>
      <dc:creator>**dp07</dc:creator>
      <pubDate>Sun, 12 Jul 2026 14:07:26 +0000</pubDate>
      <link>https://dev.to/dpsyfk/progress-of-project-lens-5c4b</link>
      <guid>https://dev.to/dpsyfk/progress-of-project-lens-5c4b</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wdg0hsxn63401t1i93g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wdg0hsxn63401t1i93g.png" alt=" " width="569" height="553"&gt;&lt;/a&gt;&lt;br&gt;
that's the real progress.&lt;br&gt;
I genuinely look for contributors for my repository:&lt;a href="https://github.com/dpsyfk/lens" rel="noopener noreferrer"&gt;https://github.com/dpsyfk/lens&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Building a Transparent Proxy in Rust: The Foundation Behind Lens</title>
      <dc:creator>**dp07</dc:creator>
      <pubDate>Sat, 11 Jul 2026 14:14:52 +0000</pubDate>
      <link>https://dev.to/dpsyfk/building-a-transparent-proxy-in-rust-the-foundation-behind-lens-1190</link>
      <guid>https://dev.to/dpsyfk/building-a-transparent-proxy-in-rust-the-foundation-behind-lens-1190</guid>
      <description>&lt;h1&gt;
  
  
  Building a Transparent Proxy in Rust: The Foundation Behind Lens
&lt;/h1&gt;

&lt;p&gt;When debugging distributed applications locally, understanding how requests move between services can be surprisingly difficult.&lt;/p&gt;

&lt;p&gt;A single request may involve an API server, authentication service, database, cache, and external APIs. Reconstructing that path often means piecing together logs from multiple places.&lt;/p&gt;

&lt;p&gt;That's the motivation behind &lt;strong&gt;Lens&lt;/strong&gt;, an open-source Rust project I'm building.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a Transparent Proxy?
&lt;/h2&gt;

&lt;p&gt;Rather than requiring instrumentation in every application, Lens is designed around a transparent proxy architecture.&lt;/p&gt;

&lt;p&gt;This approach allows it to observe requests and responses while remaining independent of application logic.&lt;/p&gt;

&lt;p&gt;The long-term goals include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Visualizing request flows&lt;/li&gt;
&lt;li&gt;Decoding application protocols&lt;/li&gt;
&lt;li&gt;Measuring latency&lt;/li&gt;
&lt;li&gt;Redacting sensitive information&lt;/li&gt;
&lt;li&gt;Supporting multiple protocols through a modular architecture&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Rust?
&lt;/h2&gt;

&lt;p&gt;Rust provides the combination of performance, memory safety, and async networking support that a project like Lens needs.&lt;/p&gt;

&lt;p&gt;Tokio, Cargo workspaces, and Rust's type system have made it possible to design the project around small, focused crates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current Progress
&lt;/h2&gt;

&lt;p&gt;The project currently includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transparent proxy architecture&lt;/li&gt;
&lt;li&gt;HTTP/1.1 support&lt;/li&gt;
&lt;li&gt;PostgreSQL protocol decoding&lt;/li&gt;
&lt;li&gt;Secret redaction&lt;/li&gt;
&lt;li&gt;Cross-platform architecture&lt;/li&gt;
&lt;li&gt;Interactive terminal UI (in progress)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The next milestone is implementing additional protocol support and expanding the runtime.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for Feedback
&lt;/h2&gt;

&lt;p&gt;If you've built networking tools, proxies, or protocol parsers in Rust, I'd genuinely appreciate feedback on the architecture.&lt;/p&gt;

&lt;p&gt;Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/dpsyfk/lens" rel="noopener noreferrer"&gt;https://github.com/dpsyfk/lens&lt;/a&gt;&lt;/p&gt;

</description>
      <category>rust</category>
      <category>opensource</category>
      <category>networking</category>
      <category>systems</category>
    </item>
    <item>
      <title>Designing a Transparent Proxy in Rust: The Foundation Behind Lens</title>
      <dc:creator>**dp07</dc:creator>
      <pubDate>Fri, 10 Jul 2026 18:04:07 +0000</pubDate>
      <link>https://dev.to/dpsyfk/designing-a-transparent-proxy-in-rust-the-foundation-behind-lens-3fna</link>
      <guid>https://dev.to/dpsyfk/designing-a-transparent-proxy-in-rust-the-foundation-behind-lens-3fna</guid>
      <description>&lt;h1&gt;
  
  
  Designing a Transparent Proxy in Rust: The Foundation Behind Lens
&lt;/h1&gt;

&lt;p&gt;In my previous article, I introduced &lt;strong&gt;Lens&lt;/strong&gt;, an open-source Rust project that aims to visualize application traffic during local development.&lt;/p&gt;

&lt;p&gt;One of the first architectural decisions I had to make was &lt;strong&gt;how Lens should observe network traffic&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Should it inspect packets?&lt;/p&gt;

&lt;p&gt;Use eBPF?&lt;/p&gt;

&lt;p&gt;Require application instrumentation?&lt;/p&gt;

&lt;p&gt;Or sit directly in the network path?&lt;/p&gt;

&lt;p&gt;After evaluating the trade-offs, I decided to build Lens around a &lt;strong&gt;transparent proxy architecture&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a Proxy?
&lt;/h2&gt;

&lt;p&gt;Consider a typical local development setup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Client
   │
   ▼
Application
   │
   ▼
PostgreSQL
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With a transparent proxy, the flow becomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Client
   │
   ▼
Lens Proxy
   │
   ▼
Application
   │
   ▼
Lens Proxy
   │
   ▼
PostgreSQL
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This gives Lens complete visibility into requests and responses while remaining independent of application logic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits
&lt;/h2&gt;

&lt;p&gt;A proxy-based design allows Lens to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Decode application protocols&lt;/li&gt;
&lt;li&gt;Measure request latency&lt;/li&gt;
&lt;li&gt;Build request dependency graphs&lt;/li&gt;
&lt;li&gt;Redact sensitive information&lt;/li&gt;
&lt;li&gt;Support multiple protocols through a common abstraction&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Challenges
&lt;/h2&gt;

&lt;p&gt;The approach isn't without trade-offs.&lt;/p&gt;

&lt;p&gt;A transparent proxy needs to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Preserve protocol correctness&lt;/li&gt;
&lt;li&gt;Introduce minimal latency&lt;/li&gt;
&lt;li&gt;Handle streaming traffic&lt;/li&gt;
&lt;li&gt;Support TLS&lt;/li&gt;
&lt;li&gt;Remain cross-platform&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each of these influences the overall architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Rust?
&lt;/h2&gt;

&lt;p&gt;Networking software benefits from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;predictable performance&lt;/li&gt;
&lt;li&gt;memory safety&lt;/li&gt;
&lt;li&gt;zero-cost abstractions&lt;/li&gt;
&lt;li&gt;excellent async support through Tokio&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rust lets me focus on protocol logic without sacrificing performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking Ahead
&lt;/h2&gt;

&lt;p&gt;The next milestone is expanding protocol support while keeping the architecture modular enough to accommodate additional parsers.&lt;/p&gt;

&lt;p&gt;I'm documenting the journey as I build Lens, so future articles will dive into topics like protocol parsing, async networking, and terminal UI design.&lt;/p&gt;

&lt;p&gt;Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/dpsyfk/lens" rel="noopener noreferrer"&gt;https://github.com/dpsyfk/lens&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love contributors and their contributions.&lt;/p&gt;

</description>
      <category>rust</category>
      <category>networking</category>
      <category>opensource</category>
      <category>systems</category>
    </item>
  </channel>
</rss>
