<?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: Steven</title>
    <description>The latest articles on DEV Community by Steven (@stvmnn).</description>
    <link>https://dev.to/stvmnn</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%2F3266797%2Fefd756b6-04b8-4191-9fa3-c32b0e793b56.png</url>
      <title>DEV Community: Steven</title>
      <link>https://dev.to/stvmnn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stvmnn"/>
    <language>en</language>
    <item>
      <title>tor</title>
      <dc:creator>Steven</dc:creator>
      <pubDate>Sun, 15 Jun 2025 17:03:04 +0000</pubDate>
      <link>https://dev.to/stvmnn/tor-3725</link>
      <guid>https://dev.to/stvmnn/tor-3725</guid>
      <description></description>
      <category>networking</category>
      <category>network</category>
    </item>
    <item>
      <title>Now Anyone Can Run a Tor Hidden Service — Safely and Easily</title>
      <dc:creator>Steven</dc:creator>
      <pubDate>Sun, 15 Jun 2025 15:55:19 +0000</pubDate>
      <link>https://dev.to/stvmnn/now-anyone-can-run-a-tor-hidden-service-safely-and-easily-ad3</link>
      <guid>https://dev.to/stvmnn/now-anyone-can-run-a-tor-hidden-service-safely-and-easily-ad3</guid>
      <description>&lt;p&gt;Hosting a website on the Tor network can offer unparalleled privacy and censorship resistance. But for most people, getting started is a nightmare of misconfiguration, security pitfalls, and unclear documentation. Missteps can lead to de-anonymization or data leaks — the exact opposite of what a hidden service is meant to protect.&lt;/p&gt;

&lt;p&gt;That’s why I built &lt;a href="https://github.com/torserv/torserv" rel="noopener noreferrer"&gt;&lt;strong&gt;TorServe&lt;/strong&gt;:&lt;/a&gt; a hardened, zero-config static web server that launches instantly as a Tor hidden service. If you can unzip a file and run a program, you can host anonymously on Tor.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem With Apache and nginx
&lt;/h2&gt;

&lt;p&gt;Many people assume you can just point Apache or nginx to a Tor hidden service and call it a day. Technically, that’s true. But this approach is fraught with dangers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Metadata leaks&lt;/strong&gt;: Headers like &lt;code&gt;Server&lt;/code&gt;, &lt;code&gt;Referer&lt;/code&gt;, &lt;code&gt;ETag&lt;/code&gt;, and &lt;code&gt;User-Agent&lt;/code&gt; can fingerprint your setup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Default logging&lt;/strong&gt;: Most web servers log every request and error by default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clearnet exposure&lt;/strong&gt;: Many users unintentionally leave ports open to the internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Directory indexing&lt;/strong&gt;: Serving the wrong folder can expose more than you intended.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No traffic padding&lt;/strong&gt;: Observers can fingerprint response size and timing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even skilled admins make these mistakes. And for people without deep technical knowledge, configuring a truly anonymous hidden service is nearly impossible.&lt;/p&gt;




&lt;h2&gt;
  
  
  Meet TorServe: Privacy by Default
&lt;/h2&gt;

&lt;p&gt;TorServe is designed to eliminate all of those risks out of the box. Here’s what you get:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ &lt;strong&gt;No configuration needed&lt;/strong&gt;: Just unzip and run.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Runs on 127.0.0.1&lt;/strong&gt; only: No accidental clearnet exposure.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Automatic Tor hidden service&lt;/strong&gt;: Uses a bundled or system Tor binary.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Multilingual landing page&lt;/strong&gt;: Includes a built-in safety guide.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Metadata scrubbing&lt;/strong&gt;: Strips EXIF from images and PDFs.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Header hardening&lt;/strong&gt;: Removes or replaces identifying headers.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Timing jitter + response padding&lt;/strong&gt;: Makes traffic fingerprinting harder.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;No logs&lt;/strong&gt;: Nothing written to disk, ever.&lt;/li&gt;
&lt;li&gt;✅ **File names and directory structure obfuscation.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Cross-platform binaries&lt;/strong&gt;: Works on Linux, Windows, macOS, Raspberry Pi, FreeBSD.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is simple: make anonymous web hosting so easy that anyone can do it — without sacrificing safety.&lt;/p&gt;




&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;When you run TorServe, it does the following:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Starts a local Tor daemon using a minimal &lt;code&gt;torrc&lt;/code&gt; config.&lt;/li&gt;
&lt;li&gt;Launches a static file server on &lt;code&gt;127.0.0.1:&amp;lt;port&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Creates a hidden service key and outputs your &lt;code&gt;.onion&lt;/code&gt; address.&lt;/li&gt;
&lt;li&gt;Serves the &lt;code&gt;./public/&lt;/code&gt; directory using safe defaults.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The included landing page walks users through safe usage, risks of uploading files, and explains the importance of avoiding metadata and third-party scripts. It’s localized in multiple languages to help reach people in censored regions.&lt;/p&gt;




&lt;h2&gt;
  
  
  Real-World Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Whistleblowers&lt;/strong&gt; publishing reports without exposing themselves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Activists and journalists&lt;/strong&gt; sharing censored content.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Personal note hosting&lt;/strong&gt; in repressive environments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-time drop servers&lt;/strong&gt; using TorServe’s optional ephemeral mode.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because it doesn’t require root access, Docker, or complex installs, TorServe is ideal for quick deployment on flash drives, VMs, or Tails.&lt;/p&gt;




&lt;h2&gt;
  
  
  Want to Try It?
&lt;/h2&gt;

&lt;p&gt;TorServe is fully open source, free of charge and ready to use:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;🔗 &lt;a href="https://github.com/torserv/torserv" rel="noopener noreferrer"&gt;GitHub: github.com/torserv/torserv&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The binary is available for multiple platforms. Just unzip, run the launch script, and your .onion site will be ready in seconds.&lt;/p&gt;

&lt;p&gt;If you want to understand exactly how it protects your identity, the README and SAFETY.md explain each mechanism in plain language.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;The Tor network is a powerful tool for anonymous communication, but it’s only as private as your setup. TorServe removes the guesswork, eliminates common mistakes, and helps make privacy accessible to everyone — not just the technically skilled.&lt;/p&gt;

&lt;p&gt;If you’ve ever wanted to publish anonymously on the web, there’s no easier or safer place to start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Give it a spin. Stay safe. Share freely.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
