<?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>Forem: B.B.S.</title>
    <description>The latest articles on Forem by B.B.S. (@blackbastionsystems).</description>
    <link>https://forem.com/blackbastionsystems</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3271142%2F235b33c8-6bc7-4820-ad18-2158aa5c9206.png</url>
      <title>Forem: B.B.S.</title>
      <link>https://forem.com/blackbastionsystems</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/blackbastionsystems"/>
    <language>en</language>
    <item>
      <title>Secure VPS</title>
      <dc:creator>B.B.S.</dc:creator>
      <pubDate>Tue, 10 Mar 2026 17:31:13 +0000</pubDate>
      <link>https://forem.com/blackbastionsystems/secure-vps-fdd</link>
      <guid>https://forem.com/blackbastionsystems/secure-vps-fdd</guid>
      <description>&lt;p&gt;Hello friends,&lt;/p&gt;

&lt;p&gt;I finally finished up a long running project for me that I call secure vps.&lt;/p&gt;

&lt;p&gt;Most VPS servers ship with insecure default settings.&lt;/p&gt;

&lt;p&gt;Open SSH access, weak configurations, missing firewall rules, and no protection against brute-force attacks.&lt;/p&gt;

&lt;p&gt;Secure VPS fixes this automatically.&lt;/p&gt;

&lt;p&gt;With a single command, your server is hardened using industry best practices and CIS security recommendations.&lt;br&gt;
No manual configuration. No complicated scripts. No risk of locking yourself out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Secure VPS does&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Secure VPS automatically secures your system by:&lt;/p&gt;

&lt;p&gt;• Hardening SSH (disable root login, enforce key authentication)&lt;br&gt;
• Configuring a firewall with safe defaults&lt;br&gt;
• Installing and configuring Fail2ban to block attackers&lt;br&gt;
• Applying kernel security protections (sysctl hardening)&lt;br&gt;
• Enabling automatic security updates&lt;br&gt;
• Detecting and supporting multiple Linux distributions&lt;/p&gt;

&lt;p&gt;All changes are applied safely with backups and validation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compliance reporting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Secure VPS maps security checks to CIS Benchmarks, providing a clear report of your server’s security posture.&lt;/p&gt;

&lt;p&gt;You get:&lt;/p&gt;

&lt;p&gt;• Human-readable compliance reports&lt;br&gt;
• JSON output for automation pipelines&lt;br&gt;
• Security scoring and checklist output&lt;/p&gt;

&lt;p&gt;Perfect for DevOps workflows and infrastructure automation.&lt;/p&gt;

&lt;p&gt;Wide Linux support&lt;/p&gt;

&lt;p&gt;Debian Family (uses apt, UFW, unattended-upgrades)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Ubuntu 20.04 or newer&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Debian 11 or newer (including 13)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Linux Mint 20 or newer&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;RHEL Family (uses dnf/yum, iptables, dnf-automatic)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;RHEL 8 or newer (including 10)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AlmaLinux 8 or newer (including 10)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rocky Linux 8 or newer (including 10)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CentOS Stream 8 or newer (including 10)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Amazon Linux 2023 or newer (Only container tested)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Oracle Linux 8 or newer&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fedora 38 or newer&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SUSE Family (uses zypper, firewalld, systemd timer)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;openSUSE Leap 15 or newer (including 16)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;openSUSE Tumbleweed (rolling release)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SLES 15 or newer&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your OS isn't in this list, the tool will tell you and exit safely — it won't touch anything.&lt;/p&gt;

&lt;p&gt;Designed simplicity - for all engineers across the board!&lt;/p&gt;

&lt;p&gt;Secure VPS ships as a single static binary.&lt;/p&gt;

&lt;p&gt;No dependencies. No installation complexity.&lt;/p&gt;

&lt;p&gt;Simply download and run:&lt;br&gt;
secure-vps apply&lt;/p&gt;

&lt;p&gt;Perfect for:&lt;/p&gt;

&lt;p&gt;• VPS deployments&lt;br&gt;
• cloud-init provisioning&lt;br&gt;
• CI/CD pipelines&lt;br&gt;
• infrastructure automation&lt;/p&gt;

&lt;p&gt;Who this is for&lt;/p&gt;

&lt;p&gt;Secure VPS is ideal for:&lt;/p&gt;

&lt;p&gt;Software engineers running VPS servers&lt;br&gt;
Indie hackers launching projects&lt;br&gt;
DevOps engineers automating infrastructure&lt;br&gt;
Anyone who wants a secure server without manual hardening&lt;br&gt;
Any data engineer that just want to secure the server easily&lt;/p&gt;

&lt;p&gt;Secure VPS gives you safe, automated server hardening in one command.&lt;/p&gt;

&lt;p&gt;You can get it &lt;a href="https://blackbastionsystems.gumroad.com/l/zkexvy" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>tooling</category>
      <category>simplicity</category>
    </item>
    <item>
      <title>Email-to-Webhook Gateway in Go - Updated</title>
      <dc:creator>B.B.S.</dc:creator>
      <pubDate>Tue, 17 Jun 2025 16:24:37 +0000</pubDate>
      <link>https://forem.com/blackbastionsystems/build-your-own-email-to-webhook-gateway-in-go-smtphook-is-live-27eb</link>
      <guid>https://forem.com/blackbastionsystems/build-your-own-email-to-webhook-gateway-in-go-smtphook-is-live-27eb</guid>
      <description>&lt;h4&gt;
  
  
  I just open-sourced SMTPHook — a self-hosted email ingestion service written in Go. If you've ever wanted to turn &lt;strong&gt;incoming emails&lt;/strong&gt; into structured &lt;strong&gt;webhook events&lt;/strong&gt; (e.g. to ping a pager, log alerts, trigger bots, etc.), this tool is for you. If it works for you consider sponsor me with a coffee &lt;a href="https://buymeacoffee.com/voidwatch" rel="noopener noreferrer"&gt;https://buymeacoffee.com/voidwatch&lt;/a&gt;
&lt;/h4&gt;




&lt;h3&gt;
  
  
  What It Does
&lt;/h3&gt;

&lt;p&gt;SMTPHook is a modular platform that:&lt;/p&gt;

&lt;p&gt;✅ Accepts SMTP emails via &lt;a href="https://github.com/axllent/mailpit" rel="noopener noreferrer"&gt;Mailpit&lt;/a&gt;&lt;br&gt;&lt;br&gt;
✅ Parses raw emails into structured JSON&lt;br&gt;&lt;br&gt;
✅ Forwards the payload to your webhook endpoint&lt;br&gt;&lt;br&gt;
✅ Includes retry logic, logging, health checks&lt;br&gt;&lt;br&gt;
✅ Supports full local testing with &lt;code&gt;swaks&lt;/code&gt;  &lt;/p&gt;


&lt;h2&gt;
  
  
  Example Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Alerting: Email → Webhook → PagerDuty / Discord / Slack
&lt;/li&gt;
&lt;li&gt;Archiving: Email → JSON → S3 / DB / Elasticsearch
&lt;/li&gt;
&lt;li&gt;Automation: Email triggers CI/CD, bots, or workflows
&lt;/li&gt;
&lt;li&gt;Dev Testing: No need to poll real mailboxes anymore&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  ⚡ Quick Start
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone git@github.com:voidwatch/SMTPHook-Golang.git
&lt;span class="nb"&gt;cd &lt;/span&gt;SMTPHook-Golang
&lt;span class="nb"&gt;chmod&lt;/span&gt; +x setup-parser.sh
./setup-parser.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Then send a test email (if you set up the test env with setup.sh:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;swaks &lt;span class="nt"&gt;--to&lt;/span&gt; &lt;span class="nb"&gt;test&lt;/span&gt;@example.com &lt;span class="nt"&gt;--server&lt;/span&gt; localhost:1025 &amp;lt; email.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And receive it on your webhook.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠 Technologies Used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Go (all components)&lt;/li&gt;
&lt;li&gt;Mailpit for dev SMTP&lt;/li&gt;
&lt;li&gt;Podman + Compose&lt;/li&gt;
&lt;li&gt;A dash of Curl and a bit of swaks&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔗 GitHub
&lt;/h2&gt;

&lt;p&gt;📡 &lt;a href="https://github.com/voidwatch/SMTPHook-Golang" rel="noopener noreferrer"&gt;Check out SMTPHook on GitHub →&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d love your feedback, contributions, or ideas. If you find this useful and want to support the project, stars or donations are always welcome!&lt;/p&gt;




&lt;h2&gt;
  
  
  🙏 Support &amp;amp; Contributions
&lt;/h2&gt;

&lt;p&gt;If you're an indie devops engineer, or just love hacking with Go and automation, I’d love your thoughts.&lt;br&gt;&lt;br&gt;
DM me or check the repo for sponsor links.&lt;br&gt;
&lt;a href="https://buymeacoffee.com/voidwatch" rel="noopener noreferrer"&gt;https://buymeacoffee.com/voidwatch&lt;/a&gt;&lt;/p&gt;

</description>
      <category>go</category>
      <category>smtp</category>
      <category>webhook</category>
      <category>parser</category>
    </item>
  </channel>
</rss>
